Loading...
Searching...
No Matches
faFieldDecomposer::patchFieldDecomposer Class Reference

Patch field decomposer class. More...

#include <faFieldDecomposer.H>

Inheritance diagram for faFieldDecomposer::patchFieldDecomposer:
Collaboration diagram for faFieldDecomposer::patchFieldDecomposer:

Public Member Functions

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

Detailed Description

Patch field decomposer class.

Definition at line 68 of file faFieldDecomposer.H.

Constructor & Destructor Documentation

◆ patchFieldDecomposer()

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

Construct given addressing.

References sizeBeforeMapping().

Here is the call graph for this function:

Member Function Documentation

◆ size()

label size ( ) const
inlinevirtualnoexcept

The size of the mapper.

Implements FieldMapper.

Definition at line 94 of file faFieldDecomposer.H.

References Foam::noexcept.

◆ sizeBeforeMapping()

virtual label sizeBeforeMapping ( ) const
inlinevirtual

Definition at line 99 of file faFieldDecomposer.H.

Referenced by patchFieldDecomposer().

Here is the caller graph for this function:

◆ direct()

bool direct ( ) const
inlinevirtualnoexcept

Is it a direct (non-interpolating) mapper?

Implements FieldMapper.

Definition at line 104 of file faFieldDecomposer.H.

References Foam::noexcept.

◆ hasUnmapped()

virtual bool hasUnmapped ( ) const
inlinevirtual

Any unmapped values?

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

Implements FieldMapper.

Definition at line 109 of file faFieldDecomposer.H.

◆ directAddressing()

const labelUList & directAddressing ( ) const
inlinevirtualnoexcept

Return the direct addressing values.

Reimplemented from FieldMapper.

Definition at line 114 of file faFieldDecomposer.H.

References Foam::noexcept.


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