37 const word liftModelType(modelDict.
lookup(
"type"));
43 dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(liftModelType);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown liftModel type "
51 <<
"Valid liftModel types are : " <<
endl
52 << dictionaryConstructorTablePtr_->sortedToc()
58 return cstrIter()(modelDict, interface);
68 return New(modelSubDict<liftModel>(subDicts), interface,
true);
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
static autoPtr< liftModel > New(const dictionary &dict, const phaseInterface &interface, const bool outer=false)
Class to represent an interface between phases. Derivations can further specify the configuration of ...
virtual word name() const
Name.
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void outer(GeometricField< typename outerProduct< Type1, Type2 >::type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type1, GeoMesh, PrimitiveField2 > &gf1, const GeometricField< Type2, GeoMesh, PrimitiveField3 > &gf2)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)