Go to the source code of this file.
|
| | Foam |
| | Namespace for OpenFOAM.
|
| |
|
| #define | ACCESS_STATE_FIELDS(Type, nullArg) |
| |
| #define | CLEAR_TYPE_STATE_FIELDS(Type, nullArg) |
| |
| #define | ACCESS_DERIVED_FIELDS(Type, nullArg) |
| |
| #define | CLEAR_TYPE_DERIVED_FIELDS(Type, nullArg) |
| |
| #define | ACCESS_AVERAGE_FIELDS(Type, nullArg) |
| |
| #define | REMOVE_FROM_TYPE_AVERAGE_FIELDS(Type, nullArg) |
| |
| #define | ADD_TO_TYPE_AVERAGE_FIELDS(Type, nullArg) |
| |
| #define | CORRECT_TYPE_AVERAGE_FIELDS(Type, nullArg) |
| |
| #define | CLEAR_TYPE_AVERAGE_FIELDS(Type, nullArg) |
| |
| #define | RESET_TYPE_AVERAGE_FIELDS(Type, nullArg) |
| |
| #define | EVAL_TYPE_DERIVED_PATCH_FIELDS(Type, GeoField) |
| |
Original source file cloud.C
Definition in file cloud.C.
◆ ACCESS_STATE_FIELDS
| #define ACCESS_STATE_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value:
{ \
template<> \
PtrList<Foam::CloudStateField<Type>>& cloud::stateFields() const \
{ \
} \
}
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
LagrangianFieldSource< label > CAT3(Lagrangian, CAPITALIZE(label), FieldSource)
Definition at line 90 of file cloud.C.
◆ CLEAR_TYPE_STATE_FIELDS
| #define CLEAR_TYPE_STATE_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: forAll(stateFields<Type>(), i) \
{ \
stateFields<Type>()[i].clear(); \
}
#define forAll(list, i)
Loop across all elements in list.
◆ ACCESS_DERIVED_FIELDS
| #define ACCESS_DERIVED_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value:
{ \
template<> \
PtrList<Foam::CloudDerivedField<Type>>& cloud::derivedFields() const \
{ \
} \
}
Definition at line 115 of file cloud.C.
◆ CLEAR_TYPE_DERIVED_FIELDS
| #define CLEAR_TYPE_DERIVED_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: forAll(derivedFields<Type>(), i) \
{ \
derivedFields<Type>()[i].clear(final); \
}
◆ ACCESS_AVERAGE_FIELDS
| #define ACCESS_AVERAGE_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value:
{ \
template<> \
PtrList<Foam::CloudAverageField<Type>>& cloud::averageFields() const \
{ \
} \
}
dimensioned< Type > average(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
Definition at line 140 of file cloud.C.
◆ REMOVE_FROM_TYPE_AVERAGE_FIELDS
| #define REMOVE_FROM_TYPE_AVERAGE_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: forAll(averageFields<Type>(), i) \
{ \
averageFields<Type>()[i].remove(subMesh); \
}
◆ ADD_TO_TYPE_AVERAGE_FIELDS
| #define ADD_TO_TYPE_AVERAGE_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: forAll(averageFields<Type>(), i) \
{ \
averageFields<Type>()[i].add(subMesh, !final); \
}
◆ CORRECT_TYPE_AVERAGE_FIELDS
| #define CORRECT_TYPE_AVERAGE_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: forAll(averageFields<Type>(), i) \
{ \
averageFields<Type>()[i].correct(subMesh, !final); \
}
◆ CLEAR_TYPE_AVERAGE_FIELDS
| #define CLEAR_TYPE_AVERAGE_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: forAll(averageFields<Type>(), i) \
{ \
averageFields<Type>()[i].clear(true); \
}
◆ RESET_TYPE_AVERAGE_FIELDS
| #define RESET_TYPE_AVERAGE_FIELDS |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: forAll(averageFields<Type>(), i) \
{ \
averageFields<Type>()[i].reset(); \
}
◆ EVAL_TYPE_DERIVED_PATCH_FIELDS
| #define EVAL_TYPE_DERIVED_PATCH_FIELDS |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
mesh_.lookupClass<GeoField<Type>>() \
{ \
forAll(mesh_.boundary(),
patchi) \
{ \
const LagrangianPatch& patch = mesh_.boundary()[
patchi]; \
\
if \
( \
patch.mesh().size() \
&& !polyPatch::constraintType(patch.type()) \
) \
{ \
iter()->boundaryFieldRef()[
patchi].evaluate \
( \
NullObjectNonConstRef<PstreamBuffers>(), \
fraction \
); \
} \
} \
} \
}
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
Info<< "Calculating turbulent flame speed field St\n"<< endl;volScalarField St(IOobject("St", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields