Loading...
Searching...
No Matches
FieldMapper Class Referenceabstract

Abstract base class to hold the Field mapping addressing and weights. More...

#include <FieldMapper.H>

Inheritance diagram for FieldMapper:

Public Member Functions

 FieldMapper ()=default
 Default construct.
virtual ~FieldMapper ()=default
 Destructor.
virtual label size () const =0
 The size of the mapper.
virtual bool direct () const =0
 Is it a direct (non-interpolating) mapper?
virtual bool distributed () const
 Does the mapper have remote contributions?
virtual bool hasUnmapped () const =0
 Any unmapped values?
virtual const labelUListdirectAddressing () const
 Return the direct addressing values.
virtual const mapDistributeBasedistributeMap () const
 Return the distribution map.
virtual const labelListListaddressing () const
 Return the interpolation addressing.
virtual const scalarListListweights () const
 Return the interpolation weights.
template<class Type>
tmp< Field< Type > > operator() (const Field< Type > &fld) const
 Perform mapping on the given field.

Detailed Description

Abstract base class to hold the Field mapping addressing and weights.

Definition at line 43 of file FieldMapper.H.

Constructor & Destructor Documentation

◆ FieldMapper()

FieldMapper ( )
default

Default construct.

◆ ~FieldMapper()

virtual ~FieldMapper ( )
virtualdefault

Destructor.

Member Function Documentation

◆ size()

◆ direct()

virtual bool direct ( ) const
pure virtual

◆ distributed()

virtual bool distributed ( ) const
inlinevirtual

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
pure virtual

Any unmapped values?

I.e. do all size() elements get value

Implemented in cellMapper, DirectFieldMapper< faPatchFieldMapper >, DirectFieldMapper< FieldMapper >, DirectFieldMapper< fvPatchFieldMapper >, DirectFieldMapper< pointPatchFieldMapper >, distributedWeightedFvPatchFieldMapper, faAreaMapper, faceMapper, faEdgeMapper, faFieldDecomposer::patchFieldDecomposer, faFieldDecomposer::processorAreaPatchFieldDecomposer, faFieldDecomposer::processorEdgePatchFieldDecomposer, faFieldReconstructor::faPatchFieldReconstructor, faPatchMapper, fvFieldDecomposer::patchFieldDecomposer, fvFieldDecomposer::processorSurfacePatchFieldDecomposer, fvFieldDecomposer::processorVolPatchFieldDecomposer, fvFieldReconstructor::fvPatchFieldReconstructor, fvPatchMapper, fvSurfaceMapper, meshToMesh0::patchFieldInterpolator, pointFieldDecomposer::patchFieldDecomposer, pointFieldReconstructor::pointPatchFieldReconstructor, pointMapper, pointPatchMapper, and singleCellFvMesh::agglomPatchFieldMapper.

Referenced by fvPatchField< Type >::autoMap(), directionMixedFvPatchField< Type >::directionMixedFvPatchField(), fixedGradientFvPatchField< Type >::fixedGradientFvPatchField(), fixedValueFvPatchField< Type >::fixedValueFvPatchField(), fvPatchField< Type >::fvPatchField(), mixedFvPatchField< Type >::mixedFvPatchField(), outletMappedUniformInletFvPatchField< Type >::outletMappedUniformInletFvPatchField(), uniformFixedValueFaPatchField< Type >::uniformFixedValueFaPatchField(), uniformFixedValueFvPatchField< Type >::uniformFixedValueFvPatchField(), uniformFixedValuePointPatchField< Type >::uniformFixedValuePointPatchField(), and uniformNormalFixedValueFvPatchVectorField::uniformNormalFixedValueFvPatchVectorField().

Here is the caller graph for this function:

◆ directAddressing()

◆ distributeMap()

virtual const mapDistributeBase & distributeMap ( ) const
inlinevirtual

◆ addressing()

◆ weights()

virtual const scalarListList & weights ( ) const
inlinevirtual

◆ operator()()

template<class Type>
tmp< Field< Type > > operator() ( const Field< Type > & fld) const
inline

Perform mapping on the given field.

Definition at line 143 of file FieldMapper.H.

References fld(), and Foam::New().

Here is the call graph for this function:

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