Go to the documentation of this file.
36 const word potentialType(propDict.
lookup(
"tetherPotential"));
38 Info<<
nl <<
"Selecting tether potential " << potentialType
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(potentialType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"Unknown tetherPotential type "
48 << potentialType <<
nl <<
nl
49 <<
"Valid tetherPotentials are:" <<
nl
50 << dictionaryConstructorTablePtr_->sortedToc()
A class for handling words, derived from string.
static autoPtr< tetherPotential > New(const word &name, const dictionary &tetherPotentialProperties)
Return a reference to the selected viscosity model.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
word name(const complex &)
Return a string representation of a complex.