37 const word wallLubricationModelType(modelDict.
lookup(
"type"));
40 << wallLubricationModelType;
44 dictionaryConstructorTable::iterator cstrIter =
45 dictionaryConstructorTablePtr_->find(wallLubricationModelType);
47 if (cstrIter == dictionaryConstructorTablePtr_->end())
50 <<
"Unknown wallLubricationModel type "
51 << wallLubricationModelType <<
endl <<
endl
52 <<
"Valid wallLubricationModel types are : " <<
endl
53 << dictionaryConstructorTablePtr_->sortedToc()
59 return cstrIter()(modelDict, interface);
69 return New(modelSubDict<wallLubricationModel>(subDicts), interface,
true);
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.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
static autoPtr< wallLubricationModel > New(const dictionary &dict, const phaseInterface &interface, const bool outer=false)
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)