52 boundaryMesh_(boundaryMesh),
66 polyPatchConstructorTable::iterator cstrIter =
67 polyPatchConstructorTablePtr_->find(
type);
69 if (cstrIter == polyPatchConstructorTablePtr_->end())
72 <<
"Unknown LagrangianPatch type " <<
type
74 <<
"Valid LagrangianPatch types are :" <<
endl
75 << polyPatchConstructorTablePtr_->sortedToc()
89 return New(patch.type(), patch, boundaryMesh);
103 if (!meshPtr_.valid())
106 <<
"Lagrangian patch mesh requested out of scope of Lagrangian "
116 return boundaryMesh().mesh();
144 boundaryMesh_.mesh().changing()
147 boundaryMesh_.mesh().sub
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Boundary part of a Lagrangian mesh. Just a list of Lagrangian patches with some added convenience fun...
Class containing Lagrangian geometry and topology.
const List< LagrangianState > & states() const
Return the states.
Base class for Lagrangian patches.
virtual void initEvaluate(PstreamBuffers &, LagrangianMesh &mesh, const LagrangianScalarInternalDynamicField &fraction) const
Initialise evaluation of changes in elements that have tracked to.
const objectRegistry & db() const
Return the local object registry.
static autoPtr< LagrangianPatch > New(const word &type, const polyPatch &patch, const LagrangianBoundaryMesh &boundaryMesh)
Return a pointer to a new LagrangianPatch of specified type.
virtual ~LagrangianPatch()
Destructor.
virtual void partition() const
Update for mesh changes.
virtual void evaluate(PstreamBuffers &, LagrangianMesh &, const LagrangianScalarInternalDynamicField &fraction) const
Evaluate changes in elements that have tracked to this patch.
LagrangianPatch(const polyPatch &, const LagrangianBoundaryMesh &)
Construct from a patch and a boundary mesh.
virtual const LagrangianSubMesh & mesh() const
Return the sub-mesh associated with this patch.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
Buffers for inter-processor communications streams (UOPstream, UIPstream).
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Registry of regIOobjects.
A patch is a list of labels that address the faces in the global face list.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)
LagrangianGroup
Lagrangian group enumeration.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.