Adds two fvMeshes without using any polyMesh morphing. Uses polyMeshAdder. More...
Public Member Functions | |
ClassName ("fvMeshAdder") | |
Static Public Member Functions | |
static autoPtr< mapAddedPolyMesh > | add (fvMesh &mesh0, const fvMesh &mesh1, const faceCoupleInfo &coupleInfo, const bool validBoundary=true, const bool fullyMapped=false) |
template<class Type > | |
static void | MapVolFields (const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd, const bool fullyMapped=false) |
template<class Type > | |
static void | MapSurfaceFields (const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd, const bool fullyMapped=false) |
template<class Type > | |
static void | MapDimFields (const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd) |
static autoPtr< mapPolyMesh > | add (const label myProci, UPtrList< fvMesh > &fvMeshes, const labelList &oldFaceOwner, const labelListList &localBoundaryFace, const labelListList &remoteFaceProc, const labelListList &remoteBoundaryFace, labelListList &constructPatchMap, labelListList &constructCellMap, labelListList &constructFaceMap, labelListList &constructPointMap) |
template<class Type > | |
static void | MapDimField (UPtrList< DimensionedField< Type, volMesh >> &flds, const labelListList &cellProcAddressing, const bool fullyMapped) |
template<class Type > | |
static void | MapVolField (UPtrList< GeometricField< Type, fvPatchField, volMesh >> &flds, const labelList &oldPatchStarts0, const labelList &oldPatchSizes0, const labelListList &patchProcAddressing, const labelListList &cellProcAddressing, const labelListList &faceProcAddressing, const bool fullyMapped) |
template<class Type > | |
static void | MapSurfaceField (UPtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> &, const labelList &oldFaceOwner0, const labelList &oldPatchStarts0, const labelList &oldPatchSizes0, const labelListList &patchProcAddressing, const labelListList &cellProcAddressing, const labelListList &faceProcAddressing, const bool fullyMapped) |
template<class Type > | |
static void | MapDimFields (const UPtrList< fvMesh > &meshes, const labelListList &cellProcAddressing, const bool fullyMapped=false) |
template<class Type > | |
static void | MapVolFields (const UPtrList< fvMesh > &meshes, const labelList &oldPatchStarts0, const labelList &oldPatchSizes0, const labelListList &patchProcAddressing, const labelListList &cellProcAddressing, const labelListList &faceProcAddressing, const labelListList &pointProcAddressing, const bool fullyMapped=false) |
template<class Type > | |
static void | MapSurfaceFields (const UPtrList< fvMesh > &meshes, const labelList &oldFaceOwner0, const labelList &oldPatchStarts0, const labelList &oldPatchSizes0, const labelListList &patchProcAddressing, const labelListList &cellProcAddressing, const labelListList &faceProcAddressing, const labelListList &pointProcAddressing, const bool fullyMapped=false) |
![]() | |
static autoPtr< polyMesh > | add (const IOobject &io, const polyMesh &mesh0, const polyMesh &mesh1, const faceCoupleInfo &coupleInfo, autoPtr< mapAddedPolyMesh > &mapPtr) |
static autoPtr< mapAddedPolyMesh > | add (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) |
Adds two fvMeshes without using any polyMesh morphing. Uses polyMeshAdder.
Definition at line 63 of file fvMeshAdder.H.
ClassName | ( | "fvMeshAdder" | ) |
|
static |
Definition at line 67 of file fvMeshAdder.C.
References polyMeshAdder::add(), fvMesh::boundary(), polyMesh::boundaryMesh(), fvMesh::clearOut(), forAll, fvPatch::New(), patches, PtrList::set(), and PtrList::setSize().
Referenced by fvMeshDistribute::distribute().
|
static |
Definition at line 259 of file fvMeshAdderTemplates.C.
References DebugPout, Foam::endl(), fields, fld, forAllIters, HashTable::found(), mesh, and WarningInFunction.
|
static |
Definition at line 569 of file fvMeshAdderTemplates.C.
References DebugPout, Foam::endl(), fields, fld, forAllIters, HashTable::found(), mesh, and WarningInFunction.
|
static |
Definition at line 651 of file fvMeshAdderTemplates.C.
References DebugPout, Foam::endl(), fields, fld, forAllIters, HashTable::found(), mesh, and WarningInFunction.
|
static |
Definition at line 128 of file fvMeshAdder.C.
References polyMeshAdder::add(), polyMesh::boundaryMesh(), polyMesh::cellZones(), polyTopoChange::changeMesh(), Foam::faceMap(), polyMesh::faceZones(), forAll, UPtrList::get(), Foam::identity(), Foam::inplaceRenumber(), mesh, meshes(), primitiveMesh::nCells(), primitiveMesh::nFaces(), polyBoundaryMesh::nNonProcessor(), nPoints, primitiveMesh::nPoints(), polyMesh::pointZones(), PtrList::set(), UPtrList::set(), polyTopoChange::setCapacity(), List::setSize(), and UPtrList::size().
|
static |
Definition at line 701 of file fvMeshAdderTemplates.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, and Field::rmap().
|
static |
Definition at line 751 of file fvMeshAdderTemplates.C.
References Foam::endl(), Foam::exit(), faceProcAddressing, Foam::FatalError, FatalErrorInFunction, forAll, directFvPatchFieldMapper::hasUnmapped(), mesh, Foam::foamVersion::patch, Field::rmap(), and WarningInFunction.
|
static |
Definition at line 886 of file fvMeshAdderTemplates.C.
References Foam::endl(), Foam::exit(), Foam::faceMap(), polyMesh::faceOwner(), faceProcAddressing, Foam::FatalError, FatalErrorInFunction, fld, forAll, directFvPatchFieldMapper::hasUnmapped(), primitiveMesh::nInternalFaces(), Foam::foamVersion::patch, fvsPatchField::patch(), Field::rmap(), fvPatch::start(), and WarningInFunction.
|
static |
Definition at line 1165 of file fvMeshAdderTemplates.C.
References DebugPout, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, fields, fld, forAll, meshes(), PtrList::set(), and UPtrList::set().
|
static |
Definition at line 1090 of file fvMeshAdderTemplates.C.
References DebugPout, Foam::endl(), Foam::exit(), faceProcAddressing, Foam::FatalError, FatalErrorInFunction, fields, fld, forAll, meshes(), PtrList::set(), and UPtrList::set().
|
static |
Definition at line 1220 of file fvMeshAdderTemplates.C.
References DebugPout, Foam::endl(), Foam::exit(), faceProcAddressing, Foam::FatalError, FatalErrorInFunction, fields, fld, forAll, meshes(), PtrList::set(), and UPtrList::set().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.