directFieldMapper Class Reference

FieldMapper with direct mapping. More...

Inheritance diagram for directFieldMapper:
[legend]
Collaboration diagram for directFieldMapper:
[legend]

Public Member Functions

 directFieldMapper (const labelUList &directAddressing)
 Construct given addressing. More...
 
virtual ~directFieldMapper ()=default
 Destructor. More...
 
label size () const
 
bool direct () const
 
bool hasUnmapped () const
 Are there unmapped values? I.e. do all size() elements get. More...
 
const labelUListdirectAddressing () const
 
- Public Member Functions inherited from FieldMapper
 FieldMapper ()
 Null constructor. More...
 
virtual ~FieldMapper ()=default
 Destructor. More...
 
virtual bool distributed () const
 
virtual const mapDistributeBasedistributeMap () const
 
virtual const labelListListaddressing () const
 
virtual const scalarListListweights () const
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const
 

Detailed Description

FieldMapper with direct mapping.

Definition at line 46 of file directFieldMapper.H.

Constructor & Destructor Documentation

◆ directFieldMapper()

directFieldMapper ( const labelUList directAddressing)
inline

Construct given addressing.

Definition at line 59 of file directFieldMapper.H.

◆ ~directFieldMapper()

virtual ~directFieldMapper ( )
virtualdefault

Destructor.

Member Function Documentation

◆ size()

label size ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 72 of file directFieldMapper.H.

References UList< T >::size().

Here is the call graph for this function:

◆ direct()

bool direct ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 77 of file directFieldMapper.H.

◆ hasUnmapped()

bool hasUnmapped ( ) const
inlinevirtual

Are there unmapped values? I.e. do all size() elements get.

get value

Implements FieldMapper.

Definition at line 82 of file directFieldMapper.H.

◆ directAddressing()

const labelUList& directAddressing ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 87 of file directFieldMapper.H.


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