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 ( )
inline

Null constructor.

Definition at line 53 of file FieldMapper.H.

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

virtual label size ( ) const
pure virtual
virtual bool direct ( ) const
pure virtual
virtual bool distributed ( ) const
inlinevirtual

Reimplemented in distributedWeightedFvPatchFieldMapper.

Definition at line 68 of file FieldMapper.H.

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

Here is the caller graph for this function:

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< Type >::autoMap(), and Field< Type >::map().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool hasUnmapped ( ) const
pure virtual
virtual const labelUList& directAddressing ( ) const
inlinevirtual
virtual const labelListList& addressing ( ) const
inlinevirtual
virtual const scalarListList& weights ( ) const
inlinevirtual
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: