fvMeshAdder Class Reference

Adds two fvMeshes without using any polyMesh morphing. Uses polyMeshAdder. More...

Inheritance diagram for fvMeshAdder:
Collaboration diagram for fvMeshAdder:

Public Member Functions

 ClassName ("fvMeshAdder")
 

Static Public Member Functions

static autoPtr< mapAddedPolyMeshadd (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< polyMeshadd (const IOobject &io, const polyMesh &mesh0, const polyMesh &mesh1, const faceCoupleInfo &coupleInfo, autoPtr< mapAddedPolyMesh > &mapPtr)
 Add two polyMeshes. Returns new polyMesh and map construct. More...
 
static autoPtr< mapAddedPolyMeshadd (polyMesh &mesh0, const polyMesh &mesh1, const faceCoupleInfo &coupleInfo, const bool validBoundary=true)
 Inplace add mesh to polyMesh. Returns map construct. More...
 

Detailed Description

Adds two fvMeshes without using any polyMesh morphing. Uses polyMeshAdder.

Source files

Definition at line 65 of file fvMeshAdder.H.

Member Function Documentation

◆ ClassName()

ClassName ( "fvMeshAdder"  )

◆ add()

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

Inplace add mesh to fvMesh. Maps all stored fields. Returns map.

Definition at line 71 of file fvMeshAdder.C.

References polyMeshAdder::add(), fvMesh::boundary(), polyMesh::boundaryMesh(), forAll, objectRegistry::foundObject(), MeshObject< polyMesh, PatchMeshObject, pointMesh >::New(), fvPatch::New(), patches, patchi, PtrList< T >::set(), PtrList< T >::setSize(), List< T >::setSize(), and UPtrList< T >::size().

Referenced by fvMeshDistribute::distribute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MapVolFields()

◆ MapSurfaceFields()

◆ MapPointFields()

◆ MapDimFields()

void MapDimFields ( const mapAddedPolyMesh meshMap,
const fvMesh mesh,
const fvMesh meshToAdd 
)
static

Map all DimensionedFields of Type.

Definition at line 977 of file fvMeshAdderTemplates.C.

References HashTable< T, Key, Hash >::begin(), HashTableCore::end(), Foam::endl(), fields, fld(), HashTable< T, Key, Hash >::found(), OSstream::name(), fileName::name(), Foam::Pout, and WarningIn.

Referenced by fvMeshAdder::MapPointFields().

Here is the call graph for this function:
Here is the caller graph for this function:

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