Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< Thermo > New(const fvMesh &, const word &phaseName=word::null)
Generic New for each of the related thermodynamics packages.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Foam::solidReactionThermo.
static autoPtr< solidReactionThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
solidReactionThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
virtual ~solidReactionThermo()
Destructor.
solidThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.