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

Point patch field decomposer class. More...

#include <pointFieldDecomposer.H>

Inheritance diagram for pointFieldDecomposer::patchFieldDecomposer:
Collaboration diagram for pointFieldDecomposer::patchFieldDecomposer:

Public Member Functions

 patchFieldDecomposer (const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelUList &directAddr)
 Construct given addressing.
label size () const noexcept
 The size of the mapper.
bool direct () const noexcept
 Is it a direct (non-interpolating) mapper?
bool hasUnmapped () const noexcept
 Any unmapped values?
const labelUListdirectAddressing () const noexcept
 Return the direct addressing values.
Public Member Functions inherited from pointPatchFieldMapper
 pointPatchFieldMapper ()=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

Point patch field decomposer class.

Definition at line 68 of file pointFieldDecomposer.H.

Constructor & Destructor Documentation

◆ patchFieldDecomposer()

patchFieldDecomposer ( const pointPatch & completeMeshPatch,
const pointPatch & procMeshPatch,
const labelUList & directAddr )

Construct given addressing.

Member Function Documentation

◆ size()

label size ( ) const
inlinevirtualnoexcept

The size of the mapper.

Implements FieldMapper.

Definition at line 98 of file pointFieldDecomposer.H.

References Foam::noexcept.

◆ direct()

bool direct ( ) const
inlinevirtualnoexcept

Is it a direct (non-interpolating) mapper?

Implements FieldMapper.

Definition at line 103 of file pointFieldDecomposer.H.

References Foam::noexcept.

◆ hasUnmapped()

bool hasUnmapped ( ) const
inlinevirtualnoexcept

Any unmapped values?

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

Implements FieldMapper.

Definition at line 108 of file pointFieldDecomposer.H.

References Foam::noexcept.

◆ directAddressing()

const labelUList & directAddressing ( ) const
inlinevirtualnoexcept

Return the direct addressing values.

Reimplemented from FieldMapper.

Definition at line 113 of file pointFieldDecomposer.H.

References Foam::noexcept.


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