Static Public Member Functions | List of all members
polyMeshAdder Class Reference

Adds two meshes without using any polyMesh morphing. More...

Inheritance diagram for polyMeshAdder:
Inheritance graph
[legend]

Static Public Member Functions

static autoPtr< polyMeshadd (const IOobject &io, const polyMesh &mesh0, const polyMesh &mesh1, const faceCoupleInfo &coupleInfo, autoPtr< mapAddedPolyMesh > &mapPtr)
 
static autoPtr< mapAddedPolyMeshadd (polyMesh &mesh0, const polyMesh &mesh1, const faceCoupleInfo &coupleInfo, const bool validBoundary=true)
 
static Map< label > findSharedPoints (const polyMesh &, const scalar mergeTol)
 
static void mergePoints (const polyMesh &, const Map< label > &pointToMaster, polyTopoChange &meshMod)
 
static label procPatchPairs (const UPtrList< polyMesh > &meshes, List< DynamicList< label >> &localPatch, List< DynamicList< label >> &remoteMesh, List< DynamicList< label >> &remotePatch)
 
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 add (const UPtrList< polyMesh > &meshes, const UList< labelList > &patchMap, const labelListList &localBoundaryFace, const labelListList &remoteFaceMesh, const labelListList &remoteBoundaryFace, const labelListList &remoteFaceStart, const UList< labelList > &pointZoneMap, const UList< labelList > &faceZoneMap, const UList< labelList > &cellZoneMap, polyTopoChange &meshMod, labelListList &cellProcAddressing, labelListList &faceProcAddressing, labelListList &pointProcAddressing)
 

Detailed Description

Adds two meshes without using any polyMesh morphing.

Gets faces to couple as faceCoupleInfo which is list of faces on both meshes. Returns map from last mesh addition.

Source files

Definition at line 57 of file polyMeshAdder.H.

Member Function Documentation

◆ add() [1/3]

Foam::autoPtr< Foam::polyMesh > add ( const IOobject io,
const polyMesh mesh0,
const polyMesh mesh1,
const faceCoupleInfo coupleInfo,
autoPtr< mapAddedPolyMesh > &  mapPtr 
)
static

◆ add() [2/3]

Foam::autoPtr< Foam::mapAddedPolyMesh > add ( polyMesh mesh0,
const polyMesh mesh1,
const faceCoupleInfo coupleInfo,
const bool  validBoundary = true 
)
static

◆ findSharedPoints()

Foam::Map< Foam::label > findSharedPoints ( const polyMesh mesh,
const scalar  mergeTol 
)
static

◆ mergePoints()

void mergePoints ( const polyMesh mesh,
const Map< label > &  pointToMaster,
polyTopoChange meshMod 
)
static

◆ procPatchPairs()

Foam::label procPatchPairs ( const UPtrList< polyMesh > &  meshes,
List< DynamicList< label >> &  localPatch,
List< DynamicList< label >> &  remoteMesh,
List< DynamicList< label >> &  remotePatch 
)
static

◆ patchFacePairs()

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

Definition at line 2442 of file polyMeshAdder.C.

References polyMesh::boundaryMesh(), forAll, mesh, meshes(), primitiveMesh::nInternalFaces(), List::setSize(), and polyPatch::start().

Here is the call graph for this function:

◆ add() [3/3]

void add ( const UPtrList< polyMesh > &  meshes,
const UList< labelList > &  patchMap,
const labelListList localBoundaryFace,
const labelListList remoteFaceMesh,
const labelListList remoteBoundaryFace,
const labelListList remoteFaceStart,
const UList< labelList > &  pointZoneMap,
const UList< labelList > &  faceZoneMap,
const UList< labelList > &  cellZoneMap,
polyTopoChange meshMod,
labelListList cellProcAddressing,
labelListList faceProcAddressing,
labelListList pointProcAddressing 
)
static

The documentation for this class was generated from the following files: