Go to the documentation of this file.
41 const word modelType(
dict.get<
word>(
"energyScalingFunction"));
43 Info<<
"Selecting energy scaling function "
44 << modelType <<
" for "
45 <<
name <<
" potential energy." <<
endl;
47 auto* ctorPtr = dictionaryConstructorTable(modelType);
54 "energyScalingFunction",
56 *dictionaryConstructorTablePtr_
A class for handling words, derived from Foam::string.
static autoPtr< energyScalingFunction > New(const word &name, const dictionary &energyScalingFunctionProperties, const pairPotential &pairPot)
Return a reference to the selected viscosity model.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.