Public Member Functions | Private Attributes
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
 

Private Attributes

const labelUListdirectAddressing_
 
bool hasUnmapped_
 

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 directFieldMapper::directAddressing_, directFieldMapper::hasUnmapped_, Foam::min(), and UList::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 directFieldMapper::directAddressing_, and UList::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.

References directFieldMapper::hasUnmapped_.

◆ directAddressing()

const labelUList& directAddressing ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 89 of file directFieldMapper.H.

References directFieldMapper::directAddressing_.

Field Documentation

◆ directAddressing_

const labelUList& directAddressing_
private

◆ hasUnmapped_

bool hasUnmapped_
private

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