72 const word& lookupName
77 Info<<
"Selecting LES " << lookupName <<
" type " << deltaType <<
endl;
79 auto* ctorPtr = dictionaryConstructorTable(deltaType);
88 *dictionaryConstructorTablePtr_
101 const dictionaryConstructorTableType& additionalConstructors,
102 const word& lookupName
105 const word deltaType(
dict.get<word>(lookupName));
107 Info<<
"Selecting LES " << lookupName <<
" type " << deltaType <<
endl;
111 auto ctorIter = additionalConstructors.cfind(deltaType);
119 auto* ctorPtr = dictionaryConstructorTable(deltaType);
128 *dictionaryConstructorTablePtr_
131 if (!additionalConstructors.empty())
134 <<
" and " << additionalConstructors.sortedToc() <<
nl;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Abstract base class for LES deltas.
LESdelta(const LESdelta &)=delete
No copy construct.
static autoPtr< LESdelta > New(const word &name, const turbulenceModel &turbulence, const dictionary &dict, const word &lookupName="delta")
Return a reference to the selected LES delta.
const turbulenceModel & turbulence() const
Return turbulenceModel reference.
const turbulenceModel & turbulenceModel_
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Abstract base class for turbulence models (RAS, LES and laminar).
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
compressible::turbulenceModel & turbulence
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a).
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.