Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
meshToMesh Class Reference

Class to calculate the cell-addressing between two overlapping meshes. More...

Collaboration diagram for meshToMesh:
Collaboration graph
[legend]

Public Types

enum  interpolationMethod { imDirect, imMapNearest, imCellVolumeWeight, imCorrectedCellVolumeWeight }
 
enum  procMapMethod { pmAABB, pmLOD }
 

Public Member Functions

 TypeName ("meshToMesh")
 
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const interpolationMethod &method, const procMapMethod &mapMethod=procMapMethod::pmAABB, const bool interpAllPatches=true)
 
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const word &methodName, const word &AMIMethodName, const procMapMethod &mapMethod=procMapMethod::pmAABB, const bool interpAllPatches=true)
 
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const interpolationMethod &method, const HashTable< word > &patchMap, const wordList &cuttingPatches, const procMapMethod &mapMethod=procMapMethod::pmAABB, const bool normalise=true)
 
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const word &methodName, const word &AMIMethodName, const HashTable< word > &patchMap, const wordList &cuttingPatches, const procMapMethod &mapMethod=procMapMethod::pmAABB, const bool normalise=true)
 
virtual ~meshToMesh ()
 
const polyMeshsrcRegion () const
 
const polyMeshtgtRegion () const
 
const labelListListsrcToTgtCellAddr () const
 
const labelListListtgtToSrcCellAddr () const
 
const scalarListListsrcToTgtCellWght () const
 
const scalarListListtgtToSrcCellWght () const
 
const pointListListsrcToTgtCellVec () const
 
const pointListListtgtToSrcCellVec () const
 
scalar V () const
 
const PtrList< AMIPatchToPatchInterpolation > & patchAMIs () const
 
const autoPtr< mapDistribute > & srcMap () const
 
const autoPtr< mapDistribute > & tgtMap () const
 
template<class Type , class CombineOp >
void mapSrcToTgt (const UList< Type > &srcFld, const CombineOp &cop, List< Type > &result) const
 
template<class Type , class CombineOp >
void mapSrcToTgt (const UList< Type > &srcField, const UList< typename outerProduct< vector, Type >::type > &, const CombineOp &cop, List< Type > &result) const
 
template<class Type , class CombineOp >
tmp< Field< Type > > mapSrcToTgt (const Field< Type > &srcFld, const CombineOp &cop) const
 
template<class Type , class CombineOp >
tmp< Field< Type > > mapSrcToTgt (const tmp< Field< Type >> &tsrcFld, const CombineOp &cop) const
 
template<class Type >
tmp< Field< Type > > mapSrcToTgt (const Field< Type > &srcFld) const
 
template<class Type >
tmp< Field< Type > > mapSrcToTgt (const tmp< Field< Type >> &tsrcFld) const
 
template<class Type , class CombineOp >
void mapTgtToSrc (const UList< Type > &tgtFld, const CombineOp &cop, List< Type > &result) const
 
template<class Type , class CombineOp >
void mapTgtToSrc (const UList< Type > &srcField, const UList< typename outerProduct< vector, Type >::type > &, const CombineOp &cop, List< Type > &result) const
 
template<class Type , class CombineOp >
tmp< Field< Type > > mapTgtToSrc (const Field< Type > &tgtFld, const CombineOp &cop) const
 
template<class Type , class CombineOp >
tmp< Field< Type > > mapTgtToSrc (const tmp< Field< Type >> &ttgtFld, const CombineOp &cop) const
 
template<class Type >
tmp< Field< Type > > mapTgtToSrc (const Field< Type > &tgtFld) const
 
template<class Type >
tmp< Field< Type > > mapTgtToSrc (const tmp< Field< Type >> &ttgtFld) const
 
template<class Type , class CombineOp >
void mapSrcToTgt (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop, GeometricField< Type, fvPatchField, volMesh > &result, const bool secondOrder=true) const
 
template<class Type , class CombineOp >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapSrcToTgt (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop, const bool secondOrder=true) const
 
template<class Type , class CombineOp >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapSrcToTgt (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const CombineOp &cop, const bool secondOrder=true) const
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapSrcToTgt (const GeometricField< Type, fvPatchField, volMesh > &field, const bool secondOrder=true) const
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapSrcToTgt (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const bool secondOrder=true) const
 
template<class Type , class CombineOp >
void mapTgtToSrc (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop, GeometricField< Type, fvPatchField, volMesh > &result, const bool secondOrder=true) const
 
template<class Type , class CombineOp >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapTgtToSrc (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop, const bool secondOrder=true) const
 
template<class Type , class CombineOp >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapTgtToSrc (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const CombineOp &cop, const bool secondOrder=true) const
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapTgtToSrc (const GeometricField< Type, fvPatchField, volMesh > &field, const bool secondOrder=true) const
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapTgtToSrc (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const bool secondOrder=true) const
 
template<>
void mapInternalSrcToTgt (const GeometricField< sphericalTensor, fvPatchField, volMesh > &field, const plusEqOp< sphericalTensor > &cop, GeometricField< sphericalTensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalSrcToTgt (const GeometricField< sphericalTensor, fvPatchField, volMesh > &field, const minusEqOp< sphericalTensor > &cop, GeometricField< sphericalTensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalSrcToTgt (const GeometricField< symmTensor, fvPatchField, volMesh > &field, const plusEqOp< symmTensor > &cop, GeometricField< symmTensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalSrcToTgt (const GeometricField< symmTensor, fvPatchField, volMesh > &field, const minusEqOp< symmTensor > &cop, GeometricField< symmTensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalSrcToTgt (const GeometricField< tensor, fvPatchField, volMesh > &field, const plusEqOp< tensor > &cop, GeometricField< tensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalSrcToTgt (const GeometricField< tensor, fvPatchField, volMesh > &field, const minusEqOp< tensor > &cop, GeometricField< tensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalTgtToSrc (const GeometricField< sphericalTensor, fvPatchField, volMesh > &field, const plusEqOp< sphericalTensor > &cop, GeometricField< sphericalTensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalTgtToSrc (const GeometricField< sphericalTensor, fvPatchField, volMesh > &field, const minusEqOp< sphericalTensor > &cop, GeometricField< sphericalTensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalTgtToSrc (const GeometricField< symmTensor, fvPatchField, volMesh > &field, const plusEqOp< symmTensor > &cop, GeometricField< symmTensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalTgtToSrc (const GeometricField< symmTensor, fvPatchField, volMesh > &field, const minusEqOp< symmTensor > &cop, GeometricField< symmTensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalTgtToSrc (const GeometricField< tensor, fvPatchField, volMesh > &field, const plusEqOp< tensor > &cop, GeometricField< tensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapInternalTgtToSrc (const GeometricField< tensor, fvPatchField, volMesh > &field, const minusEqOp< tensor > &cop, GeometricField< tensor, fvPatchField, volMesh > &result, const bool secondOrder) const
 
template<>
void mapAndOpSrcToTgt (const AMIPatchToPatchInterpolation &AMI, const Field< scalar > &srcField, Field< scalar > &tgtField, const plusEqOp< scalar > &cop) const
 
template<>
void mapAndOpSrcToTgt (const AMIPatchToPatchInterpolation &AMI, const Field< vector > &srcField, Field< vector > &tgtField, const plusEqOp< vector > &cop) const
 
template<>
void mapAndOpSrcToTgt (const AMIPatchToPatchInterpolation &AMI, const Field< sphericalTensor > &srcField, Field< sphericalTensor > &tgtField, const plusEqOp< sphericalTensor > &cop) const
 
template<>
void mapAndOpSrcToTgt (const AMIPatchToPatchInterpolation &AMI, const Field< symmTensor > &srcField, Field< symmTensor > &tgtField, const plusEqOp< symmTensor > &cop) const
 
template<>
void mapAndOpSrcToTgt (const AMIPatchToPatchInterpolation &AMI, const Field< tensor > &srcField, Field< tensor > &tgtField, const plusEqOp< tensor > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIPatchToPatchInterpolation &AMI, Field< scalar > &srcField, const Field< scalar > &tgtField, const plusEqOp< scalar > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIPatchToPatchInterpolation &AMI, Field< vector > &srcField, const Field< vector > &tgtField, const plusEqOp< vector > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIPatchToPatchInterpolation &AMI, Field< sphericalTensor > &srcField, const Field< sphericalTensor > &tgtField, const plusEqOp< sphericalTensor > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIPatchToPatchInterpolation &AMI, Field< symmTensor > &srcField, const Field< symmTensor > &tgtField, const plusEqOp< symmTensor > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIPatchToPatchInterpolation &AMI, Field< tensor > &srcField, const Field< tensor > &tgtField, const plusEqOp< tensor > &cop) const
 
template<class Type , class CombineOp >
Foam::tmp< Foam::Field< Type > > mapSrcToTgt (const Field< Type > &srcField, const CombineOp &cop) const
 
template<class Type , class CombineOp >
Foam::tmp< Foam::Field< Type > > mapSrcToTgt (const tmp< Field< Type >> &tsrcField, const CombineOp &cop) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapSrcToTgt (const Field< Type > &srcField) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapSrcToTgt (const tmp< Field< Type >> &tsrcField) const
 
template<class Type , class CombineOp >
Foam::tmp< Foam::Field< Type > > mapTgtToSrc (const Field< Type > &tgtField, const CombineOp &cop) const
 
template<class Type , class CombineOp >
Foam::tmp< Foam::Field< Type > > mapTgtToSrc (const tmp< Field< Type >> &ttgtField, const CombineOp &cop) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapTgtToSrc (const Field< Type > &tgtField) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapTgtToSrc (const tmp< Field< Type >> &ttgtField) const
 
template<class Type , class CombineOp >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapSrcToTgt (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop, const bool secondOrder) const
 
template<class Type , class CombineOp >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapSrcToTgt (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const CombineOp &cop, const bool secondOrder) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapSrcToTgt (const GeometricField< Type, fvPatchField, volMesh > &field, const bool secondOrder) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapSrcToTgt (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const bool secondOrder) const
 
template<class Type , class CombineOp >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapTgtToSrc (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop, const bool secondOrder) const
 
template<class Type , class CombineOp >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapTgtToSrc (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const CombineOp &cop, const bool secondOrder) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapTgtToSrc (const GeometricField< Type, fvPatchField, volMesh > &field, const bool secondOrder) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapTgtToSrc (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const bool secondOrder) const
 

Static Public Member Functions

static word interpolationMethodAMI (const interpolationMethod method)
 

Static Public Attributes

static const Enum< interpolationMethodinterpolationMethodNames_
 
static const Enum< procMapMethodprocMapMethodNames_
 

Detailed Description

Class to calculate the cell-addressing between two overlapping meshes.

Mapping is performed using a run-time selectable interpolation mothod

See also
meshToMeshMethod
Source files

Definition at line 60 of file meshToMesh.H.

Member Enumeration Documentation

◆ interpolationMethod

enum interpolationMethod
strong
Enumerator
imDirect 
imMapNearest 
imCellVolumeWeight 
imCorrectedCellVolumeWeight 

Definition at line 67 of file meshToMesh.H.

◆ procMapMethod

enum procMapMethod
strong
Enumerator
pmAABB 
pmLOD 

Definition at line 78 of file meshToMesh.H.

Constructor & Destructor Documentation

◆ meshToMesh() [1/4]

meshToMesh ( const polyMesh src,
const polyMesh tgt,
const interpolationMethod method,
const procMapMethod mapMethod = procMapMethod::pmAABB,
const bool  interpAllPatches = true 
)

Definition at line 836 of file meshToMesh.C.

◆ meshToMesh() [2/4]

meshToMesh ( const polyMesh src,
const polyMesh tgt,
const word methodName,
const word AMIMethodName,
const procMapMethod mapMethod = procMapMethod::pmAABB,
const bool  interpAllPatches = true 
)

Definition at line 872 of file meshToMesh.C.

◆ meshToMesh() [3/4]

meshToMesh ( const polyMesh src,
const polyMesh tgt,
const interpolationMethod method,
const HashTable< word > &  patchMap,
const wordList cuttingPatches,
const procMapMethod mapMethod = procMapMethod::pmAABB,
const bool  normalise = true 
)

Definition at line 904 of file meshToMesh.C.

◆ meshToMesh() [4/4]

meshToMesh ( const polyMesh src,
const polyMesh tgt,
const word methodName,
const word AMIMethodName,
const HashTable< word > &  patchMap,
const wordList cuttingPatches,
const procMapMethod mapMethod = procMapMethod::pmAABB,
const bool  normalise = true 
)

Definition at line 942 of file meshToMesh.C.

◆ ~meshToMesh()

~meshToMesh ( )
virtual

Definition at line 982 of file meshToMesh.C.

Member Function Documentation

◆ TypeName()

TypeName ( "meshToMesh"  )

◆ srcRegion()

const Foam::polyMesh & srcRegion ( ) const
inline

Definition at line 26 of file meshToMeshI.H.

Referenced by Foam::MapMesh(), and Foam::MapVolFields().

Here is the caller graph for this function:

◆ tgtRegion()

const Foam::polyMesh & tgtRegion ( ) const
inline

Definition at line 32 of file meshToMeshI.H.

Referenced by Foam::MapMesh(), and Foam::MapVolFields().

Here is the caller graph for this function:

◆ srcToTgtCellAddr()

const Foam::labelListList & srcToTgtCellAddr ( ) const
inline

Definition at line 38 of file meshToMeshI.H.

Referenced by cellVolumeWeight::update().

Here is the caller graph for this function:

◆ tgtToSrcCellAddr()

const Foam::labelListList & tgtToSrcCellAddr ( ) const
inline

Definition at line 44 of file meshToMeshI.H.

Referenced by cellVolumeWeight::update().

Here is the caller graph for this function:

◆ srcToTgtCellWght()

const Foam::scalarListList & srcToTgtCellWght ( ) const
inline

Definition at line 50 of file meshToMeshI.H.

Referenced by cellVolumeWeight::update().

Here is the caller graph for this function:

◆ tgtToSrcCellWght()

const Foam::scalarListList & tgtToSrcCellWght ( ) const
inline

Definition at line 56 of file meshToMeshI.H.

Referenced by cellVolumeWeight::update().

Here is the caller graph for this function:

◆ srcToTgtCellVec()

const Foam::pointListList & srcToTgtCellVec ( ) const
inline

Definition at line 62 of file meshToMeshI.H.

◆ tgtToSrcCellVec()

const Foam::pointListList & tgtToSrcCellVec ( ) const
inline

Definition at line 68 of file meshToMeshI.H.

◆ V()

Foam::scalar V ( ) const
inline

Definition at line 74 of file meshToMeshI.H.

◆ interpolationMethodAMI()

Foam::word interpolationMethodAMI ( const interpolationMethod  method)
static

Definition at line 636 of file meshToMesh.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ patchAMIs()

const Foam::PtrList< Foam::AMIPatchToPatchInterpolation > & patchAMIs ( ) const
inline

Definition at line 95 of file meshToMeshI.H.

◆ srcMap()

const Foam::autoPtr< Foam::mapDistribute > & srcMap ( ) const
inline

Definition at line 81 of file meshToMeshI.H.

Referenced by cellVolumeWeight::update().

Here is the caller graph for this function:

◆ tgtMap()

const Foam::autoPtr< Foam::mapDistribute > & tgtMap ( ) const
inline

Definition at line 88 of file meshToMeshI.H.

Referenced by cellVolumeWeight::update().

Here is the caller graph for this function:

◆ mapSrcToTgt() [1/19]

void mapSrcToTgt ( const UList< Type > &  srcFld,
const CombineOp &  cop,
List< Type > &  result 
) const

Definition at line 47 of file meshToMeshTemplates.C.

References Foam::abort(), mapDistribute::distribute(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, and Foam::sum().

Referenced by interRegionHeatTransferModel::interpolate(), and Foam::MapVolFields().

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

◆ mapSrcToTgt() [2/19]

void mapSrcToTgt ( const UList< Type > &  srcField,
const UList< typename outerProduct< vector, Type >::type > &  srcGradField,
const CombineOp &  cop,
List< Type > &  result 
) const

Definition at line 115 of file meshToMeshTemplates.C.

References Foam::abort(), mapDistribute::distribute(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, Foam::returnReduce(), and Foam::sum().

Here is the call graph for this function:

◆ mapSrcToTgt() [3/19]

tmp<Field<Type> > mapSrcToTgt ( const Field< Type > &  srcFld,
const CombineOp &  cop 
) const

◆ mapSrcToTgt() [4/19]

tmp<Field<Type> > mapSrcToTgt ( const tmp< Field< Type >> &  tsrcFld,
const CombineOp &  cop 
) const

◆ mapSrcToTgt() [5/19]

tmp<Field<Type> > mapSrcToTgt ( const Field< Type > &  srcFld) const

◆ mapSrcToTgt() [6/19]

tmp<Field<Type> > mapSrcToTgt ( const tmp< Field< Type >> &  tsrcFld) const

◆ mapTgtToSrc() [1/19]

void mapTgtToSrc ( const UList< Type > &  tgtFld,
const CombineOp &  cop,
List< Type > &  result 
) const

Definition at line 262 of file meshToMeshTemplates.C.

References Foam::abort(), mapDistribute::distribute(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, and Foam::sum().

Here is the call graph for this function:

◆ mapTgtToSrc() [2/19]

void mapTgtToSrc ( const UList< Type > &  srcField,
const UList< typename outerProduct< vector, Type >::type > &  tgtGradField,
const CombineOp &  cop,
List< Type > &  result 
) const

Definition at line 328 of file meshToMeshTemplates.C.

References Foam::abort(), mapDistribute::distribute(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, Foam::returnReduce(), and Foam::sum().

Here is the call graph for this function:

◆ mapTgtToSrc() [3/19]

tmp<Field<Type> > mapTgtToSrc ( const Field< Type > &  tgtFld,
const CombineOp &  cop 
) const

◆ mapTgtToSrc() [4/19]

tmp<Field<Type> > mapTgtToSrc ( const tmp< Field< Type >> &  ttgtFld,
const CombineOp &  cop 
) const

◆ mapTgtToSrc() [5/19]

tmp<Field<Type> > mapTgtToSrc ( const Field< Type > &  tgtFld) const

◆ mapTgtToSrc() [6/19]

tmp<Field<Type> > mapTgtToSrc ( const tmp< Field< Type >> &  ttgtFld) const

◆ mapSrcToTgt() [7/19]

void mapSrcToTgt ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const CombineOp &  cop,
GeometricField< Type, fvPatchField, volMesh > &  result,
const bool  secondOrder = true 
) const

◆ mapSrcToTgt() [8/19]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapSrcToTgt ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const CombineOp &  cop,
const bool  secondOrder = true 
) const

◆ mapSrcToTgt() [9/19]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapSrcToTgt ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield,
const CombineOp &  cop,
const bool  secondOrder = true 
) const

◆ mapSrcToTgt() [10/19]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapSrcToTgt ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const bool  secondOrder = true 
) const

◆ mapSrcToTgt() [11/19]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapSrcToTgt ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield,
const bool  secondOrder = true 
) const

◆ mapTgtToSrc() [7/19]

void mapTgtToSrc ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const CombineOp &  cop,
GeometricField< Type, fvPatchField, volMesh > &  result,
const bool  secondOrder = true 
) const

◆ mapTgtToSrc() [8/19]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapTgtToSrc ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const CombineOp &  cop,
const bool  secondOrder = true 
) const

◆ mapTgtToSrc() [9/19]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapTgtToSrc ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield,
const CombineOp &  cop,
const bool  secondOrder = true 
) const

◆ mapTgtToSrc() [10/19]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapTgtToSrc ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const bool  secondOrder = true 
) const

◆ mapTgtToSrc() [11/19]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapTgtToSrc ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield,
const bool  secondOrder = true 
) const

◆ mapInternalSrcToTgt() [1/6]

void mapInternalSrcToTgt ( const GeometricField< sphericalTensor, fvPatchField, volMesh > &  field,
const plusEqOp< sphericalTensor > &  cop,
GeometricField< sphericalTensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 68 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [2/6]

void mapInternalSrcToTgt ( const GeometricField< sphericalTensor, fvPatchField, volMesh > &  field,
const minusEqOp< sphericalTensor > &  cop,
GeometricField< sphericalTensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 81 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [3/6]

void mapInternalSrcToTgt ( const GeometricField< symmTensor, fvPatchField, volMesh > &  field,
const plusEqOp< symmTensor > &  cop,
GeometricField< symmTensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 94 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [4/6]

void mapInternalSrcToTgt ( const GeometricField< symmTensor, fvPatchField, volMesh > &  field,
const minusEqOp< symmTensor > &  cop,
GeometricField< symmTensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 107 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [5/6]

void mapInternalSrcToTgt ( const GeometricField< tensor, fvPatchField, volMesh > &  field,
const plusEqOp< tensor > &  cop,
GeometricField< tensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 120 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [6/6]

void mapInternalSrcToTgt ( const GeometricField< tensor, fvPatchField, volMesh > &  field,
const minusEqOp< tensor > &  cop,
GeometricField< tensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 133 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [1/6]

void mapInternalTgtToSrc ( const GeometricField< sphericalTensor, fvPatchField, volMesh > &  field,
const plusEqOp< sphericalTensor > &  cop,
GeometricField< sphericalTensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 146 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [2/6]

void mapInternalTgtToSrc ( const GeometricField< sphericalTensor, fvPatchField, volMesh > &  field,
const minusEqOp< sphericalTensor > &  cop,
GeometricField< sphericalTensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 159 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [3/6]

void mapInternalTgtToSrc ( const GeometricField< symmTensor, fvPatchField, volMesh > &  field,
const plusEqOp< symmTensor > &  cop,
GeometricField< symmTensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 172 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [4/6]

void mapInternalTgtToSrc ( const GeometricField< symmTensor, fvPatchField, volMesh > &  field,
const minusEqOp< symmTensor > &  cop,
GeometricField< symmTensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 185 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [5/6]

void mapInternalTgtToSrc ( const GeometricField< tensor, fvPatchField, volMesh > &  field,
const plusEqOp< tensor > &  cop,
GeometricField< tensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 198 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [6/6]

void mapInternalTgtToSrc ( const GeometricField< tensor, fvPatchField, volMesh > &  field,
const minusEqOp< tensor > &  cop,
GeometricField< tensor, fvPatchField, volMesh > &  result,
const bool  secondOrder 
) const

Definition at line 211 of file meshToMesh.C.

References field(), and GeometricField::primitiveFieldRef().

Here is the call graph for this function:

◆ mapAndOpSrcToTgt() [1/5]

void mapAndOpSrcToTgt ( const AMIPatchToPatchInterpolation AMI,
const Field< scalar > &  srcField,
Field< scalar > &  tgtField,
const plusEqOp< scalar > &  cop 
) const

Definition at line 224 of file meshToMesh.C.

◆ mapAndOpSrcToTgt() [2/5]

void mapAndOpSrcToTgt ( const AMIPatchToPatchInterpolation AMI,
const Field< vector > &  srcField,
Field< vector > &  tgtField,
const plusEqOp< vector > &  cop 
) const

Definition at line 235 of file meshToMesh.C.

◆ mapAndOpSrcToTgt() [3/5]

void mapAndOpSrcToTgt ( const AMIPatchToPatchInterpolation AMI,
const Field< sphericalTensor > &  srcField,
Field< sphericalTensor > &  tgtField,
const plusEqOp< sphericalTensor > &  cop 
) const

Definition at line 246 of file meshToMesh.C.

◆ mapAndOpSrcToTgt() [4/5]

void mapAndOpSrcToTgt ( const AMIPatchToPatchInterpolation AMI,
const Field< symmTensor > &  srcField,
Field< symmTensor > &  tgtField,
const plusEqOp< symmTensor > &  cop 
) const

Definition at line 257 of file meshToMesh.C.

◆ mapAndOpSrcToTgt() [5/5]

void mapAndOpSrcToTgt ( const AMIPatchToPatchInterpolation AMI,
const Field< tensor > &  srcField,
Field< tensor > &  tgtField,
const plusEqOp< tensor > &  cop 
) const

Definition at line 268 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [1/5]

void mapAndOpTgtToSrc ( const AMIPatchToPatchInterpolation AMI,
Field< scalar > &  srcField,
const Field< scalar > &  tgtField,
const plusEqOp< scalar > &  cop 
) const

Definition at line 279 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [2/5]

void mapAndOpTgtToSrc ( const AMIPatchToPatchInterpolation AMI,
Field< vector > &  srcField,
const Field< vector > &  tgtField,
const plusEqOp< vector > &  cop 
) const

Definition at line 290 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [3/5]

void mapAndOpTgtToSrc ( const AMIPatchToPatchInterpolation AMI,
Field< sphericalTensor > &  srcField,
const Field< sphericalTensor > &  tgtField,
const plusEqOp< sphericalTensor > &  cop 
) const

Definition at line 301 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [4/5]

void mapAndOpTgtToSrc ( const AMIPatchToPatchInterpolation AMI,
Field< symmTensor > &  srcField,
const Field< symmTensor > &  tgtField,
const plusEqOp< symmTensor > &  cop 
) const

Definition at line 312 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [5/5]

void mapAndOpTgtToSrc ( const AMIPatchToPatchInterpolation AMI,
Field< tensor > &  srcField,
const Field< tensor > &  tgtField,
const plusEqOp< tensor > &  cop 
) const

Definition at line 323 of file meshToMesh.C.

◆ mapSrcToTgt() [12/19]

Foam::tmp<Foam::Field<Type> > mapSrcToTgt ( const Field< Type > &  srcField,
const CombineOp &  cop 
) const

Definition at line 209 of file meshToMeshTemplates.C.

References tmp::ref(), and Foam::Zero.

Here is the call graph for this function:

◆ mapSrcToTgt() [13/19]

Foam::tmp<Foam::Field<Type> > mapSrcToTgt ( const tmp< Field< Type >> &  tsrcField,
const CombineOp &  cop 
) const

Definition at line 231 of file meshToMeshTemplates.C.

◆ mapSrcToTgt() [14/19]

Foam::tmp<Foam::Field<Type> > mapSrcToTgt ( const Field< Type > &  srcField) const

Definition at line 242 of file meshToMeshTemplates.C.

◆ mapSrcToTgt() [15/19]

Foam::tmp<Foam::Field<Type> > mapSrcToTgt ( const tmp< Field< Type >> &  tsrcField) const

Definition at line 252 of file meshToMeshTemplates.C.

◆ mapTgtToSrc() [12/19]

Foam::tmp<Foam::Field<Type> > mapTgtToSrc ( const Field< Type > &  tgtField,
const CombineOp &  cop 
) const

Definition at line 414 of file meshToMeshTemplates.C.

References tmp::ref(), and Foam::Zero.

Here is the call graph for this function:

◆ mapTgtToSrc() [13/19]

Foam::tmp<Foam::Field<Type> > mapTgtToSrc ( const tmp< Field< Type >> &  ttgtField,
const CombineOp &  cop 
) const

Definition at line 436 of file meshToMeshTemplates.C.

◆ mapTgtToSrc() [14/19]

Foam::tmp<Foam::Field<Type> > mapTgtToSrc ( const Field< Type > &  tgtField) const

Definition at line 447 of file meshToMeshTemplates.C.

◆ mapTgtToSrc() [15/19]

Foam::tmp<Foam::Field<Type> > mapTgtToSrc ( const tmp< Field< Type >> &  ttgtField) const

Definition at line 457 of file meshToMeshTemplates.C.

◆ mapSrcToTgt() [16/19]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > mapSrcToTgt ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const CombineOp &  cop,
const bool  secondOrder 
) const

◆ mapSrcToTgt() [17/19]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > mapSrcToTgt ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield,
const CombineOp &  cop,
const bool  secondOrder 
) const

Definition at line 670 of file meshToMeshTemplates.C.

◆ mapSrcToTgt() [18/19]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > mapSrcToTgt ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const bool  secondOrder 
) const

Definition at line 683 of file meshToMeshTemplates.C.

References field().

Here is the call graph for this function:

◆ mapSrcToTgt() [19/19]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > mapSrcToTgt ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield,
const bool  secondOrder 
) const

Definition at line 695 of file meshToMeshTemplates.C.

◆ mapTgtToSrc() [16/19]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > mapTgtToSrc ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const CombineOp &  cop,
const bool  secondOrder 
) const

◆ mapTgtToSrc() [17/19]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > mapTgtToSrc ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield,
const CombineOp &  cop,
const bool  secondOrder 
) const

Definition at line 906 of file meshToMeshTemplates.C.

◆ mapTgtToSrc() [18/19]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > mapTgtToSrc ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const bool  secondOrder 
) const

Definition at line 919 of file meshToMeshTemplates.C.

References field().

Here is the call graph for this function:

◆ mapTgtToSrc() [19/19]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > mapTgtToSrc ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield,
const bool  secondOrder 
) const

Definition at line 931 of file meshToMeshTemplates.C.

Member Data Documentation

◆ interpolationMethodNames_

const Foam::Enum< Foam::meshToMesh::interpolationMethod > interpolationMethodNames_
static

Definition at line 75 of file meshToMesh.H.

Referenced by interRegionOption::setMapper().

◆ procMapMethodNames_

const Foam::Enum< Foam::meshToMesh::procMapMethod > procMapMethodNames_
static
Initial value:
{
{ procMapMethod::pmAABB, "AABB" },
}

Definition at line 84 of file meshToMesh.H.

Referenced by interRegionOption::setMapper().


The documentation for this class was generated from the following files:
Foam::meshToMesh::procMapMethod::pmLOD
@ pmLOD
Foam::meshToMesh::procMapMethod::pmAABB
@ pmAABB