Go to the documentation of this file.
41 #ifndef polyMeshAdder_H
42 #define polyMeshAdder_H
67 static label patchIndex
77 static void mergePatchNames
99 const label nAllPatches,
102 const label nInternalFaces,
114 const label nInternalFaces,
121 static void insertVertices
126 const face& masterFace,
133 static void mergePrimitives
139 const label nAllPatches,
150 label& nInternalFaces,
160 static void mergePointZones
162 const label nAllPoints,
175 static void mergeFaceZones
192 static void mergeCellZones
194 const label nAllCells,
206 static void mergeZones
208 const label nAllPoints,
210 const label nAllCells,
252 static label procPatchIndex
255 const label nbrProci,
261 static void compactPoints
296 const bool validBoundary =
true
310 const scalar mergeTol
Defines the attributes of an object for which implicit objectRegistry management is supported,...
PtrList< labelIOList > & faceProcAddressing
Calculates points shared by more than two processor patches or cyclic patches.
A class for handling words, derived from Foam::string.
Adds two meshes without using any polyMesh morphing.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
Direct mesh changes based on v1.3 polyTopoChange syntax.
Mesh consisting of general polyhedral cells.
Generic templated field type.
A patch is a list of labels that address the faces in the global face list.
Foam::PtrList< Foam::fvMesh > meshes(regionNames.size())
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
static Map< label > findSharedPoints(const polyMesh &, const scalar mergeTol)
static label procPatchPairs(const UPtrList< polyMesh > &meshes, List< DynamicList< label >> &localPatch, List< DynamicList< label >> &remoteMesh, List< DynamicList< label >> &remotePatch)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
static autoPtr< polyMesh > add(const IOobject &io, const polyMesh &mesh0, const polyMesh &mesh1, const faceCoupleInfo &coupleInfo, autoPtr< mapAddedPolyMesh > &mapPtr)
Container for information needed to couple to meshes. When constructed from two meshes and a geometri...
A face is a list of labels corresponding to mesh vertices.
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)
static void mergePoints(const polyMesh &, const Map< label > &pointToMaster, polyTopoChange &meshMod)