53 const word motionType(mdData);
55 Info<<
"Selecting motion diffusion: " << motionType <<
endl;
57 IstreamConstructorTable::iterator cstrIter =
58 IstreamConstructorTablePtr_->find(motionType);
60 if (cstrIter == IstreamConstructorTablePtr_->end())
63 <<
"Unknown diffusion type " 64 << motionType <<
nl <<
nl 65 <<
"Valid diffusion types are :" << endl
66 << IstreamConstructorTablePtr_->sortedToc()
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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 string.
motionDiffusivity(const fvMesh &mesh)
Construct for the given fvMesh.
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.
static autoPtr< motionDiffusivity > New(const fvMesh &mesh, Istream &mdData)
Select null constructed.