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

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

Inheritance diagram for fvMeshAdder:
Inheritance graph
[legend]
Collaboration diagram for fvMeshAdder:
Collaboration graph
[legend]

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...
 
- 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...
 
static Map< labelfindSharedPoints (const polyMesh &, const scalar mergeTol)
 Find topologically and geometrically shared points. More...
 
static void mergePoints (const polyMesh &, const Map< label > &pointToMaster, polyTopoChange &meshMod)
 Helper: Merge points. More...
 

Detailed Description

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

Source files

Definition at line 63 of file fvMeshAdder.H.

Member Function Documentation

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 66 of file fvMeshAdder.C.

References polyMeshAdder::add(), fvMesh::boundary(), polyMesh::boundaryMesh(), fvMesh::clearOut(), forAll, fvPatch::New(), patches, PtrList< T >::set(), PtrList< T >::setSize(), and PtrList< T >::size().

Referenced by fvMeshDistribute::distribute().

Here is the call graph for this function:

Here is the caller graph for this function:

void MapVolFields ( const mapAddedPolyMesh meshMap,
const fvMesh mesh,
const fvMesh meshToAdd 
)
static
void MapSurfaceFields ( const mapAddedPolyMesh meshMap,
const fvMesh mesh,
const fvMesh meshToAdd 
)
static

Map all surfaceFields of Type.

Definition at line 557 of file fvMeshAdderTemplates.C.

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

Referenced by fvMeshAdder::MapVolFields().

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: