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,
360 const bool zoneFromAnyFace,
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)
Per patch edge the pp faces (in global indices) using it.
label nEdges() const
Number of edges in patch.
Direct mesh changes based on v1.3 polyTopoChange syntax.
List< bool > boolList
A List of bools.
const labelListList & addedPoints() const
Added points per patch point.
Mesh consisting of general polyhedral cells.
label nPoints() const
Number of points supporting patch faces.
Adds layers of cells to outside of polyPatch. Can optionally create stand-alone extruded mesh (addToM...
ClassName("addPatchCellLayer")
Runtime type information.
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)
Update any locally stored mesh information. Gets additional.
const labelListList & layerFaces() const
Layer faces per patch face. See above.
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)
Determine extrude information per patch edge:
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)
Play commands into polyTopoChange to create layers on top.
labelListList addedCells() const
Added cells given current mesh & layerfaces.