56 const word modelType(is);
58 Info<<
"Selecting motion diffusion: " << modelType <<
endl;
60 auto* ctorPtr = IstreamConstructorTable(modelType);
69 *IstreamConstructorTablePtr_
errorManipArg< error, int > exit(error &err, const int errNo=1)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
A class for handling words, derived from Foam::string.
motionDiffusivity(const fvMesh &mesh)
Construct for the given fvMesh.
Abstract base class for cell-centre mesh motion diffusivity.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
virtual ~motionDiffusivity()
Destructor.
const fvMesh & mesh() const
Return reference to the mesh.
Mesh data needed to do the Finite Volume discretisation.
messageStream Info
Information stream (stdout output on master, null elsewhere)
static autoPtr< motionDiffusivity > New(const fvMesh &mesh, Istream &mdData)
Select null constructed.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...