41 #ifndef Foam_polyMeshAdder_H 42 #define Foam_polyMeshAdder_H 67 static label patchIndex
77 static void mergePatchNames
94 const label nAllPatches,
97 const label nInternalFaces,
109 const label nInternalFaces,
116 static void insertVertices
121 const face& masterFace,
128 static void mergePrimitives
134 const label nAllPatches,
145 label& nInternalFaces,
155 static void mergePointZones
157 const label nAllPoints,
170 static void mergeFaceZones
187 static void mergeCellZones
189 const label nAllCells,
201 static void mergeZones
203 const label nAllPoints,
205 const label nAllCells,
247 static label procPatchIndex
250 const label nbrProci,
256 static void compactPoints
291 const bool validBoundary =
true 305 const scalar mergeTol
const polyBoundaryMesh & pbm
A face is a list of labels corresponding to mesh vertices.
Adds two meshes without using any polyMesh morphing.
Container for information needed to couple to meshes. When constructed from two meshes and a geometri...
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
static void mergePoints(const polyMesh &, const Map< label > &pointToMaster, polyTopoChange &meshMod)
Helper: Merge points.
A class for handling words, derived from Foam::string.
Foam::PtrList< Foam::fvMesh > meshes(regionNames.size())
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
static label procPatchPairs(const UPtrList< polyMesh > &meshes, List< DynamicList< label >> &localPatch, List< DynamicList< label >> &remoteMesh, List< DynamicList< label >> &remotePatch)
Helper: find pairs of processor patches. Return number of non-processor patches.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO...
Map from edge (expressed as its endpoints) to value. Hashing (and ==) on an edge is symmetric...
Calculates points shared by more than two processor patches or cyclic patches.
static void patchFacePairs(const UPtrList< polyMesh > &meshes, const List< DynamicList< label >> &localPatch, const List< DynamicList< label >> &remoteMesh, const List< DynamicList< label >> &remotePatch, labelListList &localBoundaryFace, labelListList &remoteFaceMesh, labelListList &remoteBoundaryFace)
Helper: expand list of coupled patches into pairs of coupled faces.
Direct mesh changes based on v1.3 polyTopoChange syntax.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
A patch is a list of labels that address the faces in the global face list.
static autoPtr< polyMesh > add(const IOobject &io, const polyMesh &mesh0, const polyMesh &mesh1, const faceCoupleInfo &coupleInfo, autoPtr< mapAddedPolyMesh > &mapPtr)
Add two polyMeshes. Returns new polyMesh and map construct.
Defines the attributes of an object for which implicit objectRegistry management is supported...
static Map< label > findSharedPoints(const polyMesh &, const scalar mergeTol)
Find topologically and geometrically shared points.