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

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.
 
namespace  Foam::exprTools
 Helper methods for creating expressions.
 

Macros

#define defineExpressionEntryType(DimType)
 

Functions

 addNamedToRunTimeSelectionTable (expressionEntry, dimensionedScalarEntry, empty, dimensionedScalar)
 
 addNamedToRunTimeSelectionTable (expressionEntry, dimensionedVectorEntry, empty, dimensionedVector)
 
 addNamedToRunTimeSelectionTable (expressionEntry, dimensionedTensorEntry, empty, dimensionedTensor)
 
 addNamedToRunTimeSelectionTable (expressionEntry, dimensionedSymmTensorEntry, empty, dimensionedSymmTensor)
 
 addNamedToRunTimeSelectionTable (expressionEntry, dimensionedSphericalTensorEntry, empty, dimensionedSphericalTensor)
 

Detailed Description

Original source file expressionEntryDimensioned.C

Definition in file expressionEntryDimensioned.C.

Macro Definition Documentation

◆ defineExpressionEntryType

#define defineExpressionEntryType (   DimType)
Value:
Foam::string Foam::exprTools::DimType##Entry::evaluate(const entry& e) \
{ \
DimType dt(dynamicCast<const primitiveEntry>(e)); \
return toExprStr<DimType::value_type>(dt.value()); \
}
A class for handling character strings derived from std::string.
Definition: string.H:79
volScalarField & e
Definition: createFields.H:11

Definition at line 92 of file expressionEntryDimensioned.C.