pointFieldDecomposer::patchFieldDecomposer Class Reference

Point patch field decomposer class. More...

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

Public Member Functions

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

Point patch field decomposer class.

Definition at line 65 of file pointFieldDecomposer.H.

Constructor & Destructor Documentation

◆ patchFieldDecomposer()

patchFieldDecomposer ( const pointPatch completeMeshPatch,
const pointPatch procMeshPatch,
const labelList directAddr 
)

Construct given addressing.

Definition at line 33 of file pointFieldDecomposer.C.

References Foam::abort(), pointPatch::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, forAll, pointBoundaryMesh::mesh(), pointPatch::meshPoints(), Foam::min(), UList< T >::size(), and pointMesh::size().

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 91 of file pointFieldDecomposer.H.

References UList< T >::size().

Here is the call graph for this function:

◆ direct()

bool direct ( ) const
inlinevirtual

Is it a direct (non-interpolating) mapper?

Implements FieldMapper.

Definition at line 96 of file pointFieldDecomposer.H.

◆ hasUnmapped()

bool hasUnmapped ( ) const
inlinevirtual

Any unmapped values?

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

Implements FieldMapper.

Definition at line 101 of file pointFieldDecomposer.H.

◆ directAddressing()

const labelUList & directAddressing ( ) const
inlinevirtual

Return the direct addressing values.

Reimplemented from FieldMapper.

Definition at line 106 of file pointFieldDecomposer.H.


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