faFieldDecomposer::processorAreaPatchFieldDecomposer Class Reference

Processor patch field decomposer class. More...

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

Public Member Functions

 processorAreaPatchFieldDecomposer (const label nTotalFaces, const labelUList &edgeOwner, const labelUList &edgeNeigbour, const labelUList &addressingSlice, const scalarField &edgeWeights=scalarField::null())
 Construct addressing from details. More...
 
 processorAreaPatchFieldDecomposer (const faMesh &mesh, const labelUList &addressingSlice)
 Construct given addressing from complete mesh. 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 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

Processor patch field decomposer class.

Definition at line 121 of file faFieldDecomposer.H.

Constructor & Destructor Documentation

◆ processorAreaPatchFieldDecomposer() [1/2]

processorAreaPatchFieldDecomposer ( const label  nTotalFaces,
const labelUList edgeOwner,
const labelUList edgeNeigbour,
const labelUList addressingSlice,
const scalarField edgeWeights = scalarField::null() 
)

Construct addressing from details.

Definition at line 53 of file faFieldDecomposer.C.

References forAll, List< T >::resize(), UList< T >::size(), and faFieldDecomposer::processorAreaPatchFieldDecomposer::weights().

Here is the call graph for this function:

◆ processorAreaPatchFieldDecomposer() [2/2]

processorAreaPatchFieldDecomposer ( const faMesh mesh,
const labelUList addressingSlice 
)

Construct given addressing from complete mesh.

Definition at line 116 of file faFieldDecomposer.C.

Member Function Documentation

◆ size()

label size ( ) const
inlinevirtual

The size of the mapper.

Implements FieldMapper.

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

◆ direct()

bool direct ( ) const
inlinevirtual

Is it a direct (non-interpolating) mapper?

Implements FieldMapper.

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

◆ addressing()

const labelListList & addressing ( ) const
inlinevirtual

Return the interpolation addressing.

Reimplemented from FieldMapper.

Definition at line 173 of file faFieldDecomposer.H.

◆ weights()

const scalarListList & weights ( ) const
inlinevirtual

Return the interpolation weights.

Reimplemented from FieldMapper.

Definition at line 178 of file faFieldDecomposer.H.

Referenced by faFieldDecomposer::processorAreaPatchFieldDecomposer::processorAreaPatchFieldDecomposer().

Here is the caller graph for this function:

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