Go to the source code of this file.
|
| | Foam |
| | Namespace for OpenFOAM.
|
| |
|
| #define | PERMUTE_TYPE_FIELDS(Type, GeoField) |
| |
| #define | INJECT_TYPE_FIELDS(Type, GeoField) |
| |
| #define | INJECT_STATE_FIELD(GeoField) |
| |
| #define | INSERT_INTERNAL_FIELD_NAMES(Type, GeoField) |
| |
| #define | INSERT_FIELD_NAMES(Type, GeoField) fieldNames.insert(lookupCurrentFields<GeoField<Type>>().toc()); |
| |
| #define | BIRTH_TYPE_FIELDS(Type, GeoField) |
| |
| #define | INIT_EVAL_TYPE_PATCH_FIELDS(Type, GeoField) |
| |
| #define | EVAL_TYPE_PATCH_FIELDS(Type, GeoField) |
| |
| #define | OLD_TIME_TYPE_FIELDS(Type, GeoField) |
| |
| #define | RESET_OLD_TIME_TYPE_FIELDS(Type, GeoField) |
| |
| #define | CLEAR_OLD_TIME_TYPE_FIELDS(Type, GeoField) |
| |
| #define | INSERT_FIELD_NAMES(Type, GeoField) fieldNames.insert(lookupCurrentFields<GeoField<Type>>(true).toc()); |
| |
Original source file LagrangianMesh.C
Definition in file LagrangianMesh.C.
◆ PERMUTE_TYPE_FIELDS
| #define PERMUTE_TYPE_FIELDS |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
lookupCurrentFields<GeoField<Type>>() \
{ \
if (permutedFieldNames.found(iter()->
name())) continue; \
\
\
\
} \
}
#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
void insert(const scalar, DynamicList< floatScalar > &)
Append scalar to given DynamicList.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
conserve primitiveFieldRef()+
◆ INJECT_TYPE_FIELDS
| #define INJECT_TYPE_FIELDS |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
lookupCurrentFields<GeoField<Type>>() \
{ \
if (specifiedFieldNames.found(iter()->
name())) continue; \
\
\
\
iter()->
resize(injectionMesh.end()); \
\
\
injectionMesh.sub(*iter()).
ref() = \
iter()->sources()[injection.
name()].value \
( \
injection, \
injectionMesh \
); \
} \
}
triSurfaceToAgglom resize(surfacesMesh.size())
◆ INJECT_STATE_FIELD
| #define INJECT_STATE_FIELD |
( |
|
GeoField | ) |
|
Value: { \
if (foundObject<GeoField<label>>(stateName)) \
{ \
GeoField<label>& state = \
lookupObjectRef<GeoField<label>>(stateName); \
\
injectedFieldNames.insert(stateName); \
\
\
state.resize(injectionMesh.end()); \
\
\
injectionMesh.sub(state).ref() = \
static_cast<label>(LagrangianState::none); \
} \
}
◆ INSERT_INTERNAL_FIELD_NAMES
| #define INSERT_INTERNAL_FIELD_NAMES |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
lookupCurrentFields<GeoField<Type>>() \
{ \
if (specifiedFieldNames.found(iter()->
name())) continue; \
if (injectedFieldNames.
found(iter()->
name())) continue; \
\
} \
}
if(!fvConstraints.PtrListDictionary< fvConstraint >::size())
◆ INSERT_FIELD_NAMES [1/2]
| #define INSERT_FIELD_NAMES |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| fieldNames.insert(lookupCurrentFields<GeoField<Type>>().toc()); |
◆ BIRTH_TYPE_FIELDS
| #define BIRTH_TYPE_FIELDS |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
lookupCurrentFields<GeoField<Type>>() \
{ \
if (specifiedFieldNames.found(iter()->
name())) continue; \
if (birthedFieldNames.
found(iter()->
name())) continue; \
\
\
\
iter()->
resize(birthMesh.end()); \
\
\
Field<Type>(UIndirectList<Type>(*iter(), parents)()); \
} \
}
◆ INIT_EVAL_TYPE_PATCH_FIELDS
| #define INIT_EVAL_TYPE_PATCH_FIELDS |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
lookupCurrentFields<GeoField<Type>>() \
{ \
{ \
iter()->boundaryFieldRef()[
patchi].initEvaluate \
( \
pBufs, \
fraction \
); \
} \
} \
}
faceListList boundary(nPatches)
◆ EVAL_TYPE_PATCH_FIELDS
| #define EVAL_TYPE_PATCH_FIELDS |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
lookupCurrentFields<GeoField<Type>>() \
{ \
{ \
iter()->boundaryFieldRef()[
patchi].evaluate \
( \
pBufs, \
fraction \
); \
} \
} \
}
◆ OLD_TIME_TYPE_FIELDS
| #define OLD_TIME_TYPE_FIELDS |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
lookupCurrentFields<GeoField<Type>>() \
{ \
iter()->storeOldTimes(); \
iter()->oldTime(); \
} \
}
◆ RESET_OLD_TIME_TYPE_FIELDS
| #define RESET_OLD_TIME_TYPE_FIELDS |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
lookupCurrentFields<GeoField<Type>>() \
{ \
iter()->reset(iter()->oldTime()); \
} \
}
◆ CLEAR_OLD_TIME_TYPE_FIELDS
| #define CLEAR_OLD_TIME_TYPE_FIELDS |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| |
Value: { \
HashTable<GeoField<Type>*>
fields \
( \
lookupCurrentFields<GeoField<Type>>() \
{ \
iter()->clearOldTimes(); \
} \
}
◆ INSERT_FIELD_NAMES [2/2]
| #define INSERT_FIELD_NAMES |
( |
|
Type, |
|
|
|
GeoField |
|
) |
| fieldNames.insert(lookupCurrentFields<GeoField<Type>>(true).toc()); |
◆ Foam::LagrangianMesh::track< Foam::LagrangianMesh::linearDisplacement >()
◆ Foam::LagrangianMesh::track< Foam::LagrangianMesh::parabolicDisplacement >()