39 const word surfaceTensionCoefficientModelType(modelDict.
lookup(
"type"));
42 << surfaceTensionCoefficientModelType;
46 dictionaryConstructorTable::iterator cstrIter =
47 dictionaryConstructorTablePtr_->find
49 surfaceTensionCoefficientModelType
52 if (cstrIter == dictionaryConstructorTablePtr_->end())
55 <<
"Unknown surfaceTensionCoefficientModel type "
56 << surfaceTensionCoefficientModelType <<
endl <<
endl
57 <<
"Valid surfaceTensionCoefficientModel types are : " <<
endl
58 << dictionaryConstructorTablePtr_->sortedToc()
64 return cstrIter()(modelDict, interface);
78 modelSubDict<surfaceTensionCoefficientModel>(subDicts),
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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.
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.
static autoPtr< surfaceTensionCoefficientModel > New(const dictionary &subDicts, const phaseInterface &interface, const bool outer=false)
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)