Go to the documentation of this file.
40 #ifndef patchInjectionBase_H
41 #define patchInjectionBase_H
labelList cellOwners_
List of cell labels corresponding to injector positions.
A class for handling words, derived from string.
scalar patchArea_
Patch area - total across all processors.
labelList triToFace_
Addressing from per triangle to patch face.
virtual ~patchInjectionBase()
Destructor.
scalarList sumTriMagSf_
Cumulative area fractions per processor.
Mesh consisting of general polyhedral cells.
scalarList triCumulativeMagSf_
Cumulative triangle area per triangle face.
patchInjectionBase(const polyMesh &mesh, const word &patchName)
Construct from mesh and patch name.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word patchName_
Patch name.
virtual void updateMesh(const polyMesh &mesh)
Update patch geometry and derived info for injection locations.
vectorList patchNormal_
Patch face normal directions.
virtual void setPositionAndCell(const polyMesh &mesh, cachedRandom &rnd, vector &position, label &cellOwner, label &tetFaceI, label &tetPtI)
Set the injection position and owner cell, tetFace and tetPt.
const label patchId_
Patch ID.
faceList triFace_
Decomposed patch faces as a list of triangles.