49 const dictionary&
dict,
62 const dictionary&
dict,
66 const word modelType(
dict.
get<word>(
"type"));
68 Info<<
"Selecting turbulentDispersionModel for "
69 << pair <<
": " << modelType <<
endl;
71 auto* ctorPtr = dictionaryConstructorTable(modelType);
78 "turbulentDispersionModel",
80 *dictionaryConstructorTablePtr_
84 return ctorPtr(
dict, pair);
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
A class for managing temporary objects.
virtual tmp< volVectorField > F() const
Turbulent dispersion force.
static const dimensionSet dimD
Diffusivity dimensions.
static const dimensionSet dimF
Force dimensions.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
Calculate the gradient of the given field.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
const dimensionedScalar & D