Public Member Functions | List of all members
directFieldMapper Class Reference

FieldMapper with direct mapping. More...

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

Public Member Functions

 patchFieldSubset (const labelUList &directAddressing)
 Construct given addressing. More...
 
virtual ~directFieldMapper ()
 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 ()
 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 43 of file directFieldMapper.H.

Constructor & Destructor Documentation

◆ ~directFieldMapper()

virtual ~directFieldMapper ( )
inlinevirtual

Destructor.

Definition at line 68 of file directFieldMapper.H.

Member Function Documentation

◆ patchFieldSubset()

patchFieldSubset ( const labelUList directAddressing)
inline

Construct given addressing.

Definition at line 56 of file directFieldMapper.H.

References Foam::min(), and UList< T >::size().

Here is the call graph for this function:

◆ size()

label size ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 74 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 79 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 84 of file directFieldMapper.H.

◆ directAddressing()

const labelUList& directAddressing ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 89 of file directFieldMapper.H.


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