meshToMesh Class Reference

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

Collaboration diagram for meshToMesh:

Public Types

enum  interpolationMethod { imDirect, imMapNearest, imCellVolumeWeight }
 Enumeration specifying interpolation method. More...
 

Public Member Functions

 TypeName ("meshToMesh")
 Run-time type information. More...
 
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const interpolationMethod &method, const bool interpAllPatches=true)
 Construct from source and target meshes. More...
 
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const word &methodName, const word &AMIMethodName, const bool interpAllPatches=true)
 Construct from source and target meshes, generic mapping methods. More...
 
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const interpolationMethod &method, const HashTable< word > &patchMap, const wordList &cuttingPatches)
 Construct from source and target meshes. More...
 
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const word &methodName, const word &AMIMethodName, const HashTable< word > &patchMap, const wordList &cuttingPatches)
 Construct from source and target meshes, generic mapping methods. More...
 
 meshToMesh (const meshToMesh &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~meshToMesh ()
 Destructor. More...
 
const polyMeshsrcRegion () const
 Return const access to the source mesh. More...
 
const polyMeshtgtRegion () const
 Return const access to the target mesh. More...
 
const labelListListsrcToTgtCellAddr () const
 Return const access to the source to target cell addressing. More...
 
const labelListListtgtToSrcCellAddr () const
 Return const access to the target to source cell addressing. More...
 
const scalarListListsrcToTgtCellWght () const
 Return const access to the source to target cell weights. More...
 
const scalarListListtgtToSrcCellWght () const
 Return const access to the target to source cell weights. More...
 
scalar V () const
 Return const access to the overlap volume. More...
 
template<class Type , class CombineOp >
void mapSrcToTgt (const UList< Type > &srcFld, const CombineOp &cop, List< Type > &result) const
 Map field from src to tgt mesh with defined operation. More...
 
template<class Type , class CombineOp >
tmp< Field< Type > > mapSrcToTgt (const Field< Type > &srcFld, const CombineOp &cop) const
 Return the src field mapped to the tgt mesh with a defined. More...
 
template<class Type , class CombineOp >
tmp< Field< Type > > mapSrcToTgt (const tmp< Field< Type >> &tsrcFld, const CombineOp &cop) const
 Convenience function to map a tmp field to the tgt mesh. More...
 
template<class Type >
tmp< Field< Type > > mapSrcToTgt (const Field< Type > &srcFld) const
 Convenience function to map a field to the tgt mesh with a. More...
 
template<class Type >
tmp< Field< Type > > mapSrcToTgt (const tmp< Field< Type >> &tsrcFld) const
 Convenience function to map a tmp field to the tgt mesh. More...
 
template<class Type , class CombineOp >
void mapTgtToSrc (const UList< Type > &tgtFld, const CombineOp &cop, List< Type > &result) const
 Map field from tgt to src mesh with defined operation. More...
 
template<class Type , class CombineOp >
tmp< Field< Type > > mapTgtToSrc (const Field< Type > &tgtFld, const CombineOp &cop) const
 Return the tgt field mapped to the src mesh with a defined. More...
 
template<class Type , class CombineOp >
tmp< Field< Type > > mapTgtToSrc (const tmp< Field< Type >> &ttgtFld, const CombineOp &cop) const
 Convenience function to map a tmp field to the src mesh. More...
 
template<class Type >
tmp< Field< Type > > mapTgtToSrc (const Field< Type > &tgtFld) const
 Convenience function to map a field to the src mesh with a. More...
 
template<class Type >
tmp< Field< Type > > mapTgtToSrc (const tmp< Field< Type >> &ttgtFld) const
 Convenience function to map a tmp field to the src mesh. More...
 
template<class Type , class CombineOp >
void mapSrcToTgt (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop, GeometricField< Type, fvPatchField, volMesh > &result) const
 Interpolate a field with a defined operation. Values. More...
 
template<class Type , class CombineOp >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapSrcToTgt (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop) const
 Interpolate a field with a defined operation. The initial. More...
 
template<class Type , class CombineOp >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapSrcToTgt (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const CombineOp &cop) const
 Interpolate a tmp field with a defined operation. The. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapSrcToTgt (const GeometricField< Type, fvPatchField, volMesh > &field) const
 Convenience function to map a field with a default. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapSrcToTgt (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield) const
 Convenience function to map a tmp field with a default. More...
 
template<class Type , class CombineOp >
void mapTgtToSrc (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop, GeometricField< Type, fvPatchField, volMesh > &result) const
 Interpolate a field with a defined operation. Values. More...
 
template<class Type , class CombineOp >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapTgtToSrc (const GeometricField< Type, fvPatchField, volMesh > &field, const CombineOp &cop) const
 Interpolate a field with a defined operation. The initial. More...
 
template<class Type , class CombineOp >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapTgtToSrc (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield, const CombineOp &cop) const
 Interpolate a tmp field with a defined operation. The. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapTgtToSrc (const GeometricField< Type, fvPatchField, volMesh > &field) const
 Convenience function to map a field with a default. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > mapTgtToSrc (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield) const
 Convenience function to map a tmp field with a default. More...
 
void operator= (const meshToMesh &)=delete
 Disallow default bitwise assignment. More...
 
template<>
void mapAndOpSrcToTgt (const AMIInterpolation &AMI, const Field< scalar > &srcField, Field< scalar > &tgtField, const plusEqOp< scalar > &cop) const
 
template<>
void mapAndOpSrcToTgt (const AMIInterpolation &AMI, const Field< vector > &srcField, Field< vector > &tgtField, const plusEqOp< vector > &cop) const
 
template<>
void mapAndOpSrcToTgt (const AMIInterpolation &AMI, const Field< sphericalTensor > &srcField, Field< sphericalTensor > &tgtField, const plusEqOp< sphericalTensor > &cop) const
 
template<>
void mapAndOpSrcToTgt (const AMIInterpolation &AMI, const Field< symmTensor > &srcField, Field< symmTensor > &tgtField, const plusEqOp< symmTensor > &cop) const
 
template<>
void mapAndOpSrcToTgt (const AMIInterpolation &AMI, const Field< tensor > &srcField, Field< tensor > &tgtField, const plusEqOp< tensor > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIInterpolation &AMI, Field< scalar > &srcField, const Field< scalar > &tgtField, const plusEqOp< scalar > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIInterpolation &AMI, Field< vector > &srcField, const Field< vector > &tgtField, const plusEqOp< vector > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIInterpolation &AMI, Field< sphericalTensor > &srcField, const Field< sphericalTensor > &tgtField, const plusEqOp< sphericalTensor > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIInterpolation &AMI, Field< symmTensor > &srcField, const Field< symmTensor > &tgtField, const plusEqOp< symmTensor > &cop) const
 
template<>
void mapAndOpTgtToSrc (const AMIInterpolation &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
 
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
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapSrcToTgt (const GeometricField< Type, fvPatchField, volMesh > &field) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapSrcToTgt (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield) 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
 
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
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapTgtToSrc (const GeometricField< Type, fvPatchField, volMesh > &field) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > mapTgtToSrc (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tfield) const
 

Static Public Member Functions

static AMIInterpolation::interpolationMethod interpolationMethodAMI (const interpolationMethod method)
 Conversion between mesh and patch interpolation methods. More...
 

Static Public Attributes

static const NamedEnum< interpolationMethod, 3 > interpolationMethodNames_
 

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

Enumeration specifying interpolation method.

Enumerator
imDirect 
imMapNearest 
imCellVolumeWeight 

Definition at line 67 of file meshToMesh.H.

Constructor & Destructor Documentation

◆ meshToMesh() [1/5]

meshToMesh ( const polyMesh src,
const polyMesh tgt,
const interpolationMethod method,
const bool  interpAllPatches = true 
)

Construct from source and target meshes.

Definition at line 637 of file meshToMesh.C.

References AMIInterpolation::interpolationMethodToWord().

Referenced by meshToMesh::interpolationMethodAMI(), and meshToMesh::meshToMesh().

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

◆ meshToMesh() [2/5]

meshToMesh ( const polyMesh src,
const polyMesh tgt,
const word methodName,
const word AMIMethodName,
const bool  interpAllPatches = true 
)

Construct from source and target meshes, generic mapping methods.

Definition at line 672 of file meshToMesh.C.

References meshToMesh::meshToMesh().

Here is the call graph for this function:

◆ meshToMesh() [3/5]

meshToMesh ( const polyMesh src,
const polyMesh tgt,
const interpolationMethod method,
const HashTable< word > &  patchMap,
const wordList cuttingPatches 
)

Construct from source and target meshes.

Definition at line 700 of file meshToMesh.C.

References AMIInterpolation::interpolationMethodToWord(), and meshToMesh::meshToMesh().

Here is the call graph for this function:

◆ meshToMesh() [4/5]

meshToMesh ( const polyMesh src,
const polyMesh tgt,
const word methodName,
const word AMIMethodName,
const HashTable< word > &  patchMap,
const wordList cuttingPatches 
)

Construct from source and target meshes, generic mapping methods.

Definition at line 737 of file meshToMesh.C.

◆ meshToMesh() [5/5]

meshToMesh ( const meshToMesh )
delete

Disallow default bitwise copy construction.

◆ ~meshToMesh()

~meshToMesh ( )
virtual

Destructor.

Definition at line 773 of file meshToMesh.C.

Member Function Documentation

◆ TypeName()

TypeName ( "meshToMesh"  )

Run-time type information.

◆ srcRegion()

const Foam::polyMesh & srcRegion ( ) const
inline

Return const access to the source mesh.

Definition at line 30 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

Return const access to the target mesh.

Definition at line 36 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

Return const access to the source to target cell addressing.

Definition at line 43 of file meshToMeshI.H.

◆ tgtToSrcCellAddr()

const Foam::labelListList & tgtToSrcCellAddr ( ) const
inline

Return const access to the target to source cell addressing.

Definition at line 50 of file meshToMeshI.H.

◆ srcToTgtCellWght()

const Foam::scalarListList & srcToTgtCellWght ( ) const
inline

Return const access to the source to target cell weights.

Definition at line 57 of file meshToMeshI.H.

◆ tgtToSrcCellWght()

const Foam::scalarListList & tgtToSrcCellWght ( ) const
inline

Return const access to the target to source cell weights.

Definition at line 64 of file meshToMeshI.H.

◆ V()

Foam::scalar V ( ) const
inline

Return const access to the overlap volume.

Definition at line 70 of file meshToMeshI.H.

◆ interpolationMethodAMI()

◆ mapSrcToTgt() [1/18]

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

Map field from src to tgt mesh with defined operation.

Values passed in via 'result' are used to initialise the return value

Definition at line 82 of file meshToMeshTemplates.C.

References Foam::abort(), mapDistribute::distribute(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, List< T >::size(), and Foam::sum().

Referenced by interRegionModel::interpolate(), meshToMesh::mapSrcToTgt(), meshToMesh::mapTgtToSrc(), Foam::MapVolFields(), and ListPlusEqOp< T, Size >::operator()().

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

◆ mapSrcToTgt() [2/18]

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

Return the src field mapped to the tgt mesh with a defined.

operation. Initial values of the result are set to zero

◆ mapSrcToTgt() [3/18]

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

Convenience function to map a tmp field to the tgt mesh.

with a defined operation

◆ mapSrcToTgt() [4/18]

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

Convenience function to map a field to the tgt mesh with a.

default operation (plusEqOp)

◆ mapSrcToTgt() [5/18]

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

Convenience function to map a tmp field to the tgt mesh.

with a default operation (plusEqOp)

◆ mapTgtToSrc() [1/18]

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

Map field from tgt to src mesh with defined operation.

Values passed in via 'result' are used to initialise the return value

Definition at line 203 of file meshToMeshTemplates.C.

References Foam::abort(), mapDistribute::distribute(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, List< T >::size(), and Foam::sum().

Referenced by meshToMesh::mapSrcToTgt(), and meshToMesh::mapTgtToSrc().

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

◆ mapTgtToSrc() [2/18]

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

Return the tgt field mapped to the src mesh with a defined.

operation. Initial values of the result are set to zero

◆ mapTgtToSrc() [3/18]

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

Convenience function to map a tmp field to the src mesh.

with a defined operation

◆ mapTgtToSrc() [4/18]

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

Convenience function to map a field to the src mesh with a.

default operation (plusEqOp)

◆ mapTgtToSrc() [5/18]

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

Convenience function to map a tmp field to the src mesh.

with a default operation (plusEqOp)

◆ mapSrcToTgt() [6/18]

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

◆ mapSrcToTgt() [7/18]

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

Interpolate a field with a defined operation. The initial.

values of the result are set to zero

◆ mapSrcToTgt() [8/18]

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

Interpolate a tmp field with a defined operation. The.

initial values of the result are set to zero

◆ mapSrcToTgt() [9/18]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapSrcToTgt ( const GeometricField< Type, fvPatchField, volMesh > &  field) const

Convenience function to map a field with a default.

operation (plusEqOp)

◆ mapSrcToTgt() [10/18]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapSrcToTgt ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield) const

Convenience function to map a tmp field with a default.

operation (plusEqOp)

◆ mapTgtToSrc() [6/18]

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

◆ mapTgtToSrc() [7/18]

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

Interpolate a field with a defined operation. The initial.

values of the result are set to zero

◆ mapTgtToSrc() [8/18]

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

Interpolate a tmp field with a defined operation. The.

initial values of the result are set to zero

◆ mapTgtToSrc() [9/18]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapTgtToSrc ( const GeometricField< Type, fvPatchField, volMesh > &  field) const

Convenience function to map a field with a default.

operation (plusEqOp)

◆ mapTgtToSrc() [10/18]

tmp<GeometricField<Type, fvPatchField, volMesh> > mapTgtToSrc ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tfield) const

Convenience function to map a tmp field with a default.

operation (plusEqOp)

◆ operator=()

void operator= ( const meshToMesh )
delete

Disallow default bitwise assignment.

◆ mapAndOpSrcToTgt() [1/5]

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

Definition at line 58 of file meshToMesh.C.

◆ mapAndOpSrcToTgt() [2/5]

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

Definition at line 69 of file meshToMesh.C.

◆ mapAndOpSrcToTgt() [3/5]

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

Definition at line 80 of file meshToMesh.C.

◆ mapAndOpSrcToTgt() [4/5]

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

Definition at line 91 of file meshToMesh.C.

◆ mapAndOpSrcToTgt() [5/5]

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

Definition at line 102 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [1/5]

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

Definition at line 113 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [2/5]

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

Definition at line 124 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [3/5]

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

Definition at line 135 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [4/5]

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

Definition at line 146 of file meshToMesh.C.

◆ mapAndOpTgtToSrc() [5/5]

◆ mapSrcToTgt() [11/18]

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

Definition at line 150 of file meshToMeshTemplates.C.

References meshToMesh::mapSrcToTgt(), tmp< T >::ref(), and Foam::Zero.

Here is the call graph for this function:

◆ mapSrcToTgt() [12/18]

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

Definition at line 172 of file meshToMeshTemplates.C.

References meshToMesh::mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [13/18]

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

Definition at line 183 of file meshToMeshTemplates.C.

References meshToMesh::mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [14/18]

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

Definition at line 193 of file meshToMeshTemplates.C.

References meshToMesh::mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [11/18]

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

Definition at line 269 of file meshToMeshTemplates.C.

References meshToMesh::mapTgtToSrc(), tmp< T >::ref(), and Foam::Zero.

Here is the call graph for this function:

◆ mapTgtToSrc() [12/18]

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

Definition at line 291 of file meshToMeshTemplates.C.

References meshToMesh::mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [13/18]

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

Definition at line 302 of file meshToMeshTemplates.C.

References meshToMesh::mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [14/18]

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

Definition at line 312 of file meshToMeshTemplates.C.

References AMIInterpolation::interpolateToTarget(), and meshToMesh::mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [15/18]

◆ mapSrcToTgt() [16/18]

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

Definition at line 497 of file meshToMeshTemplates.C.

References meshToMesh::mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [17/18]

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

Definition at line 509 of file meshToMeshTemplates.C.

References meshToMesh::mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [18/18]

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

Definition at line 520 of file meshToMeshTemplates.C.

References AMIInterpolation::interpolateToSource(), and meshToMesh::mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [15/18]

◆ mapTgtToSrc() [16/18]

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

Definition at line 704 of file meshToMeshTemplates.C.

References meshToMesh::mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [17/18]

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

Definition at line 716 of file meshToMeshTemplates.C.

References meshToMesh::mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [18/18]

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

Definition at line 727 of file meshToMeshTemplates.C.

Member Data Documentation

◆ interpolationMethodNames_

const NamedEnum< meshToMesh::interpolationMethod, 3 > interpolationMethodNames_
static

Definition at line 75 of file meshToMesh.H.

Referenced by NamedEnum< compressibleField, 8 >::names().


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