Loading...
Searching...
No Matches
fvExpressionField.C File Reference
Include dependency graph for fvExpressionField.C:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.
namespace  Foam::functionObjects
 Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.

Macros

#define doLocalCode(GeoField)

Functions

 defineTypeNameAndDebug (fvExpressionField, 0)
 addToRunTimeSelectionTable (functionObject, fvExpressionField, dictionary)
word fieldGeoType (const expressions::FieldAssociation geoType)
template<class Type>
static void doCorrectBoundaryConditions (bool correctBCs, VolumeField< Type > &field)
template<class Type>
void doCorrectBoundaryConditions (bool correctBCs, PointField< Type > &field)
template<class Type>
void doCorrectBoundaryConditions (bool correctBCs, SurfaceField< Type > &field)

Detailed Description

Original source file fvExpressionField.C

Definition in file fvExpressionField.C.

Macro Definition Documentation

◆ doLocalCode

#define doLocalCode ( GeoField)
Value:
{ \
/* FieldType */ \
auto* outPtr = dynamic_cast<GeoField*>(regIOobjectPtr); \
const auto* ptr = driver.isResultType<GeoField>(); \
\
if (outPtr && ptr) \
{ \
applied = setField(*outPtr, *ptr, fieldMask); \
if (doWrite) \
{ \
outPtr->write(); \
} \
break; \
} \
}
surfacesMesh setField(triSurfaceToAgglom)