40 #ifndef patchInjectionBase_H
41 #define patchInjectionBase_H
59 class randomGenerator;
Mesh data needed to do the Finite Volume discretisation.
Base class for patch-based injection models.
scalarList sumFaceArea_
Cumulative sum of the face areas in the patch.
scalarList sumProcArea_
Cumulative sum of the total patch areas in each process.
virtual ~patchInjectionBase()
Destructor.
const word patchName_
Patch name.
scalarListList sumFaceTriArea_
Cumulative sum of the triangle areas in each patch face.
const label patchId_
Patch ID.
patchInjectionBase(const polyMesh &mesh, const word &patchName)
Construct from mesh and patch name.
virtual void topoChange(const polyMesh &mesh)
Update patch geometry and derived info for injection locations.
virtual void setPositionAndCell(const fvMesh &mesh, randomGenerator &rndGen, barycentric &coordinates, label &celli, label &tetFacei, label &tetPti, label &facei)
Set the injection position and owner cell, tetFace and tetPt.
Mesh consisting of general polyhedral cells.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
randomGenerator rndGen(653213)