faFieldDecomposer::patchFieldDecomposer Class Reference

Patch field decomposer class. More...

Inheritance diagram for faFieldDecomposer::patchFieldDecomposer:
[legend]
Collaboration diagram for faFieldDecomposer::patchFieldDecomposer:
[legend]

Public Member Functions

 patchFieldDecomposer (const label sizeBeforeMapping, const labelUList &addressingSlice, const label addressingOffset)
 Construct given addressing. More...
 
label size () const
 The size of the mapper. More...
 
virtual label sizeBeforeMapping () const
 
bool direct () const
 Is it a direct (non-interpolating) mapper? More...
 
virtual bool hasUnmapped () const
 Any unmapped values? More...
 
const labelUListdirectAddressing () const
 Return the direct addressing values. More...
 
- Public Member Functions inherited from faPatchFieldMapper
 faPatchFieldMapper ()=default
 Default construct. More...
 
- Public Member Functions inherited from FieldMapper
 FieldMapper ()=default
 Default construct. More...
 
virtual ~FieldMapper ()=default
 Destructor. More...
 
virtual label size () const =0
 The size of the mapper. More...
 
virtual bool direct () const =0
 Is it a direct (non-interpolating) mapper? More...
 
virtual bool distributed () const
 Does the mapper have remote contributions? More...
 
virtual bool hasUnmapped () const =0
 Any unmapped values? More...
 
virtual const labelUListdirectAddressing () const
 Return the direct addressing values. More...
 
virtual const mapDistributeBasedistributeMap () const
 Return the distribution map. More...
 
virtual const labelListListaddressing () const
 Return the interpolation addressing. More...
 
virtual const scalarListListweights () const
 Return the interpolation weights. More...
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &fld) const
 Perform mapping on the given field. More...
 

Detailed Description

Patch field decomposer class.

Definition at line 69 of file faFieldDecomposer.H.

Constructor & Destructor Documentation

◆ patchFieldDecomposer()

patchFieldDecomposer ( const label  sizeBeforeMapping,
const labelUList addressingSlice,
const label  addressingOffset 
)

Construct given addressing.

Definition at line 33 of file faFieldDecomposer.C.

References forAll.

Member Function Documentation

◆ size()

label size ( ) const
inlinevirtual

The size of the mapper.

Implements FieldMapper.

Definition at line 93 of file faFieldDecomposer.H.

References UList< T >::size().

Here is the call graph for this function:

◆ sizeBeforeMapping()

virtual label sizeBeforeMapping ( ) const
inlinevirtual

Definition at line 98 of file faFieldDecomposer.H.

◆ direct()

bool direct ( ) const
inlinevirtual

Is it a direct (non-interpolating) mapper?

Implements FieldMapper.

Definition at line 103 of file faFieldDecomposer.H.

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

Any unmapped values?

I.e. do all size() elements get value

Implements FieldMapper.

Definition at line 108 of file faFieldDecomposer.H.

◆ directAddressing()

const labelUList & directAddressing ( ) const
inlinevirtual

Return the direct addressing values.

Reimplemented from FieldMapper.

Definition at line 113 of file faFieldDecomposer.H.


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