Go to the documentation of this file.
39 #ifndef zoneCellStencils_H
40 #define zoneCellStencils_H
61 public MeshObject<fvMesh, UpdateableMeshObject, zoneCellStencils>,
const labelHashSet & needsComm()
autoPtr< indirectPrimitivePatch > nonEmptyFacesPatch() const
Return patch of all coupled faces.
autoPtr< indirectPrimitivePatch > allCoupledFacesPatch() const
Return patch of all coupled faces.
zoneCellStencils(const fvMesh &)
Construct from all cells and boundary faces.
void validBoundaryFaces(boolList &isValidBFace) const
Valid boundary faces (not empty and not coupled)
static void merge(const label globalI, const labelList &pGlobals, labelList &cCells)
Merge two lists and guarantee globalI is first.
Base class for mesh zones.
void insertFaceCells(const label exclude0, const label exclude1, const boolList &nonEmptyFace, const labelList &faceLabels, labelHashSet &globals) const
Collect cell neighbours of faces in global numbering.
TypeName("zoneCellStencils")
base class for cell stencil in a narrow band
const globalIndex & globalNumbering() const
Global numbering for cells and boundary faces.
virtual bool movePoints()
Mesh data needed to do the Finite Volume discretisation.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
virtual void calculateStencil(const boolList &zone, labelListList &globalCellCells)=0
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
labelList calcFaceCells(const boolList &nonEmptyFace, const labelList &faceLabels, labelHashSet &globals) const
Collect cell neighbours of faces in global numbering.
void updateStencil(const boolList &zone)
Calculates per cell the neighbour data.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
virtual void updateMesh(const mapPolyMesh &mpm)
globalIndex globalNumbering_