43 Info<<
"Selecting compressibility model " << modelType <<
endl;
45 dictionaryConstructorTable::iterator cstrIter =
46 dictionaryConstructorTablePtr_->find(modelType);
48 if (cstrIter == dictionaryConstructorTablePtr_->end())
51 <<
"Unknown barotropicCompressibilityModel type "
52 << modelType <<
nl <<
nl
53 <<
"Valid barotropicCompressibilityModels are : " <<
endl
54 << dictionaryConstructorTablePtr_->sortedToc()
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const dictionary & compressibilityProperties() const
Return the phase transport properties dictionary.
static autoPtr< barotropicCompressibilityModel > New(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi")
Return a reference to the selected compressibility model.
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.