Public Member Functions | Private Attributes
pointFieldDecomposer::patchFieldDecomposer Class Reference

Point patch field decomposer class. More...

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

Public Member Functions

 patchFieldDecomposer (const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelList &directAddr)
 Construct given addressing. More...
 
label size () const
 
bool direct () const
 
bool hasUnmapped () const
 Are there unmapped values? I.e. do all size() elements get. More...
 
const labelUListdirectAddressing () const
 
 patchFieldDecomposer (const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelList &directAddr)
 Construct given addressing. More...
 
label size () const
 
bool direct () const
 
bool hasUnmapped () const
 Are there unmapped values? I.e. do all size() elements get. More...
 
const labelUListdirectAddressing () const
 
- 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 ()
 Null constructor. More...
 
- Public Member Functions inherited from FieldMapper
 FieldMapper ()
 Null constructor. More...
 
virtual ~FieldMapper ()
 Destructor. More...
 
virtual bool distributed () const
 
virtual const mapDistributeBasedistributeMap () const
 
virtual const labelListListaddressing () const
 
virtual const scalarListListweights () const
 
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const
 

Private Attributes

labelList directAddressing_
 
bool hasUnmapped_
 Does map contain any unmapped values. More...
 

Detailed Description

Point patch field decomposer class.

Definition at line 57 of file pointFieldDecomposer.H.

Constructor & Destructor Documentation

◆ patchFieldDecomposer() [1/2]

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

Construct given addressing.

Definition at line 31 of file pointFieldDecomposer.C.

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

Here is the call graph for this function:

◆ patchFieldDecomposer() [2/2]

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

Construct given addressing.

Member Function Documentation

◆ size() [1/2]

label size ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 83 of file pointFieldDecomposer.H.

References pointFieldDecomposer::patchFieldDecomposer::directAddressing_, and List::size().

Here is the call graph for this function:

◆ direct() [1/2]

bool direct ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 88 of file pointFieldDecomposer.H.

◆ hasUnmapped() [1/2]

bool hasUnmapped ( ) const
inlinevirtual

Are there unmapped values? I.e. do all size() elements get.

get value

Implements FieldMapper.

Definition at line 93 of file pointFieldDecomposer.H.

References pointFieldDecomposer::patchFieldDecomposer::hasUnmapped_.

◆ directAddressing() [1/2]

const labelUList& directAddressing ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 98 of file pointFieldDecomposer.H.

References pointFieldDecomposer::patchFieldDecomposer::directAddressing_.

◆ size() [2/2]

label size ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 83 of file pointFieldDecomposer.H.

References pointFieldDecomposer::patchFieldDecomposer::directAddressing_, and List::size().

Here is the call graph for this function:

◆ direct() [2/2]

bool direct ( ) const
inlinevirtual

Implements FieldMapper.

Definition at line 88 of file pointFieldDecomposer.H.

◆ hasUnmapped() [2/2]

bool hasUnmapped ( ) const
inlinevirtual

Are there unmapped values? I.e. do all size() elements get.

get value

Implements FieldMapper.

Definition at line 93 of file pointFieldDecomposer.H.

References pointFieldDecomposer::patchFieldDecomposer::hasUnmapped_.

◆ directAddressing() [2/2]

const labelUList& directAddressing ( ) const
inlinevirtual

Reimplemented from FieldMapper.

Definition at line 98 of file pointFieldDecomposer.H.

References pointFieldDecomposer::patchFieldDecomposer::directAddressing_.

Field Documentation

◆ directAddressing_

labelList directAddressing_
private

◆ hasUnmapped_

bool hasUnmapped_
private

Does map contain any unmapped values.

Definition at line 66 of file pointFieldDecomposer.H.

Referenced by pointFieldDecomposer::patchFieldDecomposer::hasUnmapped().


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