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 void setFaceProps
216 static void setFaceProps
231 static void findZoneFace
233 const bool useInternalFaces,
234 const bool useBoundaryFaces,
250 static void markPatchEdges
258 bitSet& isPatchBoundaryEdge
265 static void globalEdgeInfo
267 const bool zoneFromAnyFace,
357 const bool zoneFromAnyFace,
442 overallDisplacement / nLayers,
const labelListList & addedPoints() const
Added points per patch point.
A face is a list of labels corresponding to mesh vertices.
ClassName("addPatchCellLayer")
Runtime type information.
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.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A list of faces which address into the list of points.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
Adds layers of cells to outside of polyPatch. Can optionally create stand-alone extruded mesh (addToM...
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void setRefinement(const globalIndex &globalFaces, const labelListList &globalEdgeFaces, const scalarField &expansionRatio, const indirectPrimitivePatch &pp, const bitSet &flip, 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.
void updateMesh(const mapPolyMesh &, const labelList &faceMap, const labelList &pointMap)
Update any locally stored mesh information. Gets additional.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
A List with indirect addressing. Like IndirectList but does not store addressing. ...
Direct mesh changes based on v1.3 polyTopoChange syntax.
static labelListList globalEdgeFaces(const polyMesh &, const globalIndex &globalFaces, const indirectPrimitivePatch &pp)
Per patch edge the pp faces (in global indices) using it.
labelListList addedCells() const
Added cells given current mesh & layerfaces.
Mesh consisting of general polyhedral cells.
List< label > labelList
A List of labels.
List< bool > boolList
A List of bools.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())