Loading...
Searching...
No Matches
meshToMesh Class Reference

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

#include <meshToMesh.H>

Collaboration diagram for meshToMesh:

Public Types

enum class  interpolationMethod { imDirect , imMapNearest , imCellVolumeWeight , imCorrectedCellVolumeWeight }
 Enumeration specifying interpolation method. More...
enum class  procMapMethod { pmAABB , pmLOD }
 Enumeration specifying processor parallel map construction method. More...

Public Member Functions

 TypeName ("meshToMesh")
 Run-time type information.
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const interpolationMethod method, const procMapMethod mapMethod=procMapMethod::pmAABB, const bool interpAllPatches=true)
 Construct from source and target meshes.
 meshToMesh (const polyMesh &src, const polyMesh &tgt, const word &methodName, const word &AMIMethodName, const procMapMethod mapMethod=procMapMethod::pmAABB, const bool interpAllPatches=true)
 Construct from source and target meshes, generic mapping methods.
 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)
 Construct from source and target meshes.
 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)
 Construct from source and target meshes, generic mapping methods.
virtual ~meshToMesh ()
 Destructor.
const polyMeshsrcRegion () const
 Return const access to the source mesh.
const polyMeshtgtRegion () const
 Return const access to the target mesh.
const labelListListsrcToTgtCellAddr () const
 Return const access to the source to target cell addressing.
const labelListListtgtToSrcCellAddr () const
 Return const access to the target to source cell addressing.
const scalarListListsrcToTgtCellWght () const
 Return const access to the source to target cell weights.
const scalarListListtgtToSrcCellWght () const
 Return const access to the target to source cell weights.
const pointListListsrcToTgtCellVec () const
 Return const access to the source to target offset vectors.
const pointListListtgtToSrcCellVec () const
 Return const access to the target to source offset vectors.
scalar V () const
 Return const access to the overlap volume.
const PtrList< AMIPatchToPatchInterpolation > & patchAMIs () const
 Return the list of AMIs between source and target patches.
bool distributed () const noexcept
 Distributed across processors (singleMeshProc == -1).
const mapDistributehasSrcMap () const noexcept
 Pointer to the source map (if distributed). Can be checked as a bool.
const mapDistributehasTgtMap () const noexcept
 Pointer to the target map (if distributed). Can be checked as a bool.
const autoPtr< mapDistribute > & srcMap () const noexcept
 Source map pointer - valid if no singleMeshProc.
const autoPtr< mapDistribute > & tgtMap () const noexcept
 Target map pointer - valid if no singleMeshProc.
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.
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
 Map extrapolated field (using gradient) from src to tgt.
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.
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.
template<class Type>
tmp< Field< Type > > mapSrcToTgt (const Field< Type > &srcFld) const
 Convenience function to map a field to the tgt mesh with a.
template<class Type>
tmp< Field< Type > > mapSrcToTgt (const tmp< Field< Type > > &tsrcFld) const
 Convenience function to map a tmp field to the tgt mesh.
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.
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
 Map extrapolated field (using gradient) from tgt to src.
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.
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.
template<class Type>
tmp< Field< Type > > mapTgtToSrc (const Field< Type > &tgtFld) const
 Convenience function to map a field to the src mesh with a.
template<class Type>
tmp< Field< Type > > mapTgtToSrc (const tmp< Field< Type > > &ttgtFld) const
 Convenience function to map a tmp field to the src mesh.
template<class Type, class CombineOp>
void mapSrcToTgt (const VolumeField< Type > &field, const CombineOp &cop, VolumeField< Type > &result, const bool secondOrder=true) const
 Interpolate a field with a defined operation. Values.
template<class Type, class CombineOp>
tmp< VolumeField< Type > > mapSrcToTgt (const VolumeField< Type > &field, const CombineOp &cop, const bool secondOrder=true) const
 Interpolate a field with a defined operation. The initial.
template<class Type, class CombineOp>
tmp< VolumeField< Type > > mapSrcToTgt (const tmp< VolumeField< Type > > &tfield, const CombineOp &cop, const bool secondOrder=true) const
 Interpolate a tmp field with a defined operation. The.
template<class Type>
tmp< VolumeField< Type > > mapSrcToTgt (const VolumeField< Type > &field, const bool secondOrder=true) const
 Convenience function to map a field with a default.
template<class Type>
tmp< VolumeField< Type > > mapSrcToTgt (const tmp< VolumeField< Type > > &tfield, const bool secondOrder=true) const
 Convenience function to map a tmp field with a default.
template<class Type, class CombineOp>
void mapTgtToSrc (const VolumeField< Type > &field, const CombineOp &cop, VolumeField< Type > &result, const bool secondOrder=true) const
 Interpolate a field with a defined operation. Values.
template<class Type, class CombineOp>
tmp< VolumeField< Type > > mapTgtToSrc (const VolumeField< Type > &field, const CombineOp &cop, const bool secondOrder=true) const
 Interpolate a field with a defined operation. The initial.
template<class Type, class CombineOp>
tmp< VolumeField< Type > > mapTgtToSrc (const tmp< VolumeField< Type > > &tfield, const CombineOp &cop, const bool secondOrder=true) const
 Interpolate a tmp field with a defined operation. The.
template<class Type>
tmp< VolumeField< Type > > mapTgtToSrc (const VolumeField< Type > &field, const bool secondOrder=true) const
 Convenience function to map a field with a default.
template<class Type>
tmp< VolumeField< Type > > mapTgtToSrc (const tmp< VolumeField< Type > > &tfield, const bool secondOrder=true) const
 Convenience function to map a tmp field with a default.
template<>
void mapInternalSrcToTgt (const VolumeField< sphericalTensor > &field, const plusEqOp< sphericalTensor > &cop, VolumeField< sphericalTensor > &result, const bool secondOrder) const
template<>
void mapInternalSrcToTgt (const VolumeField< sphericalTensor > &field, const minusEqOp< sphericalTensor > &cop, VolumeField< sphericalTensor > &result, const bool secondOrder) const
template<>
void mapInternalSrcToTgt (const VolumeField< symmTensor > &field, const plusEqOp< symmTensor > &cop, VolumeField< symmTensor > &result, const bool secondOrder) const
template<>
void mapInternalSrcToTgt (const VolumeField< symmTensor > &field, const minusEqOp< symmTensor > &cop, VolumeField< symmTensor > &result, const bool secondOrder) const
template<>
void mapInternalSrcToTgt (const VolumeField< tensor > &field, const plusEqOp< tensor > &cop, VolumeField< tensor > &result, const bool secondOrder) const
template<>
void mapInternalSrcToTgt (const VolumeField< tensor > &field, const minusEqOp< tensor > &cop, VolumeField< tensor > &result, const bool secondOrder) const
template<>
void mapInternalTgtToSrc (const VolumeField< sphericalTensor > &field, const plusEqOp< sphericalTensor > &cop, VolumeField< sphericalTensor > &result, const bool secondOrder) const
template<>
void mapInternalTgtToSrc (const VolumeField< sphericalTensor > &field, const minusEqOp< sphericalTensor > &cop, VolumeField< sphericalTensor > &result, const bool secondOrder) const
template<>
void mapInternalTgtToSrc (const VolumeField< symmTensor > &field, const plusEqOp< symmTensor > &cop, VolumeField< symmTensor > &result, const bool secondOrder) const
template<>
void mapInternalTgtToSrc (const VolumeField< symmTensor > &field, const minusEqOp< symmTensor > &cop, VolumeField< symmTensor > &result, const bool secondOrder) const
template<>
void mapInternalTgtToSrc (const VolumeField< tensor > &field, const plusEqOp< tensor > &cop, VolumeField< tensor > &result, const bool secondOrder) const
template<>
void mapInternalTgtToSrc (const VolumeField< tensor > &field, const minusEqOp< tensor > &cop, VolumeField< tensor > &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<>
void mapInternalSrcToTgt (const VolumeField< sphericalTensor > &, const plusEqOp< sphericalTensor > &, VolumeField< sphericalTensor > &, const bool) const
template<>
void mapInternalSrcToTgt (const VolumeField< sphericalTensor > &, const minusEqOp< sphericalTensor > &, VolumeField< sphericalTensor > &, const bool) const
template<>
void mapInternalSrcToTgt (const VolumeField< symmTensor > &, const plusEqOp< symmTensor > &, VolumeField< symmTensor > &, const bool) const
template<>
void mapInternalSrcToTgt (const VolumeField< symmTensor > &, const minusEqOp< symmTensor > &, VolumeField< symmTensor > &, const bool) const
template<>
void mapInternalSrcToTgt (const VolumeField< tensor > &, const plusEqOp< tensor > &, VolumeField< tensor > &, const bool) const
template<>
void mapInternalSrcToTgt (const VolumeField< tensor > &, const minusEqOp< tensor > &, VolumeField< tensor > &, const bool) const
template<>
void mapInternalTgtToSrc (const VolumeField< sphericalTensor > &, const plusEqOp< sphericalTensor > &, VolumeField< sphericalTensor > &, const bool) const
template<>
void mapInternalTgtToSrc (const VolumeField< sphericalTensor > &, const minusEqOp< sphericalTensor > &, VolumeField< sphericalTensor > &, const bool) const
template<>
void mapInternalTgtToSrc (const VolumeField< symmTensor > &, const plusEqOp< symmTensor > &, VolumeField< symmTensor > &, const bool) const
template<>
void mapInternalTgtToSrc (const VolumeField< symmTensor > &, const minusEqOp< symmTensor > &, VolumeField< symmTensor > &, const bool) const
template<>
void mapInternalTgtToSrc (const VolumeField< tensor > &, const plusEqOp< tensor > &, VolumeField< tensor > &, const bool) const
template<>
void mapInternalTgtToSrc (const VolumeField< tensor > &, const minusEqOp< tensor > &, VolumeField< tensor > &, const bool) 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::VolumeField< Type > > mapSrcToTgt (const VolumeField< Type > &field, const CombineOp &cop, const bool secondOrder) const
template<class Type, class CombineOp>
Foam::tmp< Foam::VolumeField< Type > > mapSrcToTgt (const tmp< VolumeField< Type > > &tfield, const CombineOp &cop, const bool secondOrder) const
template<class Type>
Foam::tmp< Foam::VolumeField< Type > > mapSrcToTgt (const VolumeField< Type > &field, const bool secondOrder) const
template<class Type>
Foam::tmp< Foam::VolumeField< Type > > mapSrcToTgt (const tmp< VolumeField< Type > > &tfield, const bool secondOrder) const
template<class Type, class CombineOp>
Foam::tmp< Foam::VolumeField< Type > > mapTgtToSrc (const VolumeField< Type > &field, const CombineOp &cop, const bool secondOrder) const
template<class Type, class CombineOp>
Foam::tmp< Foam::VolumeField< Type > > mapTgtToSrc (const tmp< VolumeField< Type > > &tfield, const CombineOp &cop, const bool secondOrder) const
template<class Type>
Foam::tmp< Foam::VolumeField< Type > > mapTgtToSrc (const VolumeField< Type > &field, const bool secondOrder) const
template<class Type>
Foam::tmp< Foam::VolumeField< Type > > mapTgtToSrc (const tmp< VolumeField< Type > > &tfield, const bool secondOrder) const

Static Public Member Functions

static word interpolationMethodAMI (const interpolationMethod method)
 Conversion between mesh and patch interpolation methods.

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 class interpolationMethod
strong

Enumeration specifying interpolation method.

Enumerator
imDirect 
imMapNearest 
imCellVolumeWeight 
imCorrectedCellVolumeWeight 

Definition at line 69 of file meshToMesh.H.

◆ procMapMethod

enum class procMapMethod
strong

Enumeration specifying processor parallel map construction method.

Enumerator
pmAABB 
pmLOD 

Definition at line 82 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 )

Construct from source and target meshes.

Definition at line 838 of file meshToMesh.C.

References interpolationMethodAMI(), and interpolationMethodNames_.

Here is the call graph for this function:

◆ 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 )

Construct from source and target meshes, generic mapping methods.

Definition at line 874 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 )

Construct from source and target meshes.

Definition at line 906 of file meshToMesh.C.

References interpolationMethodAMI(), and interpolationMethodNames_.

Here is the call graph for this function:

◆ 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 )

Construct from source and target meshes, generic mapping methods.

Definition at line 944 of file meshToMesh.C.

◆ ~meshToMesh()

~meshToMesh ( )
virtual

Destructor.

Definition at line 985 of file meshToMesh.C.

Member Function Documentation

◆ TypeName()

TypeName ( "meshToMesh" )

Run-time type information.

References hasSrcMap(), hasTgtMap(), mapSrcToTgt(), Foam::noexcept, pmAABB, srcMap(), and tgtMap().

Here is the call graph for this function:

◆ srcRegion()

const Foam::polyMesh & srcRegion ( ) const
inline

Return const access to the source mesh.

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

Return const access to the target mesh.

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

Return const access to the source to target cell addressing.

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

Return const access to the target to source cell addressing.

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

Return const access to the source to target cell weights.

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

Return const access to the target to source cell weights.

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

Return const access to the source to target offset vectors.

Definition at line 62 of file meshToMeshI.H.

◆ tgtToSrcCellVec()

const Foam::pointListList & tgtToSrcCellVec ( ) const
inline

Return const access to the target to source offset vectors.

Definition at line 68 of file meshToMeshI.H.

◆ V()

Foam::scalar V ( ) const
inline

Return const access to the overlap volume.

Definition at line 74 of file meshToMeshI.H.

◆ interpolationMethodAMI()

Foam::word interpolationMethodAMI ( const interpolationMethod method)
static

Conversion between mesh and patch interpolation methods.

Definition at line 638 of file meshToMesh.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, imCellVolumeWeight, imCorrectedCellVolumeWeight, imDirect, imMapNearest, and interpolationMethodNames_.

Referenced by meshToMesh(), meshToMesh(), and MapFieldConstraint< Type >::read().

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

◆ patchAMIs()

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

Return the list of AMIs between source and target patches.

Definition at line 115 of file meshToMeshI.H.

Referenced by mapSrcToTgt(), and mapTgtToSrc().

Here is the caller graph for this function:

◆ distributed()

bool distributed ( ) const
inlinenoexcept

Distributed across processors (singleMeshProc == -1).

Definition at line 80 of file meshToMeshI.H.

References Foam::noexcept.

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

Here is the caller graph for this function:

◆ hasSrcMap()

const Foam::mapDistribute * hasSrcMap ( ) const
inlinenoexcept

Pointer to the source map (if distributed). Can be checked as a bool.

Definition at line 87 of file meshToMeshI.H.

References Foam::noexcept.

Referenced by mapSrcToTgt(), and TypeName().

Here is the caller graph for this function:

◆ hasTgtMap()

const Foam::mapDistribute * hasTgtMap ( ) const
inlinenoexcept

Pointer to the target map (if distributed). Can be checked as a bool.

Definition at line 94 of file meshToMeshI.H.

References Foam::noexcept.

Referenced by mapTgtToSrc(), and TypeName().

Here is the caller graph for this function:

◆ srcMap()

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

Source map pointer - valid if no singleMeshProc.

Definition at line 101 of file meshToMeshI.H.

References Foam::noexcept.

Referenced by TypeName(), and cellVolumeWeight::update().

Here is the caller graph for this function:

◆ tgtMap()

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

Target map pointer - valid if no singleMeshProc.

Definition at line 108 of file meshToMeshI.H.

References Foam::noexcept.

Referenced by TypeName(), and cellVolumeWeight::update().

Here is the caller graph for this function:

◆ mapSrcToTgt() [1/19]

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

◆ mapSrcToTgt() [2/19]

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

Map extrapolated field (using gradient) from src to tgt.

mesh with defined operation. Falls back to non-extrapolated mapping (above) if not constructed with method that supports getting offset vectors. Extrapolation only for internal values. Values passed in via 'result' are used to initialise the return value.

Definition at line 114 of file meshToMeshTemplates.C.

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

Here is the call graph for this function:

◆ mapSrcToTgt() [3/19]

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.

operation. Initial values of the result are set to zero

References mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [4/19]

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.

with a defined operation

References mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [5/19]

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

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

default operation (plusEqOp)

References mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [6/19]

template<class Type>
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)

References mapSrcToTgt(), and mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [1/19]

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

◆ mapTgtToSrc() [2/19]

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

Map extrapolated field (using gradient) from tgt to src.

mesh with defined operation. Falls back to non-extrapolated mapping (above) if not constructed with method that supports getting offset vectors. Extrapolation only for internal values. Values passed in via 'result' are used to initialise the return value

Definition at line 320 of file meshToMeshTemplates.C.

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

Here is the call graph for this function:

◆ mapTgtToSrc() [3/19]

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.

operation. Initial values of the result are set to zero

References mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [4/19]

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.

with a defined operation

References mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [5/19]

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

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

default operation (plusEqOp)

References mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [6/19]

template<class Type>
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)

References field(), mapSrcToTgt(), and mapTgtToSrc().

Here is the call graph for this function:

◆ mapSrcToTgt() [7/19]

template<class Type, class CombineOp>
void mapSrcToTgt ( const VolumeField< Type > & field,
const CombineOp & cop,
VolumeField< Type > & result,
const bool secondOrder = true ) const

Interpolate a field with a defined operation. Values.

passed in via 'result' are used to initialise the return value. Optionally uses gradient correction (internal field only) if interpolationMethod supports it

Definition at line 499 of file meshToMeshTemplates.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), field(), forAll, hasSrcMap(), Foam::identity(), fvPatchField< Type >::New(), fvPatchFieldBase::patch(), patchAMIs(), fvPatchField< Type >::patchInternalField(), fvPatchField< Type >::rmap(), and UList< T >::size().

Here is the call graph for this function:

◆ mapSrcToTgt() [8/19]

template<class Type, class CombineOp>
tmp< VolumeField< Type > > mapSrcToTgt ( const VolumeField< Type > & field,
const CombineOp & cop,
const bool secondOrder = true ) const

Interpolate a field with a defined operation. The initial.

values of the result are set to zero

References field(), and mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [9/19]

template<class Type, class CombineOp>
tmp< VolumeField< Type > > mapSrcToTgt ( const tmp< VolumeField< Type > > & tfield,
const CombineOp & cop,
const bool secondOrder = true ) const

Interpolate a tmp field with a defined operation. The.

initial values of the result are set to zero

References mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [10/19]

template<class Type>
tmp< VolumeField< Type > > mapSrcToTgt ( const VolumeField< Type > & field,
const bool secondOrder = true ) const

Convenience function to map a field with a default.

operation (plusEqOp)

References field(), and mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [11/19]

template<class Type>
tmp< VolumeField< Type > > mapSrcToTgt ( const tmp< VolumeField< Type > > & tfield,
const bool secondOrder = true ) const

Convenience function to map a tmp field with a default.

operation (plusEqOp)

References field(), mapSrcToTgt(), and mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [7/19]

template<class Type, class CombineOp>
void mapTgtToSrc ( const VolumeField< Type > & field,
const CombineOp & cop,
VolumeField< Type > & result,
const bool secondOrder = true ) const

Interpolate a field with a defined operation. Values.

passed in via 'result' are used to initialise the return value. Optionally uses gradient correction (internal field only) if interpolationMethod supports it

Definition at line 729 of file meshToMeshTemplates.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), field(), forAll, hasTgtMap(), Foam::identity(), fvPatchField< Type >::New(), fvPatchFieldBase::patch(), patchAMIs(), fvPatchField< Type >::patchInternalField(), fvPatchField< Type >::rmap(), and UList< T >::size().

Here is the call graph for this function:

◆ mapTgtToSrc() [8/19]

template<class Type, class CombineOp>
tmp< VolumeField< Type > > mapTgtToSrc ( const VolumeField< Type > & field,
const CombineOp & cop,
const bool secondOrder = true ) const

Interpolate a field with a defined operation. The initial.

values of the result are set to zero

References field(), and mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [9/19]

template<class Type, class CombineOp>
tmp< VolumeField< Type > > mapTgtToSrc ( const tmp< VolumeField< Type > > & tfield,
const CombineOp & cop,
const bool secondOrder = true ) const

Interpolate a tmp field with a defined operation. The.

initial values of the result are set to zero

References mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [10/19]

template<class Type>
tmp< VolumeField< Type > > mapTgtToSrc ( const VolumeField< Type > & field,
const bool secondOrder = true ) const

Convenience function to map a field with a default.

operation (plusEqOp)

References field(), and mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [11/19]

template<class Type>
tmp< VolumeField< Type > > mapTgtToSrc ( const tmp< VolumeField< Type > > & tfield,
const bool secondOrder = true ) const

Convenience function to map a tmp field with a default.

operation (plusEqOp)

References mapTgtToSrc().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [1/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< sphericalTensor > & field,
const plusEqOp< sphericalTensor > & cop,
VolumeField< sphericalTensor > & result,
const bool secondOrder ) const

Definition at line 68 of file meshToMesh.C.

References field(), mapSrcToTgt(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [2/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< sphericalTensor > & field,
const minusEqOp< sphericalTensor > & cop,
VolumeField< sphericalTensor > & result,
const bool secondOrder ) const

Definition at line 81 of file meshToMesh.C.

References field(), mapSrcToTgt(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [3/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< symmTensor > & field,
const plusEqOp< symmTensor > & cop,
VolumeField< symmTensor > & result,
const bool secondOrder ) const

Definition at line 94 of file meshToMesh.C.

References field(), mapSrcToTgt(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [4/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< symmTensor > & field,
const minusEqOp< symmTensor > & cop,
VolumeField< symmTensor > & result,
const bool secondOrder ) const

Definition at line 107 of file meshToMesh.C.

References field(), mapSrcToTgt(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [5/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< tensor > & field,
const plusEqOp< tensor > & cop,
VolumeField< tensor > & result,
const bool secondOrder ) const

Definition at line 120 of file meshToMesh.C.

References field(), mapSrcToTgt(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalSrcToTgt() [6/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< tensor > & field,
const minusEqOp< tensor > & cop,
VolumeField< tensor > & result,
const bool secondOrder ) const

Definition at line 133 of file meshToMesh.C.

References field(), mapSrcToTgt(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [1/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< sphericalTensor > & field,
const plusEqOp< sphericalTensor > & cop,
VolumeField< sphericalTensor > & result,
const bool secondOrder ) const

Definition at line 146 of file meshToMesh.C.

References field(), mapTgtToSrc(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [2/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< sphericalTensor > & field,
const minusEqOp< sphericalTensor > & cop,
VolumeField< sphericalTensor > & result,
const bool secondOrder ) const

Definition at line 159 of file meshToMesh.C.

References field(), mapTgtToSrc(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [3/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< symmTensor > & field,
const plusEqOp< symmTensor > & cop,
VolumeField< symmTensor > & result,
const bool secondOrder ) const

Definition at line 172 of file meshToMesh.C.

References field(), mapTgtToSrc(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [4/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< symmTensor > & field,
const minusEqOp< symmTensor > & cop,
VolumeField< symmTensor > & result,
const bool secondOrder ) const

Definition at line 185 of file meshToMesh.C.

References field(), mapTgtToSrc(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [5/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< tensor > & field,
const plusEqOp< tensor > & cop,
VolumeField< tensor > & result,
const bool secondOrder ) const

Definition at line 198 of file meshToMesh.C.

References field(), mapTgtToSrc(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapInternalTgtToSrc() [6/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< tensor > & field,
const minusEqOp< tensor > & cop,
VolumeField< tensor > & result,
const bool secondOrder ) const

Definition at line 211 of file meshToMesh.C.

References field(), mapTgtToSrc(), and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function:

◆ mapAndOpSrcToTgt() [1/10]

template<>
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/10]

template<>
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/10]

template<>
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/10]

template<>
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/10]

template<>
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/10]

template<>
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/10]

template<>
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/10]

template<>
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/10]

template<>
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/10]

template<>
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.

◆ mapInternalSrcToTgt() [7/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< sphericalTensor > & ,
const plusEqOp< sphericalTensor > & ,
VolumeField< sphericalTensor > & ,
const bool  ) const

◆ mapInternalSrcToTgt() [8/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< sphericalTensor > & ,
const minusEqOp< sphericalTensor > & ,
VolumeField< sphericalTensor > & ,
const bool  ) const

◆ mapInternalSrcToTgt() [9/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< symmTensor > & ,
const plusEqOp< symmTensor > & ,
VolumeField< symmTensor > & ,
const bool  ) const

◆ mapInternalSrcToTgt() [10/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< symmTensor > & ,
const minusEqOp< symmTensor > & ,
VolumeField< symmTensor > & ,
const bool  ) const

◆ mapInternalSrcToTgt() [11/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< tensor > & ,
const plusEqOp< tensor > & ,
VolumeField< tensor > & ,
const bool  ) const

◆ mapInternalSrcToTgt() [12/12]

template<>
void mapInternalSrcToTgt ( const VolumeField< tensor > & ,
const minusEqOp< tensor > & ,
VolumeField< tensor > & ,
const bool  ) const

◆ mapInternalTgtToSrc() [7/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< sphericalTensor > & ,
const plusEqOp< sphericalTensor > & ,
VolumeField< sphericalTensor > & ,
const bool  ) const

◆ mapInternalTgtToSrc() [8/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< sphericalTensor > & ,
const minusEqOp< sphericalTensor > & ,
VolumeField< sphericalTensor > & ,
const bool  ) const

◆ mapInternalTgtToSrc() [9/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< symmTensor > & ,
const plusEqOp< symmTensor > & ,
VolumeField< symmTensor > & ,
const bool  ) const

◆ mapInternalTgtToSrc() [10/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< symmTensor > & ,
const minusEqOp< symmTensor > & ,
VolumeField< symmTensor > & ,
const bool  ) const

◆ mapInternalTgtToSrc() [11/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< tensor > & ,
const plusEqOp< tensor > & ,
VolumeField< tensor > & ,
const bool  ) const

◆ mapInternalTgtToSrc() [12/12]

template<>
void mapInternalTgtToSrc ( const VolumeField< tensor > & ,
const minusEqOp< tensor > & ,
VolumeField< tensor > & ,
const bool  ) const

◆ mapAndOpSrcToTgt() [6/10]

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

◆ mapAndOpSrcToTgt() [7/10]

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

◆ mapAndOpSrcToTgt() [8/10]

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

◆ mapAndOpSrcToTgt() [9/10]

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

◆ mapAndOpSrcToTgt() [10/10]

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

◆ mapAndOpTgtToSrc() [6/10]

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

◆ mapAndOpTgtToSrc() [7/10]

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

◆ mapAndOpTgtToSrc() [8/10]

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

◆ mapAndOpTgtToSrc() [9/10]

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

◆ mapAndOpTgtToSrc() [10/10]

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

◆ mapSrcToTgt() [12/19]

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

Definition at line 208 of file meshToMeshTemplates.C.

References mapSrcToTgt(), Foam::New(), and Foam::Zero.

Here is the call graph for this function:

◆ mapSrcToTgt() [13/19]

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

Definition at line 223 of file meshToMeshTemplates.C.

References mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [14/19]

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

Definition at line 234 of file meshToMeshTemplates.C.

References mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [15/19]

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

Definition at line 244 of file meshToMeshTemplates.C.

References mapSrcToTgt().

Here is the call graph for this function:

◆ mapTgtToSrc() [12/19]

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

Definition at line 406 of file meshToMeshTemplates.C.

References mapTgtToSrc(), Foam::New(), and Foam::Zero.

Here is the call graph for this function:

◆ mapTgtToSrc() [13/19]

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

Definition at line 421 of file meshToMeshTemplates.C.

References mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [14/19]

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

Definition at line 432 of file meshToMeshTemplates.C.

References mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [15/19]

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

Definition at line 442 of file meshToMeshTemplates.C.

References mapTgtToSrc().

Here is the call graph for this function:

◆ mapSrcToTgt() [16/19]

template<class Type, class CombineOp>
Foam::tmp< Foam::VolumeField< Type > > mapSrcToTgt ( const VolumeField< Type > & field,
const CombineOp & cop,
const bool secondOrder ) const

◆ mapSrcToTgt() [17/19]

template<class Type, class CombineOp>
Foam::tmp< Foam::VolumeField< Type > > mapSrcToTgt ( const tmp< VolumeField< Type > > & tfield,
const CombineOp & cop,
const bool secondOrder ) const

Definition at line 646 of file meshToMeshTemplates.C.

References mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [18/19]

template<class Type>
Foam::tmp< Foam::VolumeField< Type > > mapSrcToTgt ( const VolumeField< Type > & field,
const bool secondOrder ) const

Definition at line 659 of file meshToMeshTemplates.C.

References field(), and mapSrcToTgt().

Here is the call graph for this function:

◆ mapSrcToTgt() [19/19]

template<class Type>
Foam::tmp< Foam::VolumeField< Type > > mapSrcToTgt ( const tmp< VolumeField< Type > > & tfield,
const bool secondOrder ) const

Definition at line 671 of file meshToMeshTemplates.C.

References mapSrcToTgt().

Here is the call graph for this function:

◆ mapTgtToSrc() [16/19]

template<class Type, class CombineOp>
Foam::tmp< Foam::VolumeField< Type > > mapTgtToSrc ( const VolumeField< Type > & field,
const CombineOp & cop,
const bool secondOrder ) const

◆ mapTgtToSrc() [17/19]

template<class Type, class CombineOp>
Foam::tmp< Foam::VolumeField< Type > > mapTgtToSrc ( const tmp< VolumeField< Type > > & tfield,
const CombineOp & cop,
const bool secondOrder ) const

Definition at line 873 of file meshToMeshTemplates.C.

References mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [18/19]

template<class Type>
Foam::tmp< Foam::VolumeField< Type > > mapTgtToSrc ( const VolumeField< Type > & field,
const bool secondOrder ) const

Definition at line 886 of file meshToMeshTemplates.C.

References field(), and mapTgtToSrc().

Here is the call graph for this function:

◆ mapTgtToSrc() [19/19]

template<class Type>
Foam::tmp< Foam::VolumeField< Type > > mapTgtToSrc ( const tmp< VolumeField< Type > > & tfield,
const bool secondOrder ) const

Definition at line 898 of file meshToMeshTemplates.C.

References mapTgtToSrc().

Here is the call graph for this function:

Member Data Documentation

◆ interpolationMethodNames_

◆ procMapMethodNames_

const Foam::Enum< Foam::meshToMesh::procMapMethod > procMapMethodNames_
static
Initial value:

Definition at line 58 of file meshToMesh.H.

Referenced by interRegionOption::setMapper().


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