volumeExprDriver.C File Reference
Include dependency graph for volumeExprDriver.C:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.
 
namespace  Foam::expressions
 
namespace  Foam::expressions::volumeExpr
 Namespace for volume field expressions parsing and evaluation.
 

Macros

#define doLocalCode(GeoField)
 

Functions

 defineTypeNameAndDebug (parseDriver, 0)
 
 addNamedToRunTimeSelectionTable (fvExprDriver, parseDriver, dictionary, volume)
 
 addNamedToRunTimeSelectionTable (fvExprDriver, parseDriver, idName, volume)
 
 addNamedToRunTimeSelectionTable (fvExprDriver, parseDriver, dictionary, internalField)
 
 addNamedToRunTimeSelectionTable (fvExprDriver, parseDriver, idName, internalField)
 

Detailed Description

Original source file volumeExprDriver.C

Definition in file volumeExprDriver.C.

Macro Definition Documentation

◆ doLocalCode

#define doLocalCode (   GeoField)
Value:
{ \
const auto* ptr = dynamic_cast<const GeoField*>(regIOobjectPtr); \
typedef typename GeoField::value_type Type; \
\
if (ptr) \
{ \
zField.reset \
( \
( \
word(pTraits<Type>::typeName) + word("(zero)"), \
(*ptr).mesh(), \
dimensioned<Type>(Zero), \
/* zeroGradient (volume) or calculated (other) */ \
defaultBoundaryType(*ptr) \
).ptr() \
); \
break; \
} \
}
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Definition: Time.C:717