41 #ifndef Foam_polyMeshAdder_H 42 #define Foam_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
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.