コード例 #1
0
noPyrolysis::noPyrolysis(const word& modelType, const fvMesh& mesh)
    :
    pyrolysisModel(mesh),
    solidChemistry_(NULL),
    solidThermo_(NULL)
{
    if (active())
    {
        constructThermoChemistry();
    }
}
コード例 #2
0
noPyrolysis::noPyrolysis
(
    const word& modelType,
    const fvMesh& mesh,
    const word& regionType
)
:
    pyrolysisModel(mesh, regionType),
    solidChemistry_(nullptr),
    solidThermo_(nullptr),
    radiation_(nullptr)
{
    if (active())
    {
        constructThermoChemistry();
    }
}