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) |
Inplace add mesh to fvMesh. Maps all stored fields. Returns map. More... | |
template<class Type > | |
static void | MapVolFields (const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd) |
Map all volFields of Type. More... | |
template<class Type > | |
static void | MapSurfaceFields (const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd) |
Map all surfaceFields of Type. More... | |
template<class Type > | |
static void | MapPointFields (const mapAddedPolyMesh &, const pointMesh &mesh, const labelListList &oldMeshPoints, const objectRegistry &meshToAdd) |
Map all surfaceFields of Type. More... | |
template<class Type > | |
static void | MapDimFields (const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd) |
Map all DimensionedFields of Type. More... | |
Static Public Member Functions inherited from polyMeshAdder | |
static autoPtr< mapAddedPolyMesh > | add (polyMesh &mesh0, const polyMesh &mesh1, const faceCoupleInfo &coupleInfo, const bool validBoundary=true) |
Inplace add mesh to polyMesh. Returns map construct. More... | |
Adds two fvMeshes without using any polyMesh morphing. Uses polyMeshAdder.
Definition at line 65 of file fvMeshAdder.H.
ClassName | ( | "fvMeshAdder" | ) |
|
static |
Inplace add mesh to fvMesh. Maps all stored fields. Returns map.
Definition at line 70 of file fvMeshAdder.C.
References polyMeshAdder::add(), fvMesh::boundary(), polyMesh::boundaryMesh(), forAll, objectRegistry::foundObject(), DemandDrivenMeshObject< polyMesh, PatchMeshObject, pointMesh >::New(), fvPatch::New(), patches, patchi, PtrList< T >::set(), List< T >::setSize(), PtrList< T >::setSize(), and UPtrList< T >::size().
Referenced by fvMeshDistribute::distribute().
|
static |
Map all volFields of Type.
Definition at line 254 of file fvMeshAdderTemplates.C.
References Foam::endl(), fields, fld(), HashTable< T, Key, Hash >::found(), IOobject::name(), Foam::Pout, and WarningInFunction.
|
static |
Map all surfaceFields of Type.
Definition at line 547 of file fvMeshAdderTemplates.C.
References Foam::endl(), fields, fld(), HashTable< T, Key, Hash >::found(), IOobject::name(), Foam::Pout, and WarningInFunction.
|
static |
Map all surfaceFields of Type.
Definition at line 847 of file fvMeshAdderTemplates.C.
References Foam::endl(), fields, fld(), HashTable< T, Key, Hash >::found(), objectRegistry::lookupClass(), IOobject::name(), Foam::Pout, pointMesh::thisDb(), and WarningInFunction.
|
static |
Map all DimensionedFields of Type.
Definition at line 920 of file fvMeshAdderTemplates.C.
References Foam::endl(), fields, fld(), HashTable< T, Key, Hash >::found(), Foam::Pout, and WarningIn.