nonConformalMappedFvPatchBase Class Reference

Base class for fv patches which provides non-conformal mapping between two potentially non-globally conforming fv patches. More...

Inheritance diagram for nonConformalMappedFvPatchBase:
Collaboration diagram for nonConformalMappedFvPatchBase:

Public Member Functions

 TypeName ("nonConformalMappedFvPatchBase")
 Runtime type information. More...
 
 nonConformalMappedFvPatchBase (const fvPatch &patch)
 Construct from a patch. More...
 
virtual ~nonConformalMappedFvPatchBase ()
 Destructor. More...
 
 DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR (label,)
 Map/interpolate. More...
 
 FOR_ALL_FIELD_TYPES (DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR,)
 Map/interpolate. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > fromNeighbour (const Field< Type > &nbrFld) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > toNeighbour (const Field< Type > &fld) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, const Field< Type > &srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 
template<class Type >
Foam::tmp< Foam::Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, Field< Type > &&srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 
template<class Type >
Foam::tmp< Foam::Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, const tmp< Field< Type >> &srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 
- Public Member Functions inherited from mappedFvPatchBaseBase
 TypeName ("mappedFvPatchBaseBase")
 Runtime type information. More...
 
 mappedFvPatchBaseBase (const fvPatch &patch)
 Construct from a patch. More...
 
virtual ~mappedFvPatchBaseBase ()
 Destructor. More...
 
const fvPatchpatch () const
 Reference to the fvPatch. More...
 
const wordnbrRegionName () const
 Name of the region to map from. More...
 
const wordnbrPatchName () const
 Name of the patch to map from. More...
 
const transformertransform () const
 The transformation between the patches. More...
 
bool haveNbr () const
 Is the neighbour available? More...
 
const fvMeshnbrMesh () const
 Get the mesh for the region to map from. More...
 
const fvPatchnbrFvPatch () const
 Get the patch to map from. More...
 
 FOR_ALL_FIELD_TYPES (DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR,=0)
 Map/interpolate. More...
 

Static Public Member Functions

template<class Type >
static tmp< Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, const Field< Type > &srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 Map/interpolate from one patch to another. More...
 
template<class Type >
static tmp< Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, Field< Type > &&srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 Map/interpolate from one patch to another. More...
 
template<class Type >
static tmp< Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, const tmp< Field< Type >> &srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 Map/interpolate from one patch to another. More...
 
- Static Public Member Functions inherited from mappedFvPatchBaseBase
static const mappedFvPatchBaseBasegetMap (const fvPatch &patch)
 Cast the given fvPatch to a mappedFvPatchBaseBase. Handle errors. More...
 

Detailed Description

Base class for fv patches which provides non-conformal mapping between two potentially non-globally conforming fv patches.

Source files

Definition at line 54 of file nonConformalMappedFvPatchBase.H.

Constructor & Destructor Documentation

◆ nonConformalMappedFvPatchBase()

Construct from a patch.

Definition at line 77 of file nonConformalMappedFvPatchBase.C.

◆ ~nonConformalMappedFvPatchBase()

Destructor.

Definition at line 89 of file nonConformalMappedFvPatchBase.C.

Member Function Documentation

◆ TypeName()

TypeName ( "nonConformalMappedFvPatchBase"  )

Runtime type information.

◆ map() [1/6]

static tmp<Field<Type> > map ( const fvsPatchLabelField srcPolyFacesPf,
const Field< Type > &  srcFld,
const fvsPatchLabelField tgtPolyFacesPf 
)
static

Map/interpolate from one patch to another.

Referenced by nonConformalMappedFvPatchBase::fromNeighbour().

Here is the caller graph for this function:

◆ map() [2/6]

static tmp<Field<Type> > map ( const fvsPatchLabelField srcPolyFacesPf,
Field< Type > &&  srcFld,
const fvsPatchLabelField tgtPolyFacesPf 
)
static

Map/interpolate from one patch to another.

◆ map() [3/6]

static tmp<Field<Type> > map ( const fvsPatchLabelField srcPolyFacesPf,
const tmp< Field< Type >> &  srcFld,
const fvsPatchLabelField tgtPolyFacesPf 
)
static

Map/interpolate from one patch to another.

◆ DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR()

DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR ( label  )

Map/interpolate.

◆ FOR_ALL_FIELD_TYPES()

Map/interpolate.

◆ fromNeighbour()

◆ toNeighbour()

Foam::tmp<Foam::Field<Type> > toNeighbour ( const Field< Type > &  fld) const

Definition at line 58 of file nonConformalMappedFvPatchBase.C.

References polyMesh::boundaryMesh(), fld(), polyBoundaryMesh::mesh(), and fvMesh::polyFacesBf().

Here is the call graph for this function:

◆ map() [4/6]

Foam::tmp<Foam::Field<Type> > map ( const fvsPatchLabelField srcPolyFacesPf,
const Field< Type > &  srcFld,
const fvsPatchLabelField tgtPolyFacesPf 
)

◆ map() [5/6]

Foam::tmp<Foam::Field<Type> > map ( const fvsPatchLabelField srcPolyFacesPf,
Field< Type > &&  srcFld,
const fvsPatchLabelField tgtPolyFacesPf 
)

Definition at line 129 of file nonConformalMappedFvPatchBaseTemplates.C.

References UPstream::parRun().

Here is the call graph for this function:

◆ map() [6/6]

Foam::tmp<Foam::Field<Type> > map ( const fvsPatchLabelField srcPolyFacesPf,
const tmp< Field< Type >> &  srcFld,
const fvsPatchLabelField tgtPolyFacesPf 
)

Definition at line 152 of file nonConformalMappedFvPatchBaseTemplates.C.

References UPstream::parRun().

Here is the call graph for this function:

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