faFieldDecomposer::processorEdgePatchFieldDecomposer Class Reference

Processor patch field decomposer class. More...

Inheritance diagram for faFieldDecomposer::processorEdgePatchFieldDecomposer:
Collaboration diagram for faFieldDecomposer::processorEdgePatchFieldDecomposer:

Public Member Functions

 processorEdgePatchFieldDecomposer (label sizeBeforeMapping, const labelUList &addressingSlice)
 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 labelListListaddressing () const
 Return the interpolation addressing. More...
 
const scalarListListweights () const
 Return the interpolation weights. 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 bool distributed () const
 Does the mapper have remote contributions? More...
 
virtual const labelUListdirectAddressing () const
 Return the direct addressing values. More...
 
virtual const mapDistributeBasedistributeMap () const
 Return the distribution map. More...
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &fld) const
 Perform mapping on the given field. More...
 

Detailed Description

Processor patch field decomposer class.

Definition at line 195 of file faFieldDecomposer.H.

Constructor & Destructor Documentation

◆ processorEdgePatchFieldDecomposer()

processorEdgePatchFieldDecomposer ( label  sizeBeforeMapping,
const labelUList addressingSlice 
)

Construct given addressing.

Definition at line 133 of file faFieldDecomposer.C.

References forAll, Foam::mag(), and Foam::sign().

Here is the call graph for this function:

Member Function Documentation

◆ size()

label size ( ) const
inlinevirtual

The size of the mapper.

Implements FieldMapper.

Definition at line 217 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 222 of file faFieldDecomposer.H.

◆ direct()

bool direct ( ) const
inlinevirtual

Is it a direct (non-interpolating) mapper?

Implements FieldMapper.

Definition at line 227 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 232 of file faFieldDecomposer.H.

◆ addressing()

const labelListList& addressing ( ) const
inlinevirtual

Return the interpolation addressing.

Reimplemented from FieldMapper.

Definition at line 237 of file faFieldDecomposer.H.

◆ weights()

const scalarListList& weights ( ) const
inlinevirtual

Return the interpolation weights.

Reimplemented from FieldMapper.

Definition at line 242 of file faFieldDecomposer.H.


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