Go to the documentation of this file.
105 #ifndef addPatchCellLayer_H
106 #define addPatchCellLayer_H
120 class polyTopoChange;
137 const bool addToMesh_;
162 static void addVertex(
const label,
face&, label& fp);
164 bool sameEdgeNeighbour
169 const label thisGlobalFaceI,
170 const label nbrGlobalFaceI,
179 const label patchFaceI,
180 const label globalFaceI
191 const label newPatchID,
192 const label newZoneI,
194 const label inflateFaceI,
196 const label ownFaceI,
197 const label nbrFaceI,
198 const label meshEdgeI,
200 const label numEdgeFaces,
206 static label findProcPatch(
const polyMesh&,
const label nbrProcID);
209 static void setFaceProps
219 static void setFaceProps
234 static void findZoneFace
236 const bool useInternalFaces,
237 const bool useBoundaryFaces,
253 static void markPatchEdges
261 bitSet& isPatchBoundaryEdge
268 static void globalEdgeInfo
270 const bool zoneFromAnyFace,
339 const globalIndex& globalFaces,
360 const bool zoneFromAnyFace,
363 const globalIndex& globalFaces,
369 Map<label>& nbrProcToPatch,
370 Map<label>& patchToNbrProc,
398 const globalIndex& globalFaces,
412 polyTopoChange& meshMod
443 overallDisplacement / nLayers,
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
static labelListList globalEdgeFaces(const polyMesh &, const globalIndex &globalFaces, const indirectPrimitivePatch &pp)
Direct mesh changes based on v1.3 polyTopoChange syntax.
List< bool > boolList
A List of bools.
const labelListList & addedPoints() const
Mesh consisting of general polyhedral cells.
Field< vector > vectorField
Specialisation of Field<T> for vector.
Generic templated field type.
Adds layers of cells to outside of polyPatch. Can optionally create stand-alone extruded mesh (addToM...
ClassName("addPatchCellLayer")
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
void updateMesh(const mapPolyMesh &, const labelList &faceMap, const labelList &pointMap)
const labelListList & layerFaces() const
PrimitivePatch< IndirectList< face >, const pointField & > indirectPrimitivePatch
A PrimitivePatch with an IndirectList for the faces, const reference for the point field.
List< labelList > labelListList
A List of labelList.
An ordered pair of two objects of type <T> with first() and second() elements.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static void calcExtrudeInfo(const bool zoneFromAnyFace, const polyMesh &, const globalIndex &globalFaces, const labelListList &globalEdgeFaces, const indirectPrimitivePatch &pp, labelList &edgePatchID, label &nPatches, Map< label > &nbrProcToPatch, Map< label > &patchToNbrProc, labelList &edgeZoneID, boolList &edgeFlip, labelList &inflateFaceID)
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A List with indirect addressing.
A face is a list of labels corresponding to mesh vertices.
A list of faces which address into the list of points.
void setRefinement(const globalIndex &globalFaces, const labelListList &globalEdgeFaces, const scalarField &expansionRatio, const indirectPrimitivePatch &pp, const labelList &sidePatchID, const labelList &sideZoneID, const boolList &sideFlip, const labelList &inflateFaceID, const labelList &exposedPatchID, const labelList &nFaceLayers, const labelList &nPointLayers, const vectorField &firstLayerDisp, polyTopoChange &meshMod)
labelListList addedCells() const