Public Member Functions | List of all members
FieldMapper Class Referenceabstract

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

Inheritance diagram for FieldMapper:
Inheritance graph
[legend]

Public Member Functions

 FieldMapper ()
 Null constructor. More...
 
virtual ~FieldMapper ()
 Destructor. More...
 
virtual label size () const =0
 
virtual bool direct () const =0
 
virtual bool distributed () const
 
virtual const mapDistributeBasedistributeMap () const
 
virtual bool hasUnmapped () const =0
 Are there unmapped values? I.e. do all size() elements get. More...
 
virtual const labelUListdirectAddressing () const
 
virtual const labelListListaddressing () const
 
virtual const scalarListListweights () const
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const
 

Detailed Description

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

Definition at line 45 of file FieldMapper.H.

Constructor & Destructor Documentation

◆ FieldMapper()

FieldMapper ( )
inline

Null constructor.

Definition at line 53 of file FieldMapper.H.

◆ ~FieldMapper()

virtual ~FieldMapper ( )
inlinevirtual

Destructor.

Definition at line 58 of file FieldMapper.H.

References FieldMapper::direct(), and FieldMapper::size().

Here is the call graph for this function:

Member Function Documentation

◆ size()

virtual label size ( ) const
pure virtual

◆ direct()

virtual bool direct ( ) const
pure virtual

◆ distributed()

virtual bool distributed ( ) const
inlinevirtual

Reimplemented in distributedWeightedFvPatchFieldMapper.

Definition at line 68 of file FieldMapper.H.

Referenced by Field< Foam::Vector2D >::autoMap(), fvPatchField< Type >::autoMap(), and Field< Foam::Vector2D >::map().

Here is the caller graph for this function:

◆ distributeMap()

virtual const mapDistributeBase& distributeMap ( ) const
inlinevirtual

Reimplemented in distributedWeightedFvPatchFieldMapper.

Definition at line 73 of file FieldMapper.H.

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

Referenced by Field< Foam::Vector2D >::autoMap(), and Field< Foam::Vector2D >::map().

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

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
pure virtual

◆ directAddressing()

virtual const labelUList& directAddressing ( ) const
inlinevirtual

◆ addressing()

virtual const labelListList& addressing ( ) const
inlinevirtual

◆ weights()

virtual const scalarListList& weights ( ) const
inlinevirtual

◆ operator()()

tmp<Field<Type> > operator() ( const Field< Type > &  f) const
inline

Definition at line 116 of file FieldMapper.H.

References f().

Here is the call graph for this function:

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