pointFieldDecomposer Class Reference

Point field decomposer. More...

Classes

class  fieldsCache
 
class  patchFieldDecomposer
 Point patch field decomposer class. More...
 

Public Member Functions

 pointFieldDecomposer (const Foam::zero, const pointMesh &procMesh, const labelList &pointAddressing, const labelList &boundaryAddressing)
 Construct without mappers, added later with reset() More...
 
 pointFieldDecomposer (const pointMesh &completeMesh, const pointMesh &procMesh, const labelList &pointAddressing, const labelList &boundaryAddressing)
 Construct from components. More...
 
 ~pointFieldDecomposer ()=default
 Destructor. More...
 
bool empty () const
 True if no mappers have been allocated. More...
 
void clear ()
 Remove all mappers. More...
 
void reset (const pointMesh &completeMesh)
 Reset mappers using information from the complete mesh. More...
 
template<class Type >
tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField (const GeometricField< Type, pointPatchField, pointMesh > &) const
 Decompose point field. More...
 
template<class GeoField >
void decomposeFields (const PtrList< GeoField > &fields) const
 Decompose list of fields. More...
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > decomposeField (const GeometricField< Type, pointPatchField, pointMesh > &field) const
 

Detailed Description

Constructor & Destructor Documentation

◆ pointFieldDecomposer() [1/2]

pointFieldDecomposer ( const Foam::zero  ,
const pointMesh procMesh,
const labelList pointAddressing,
const labelList boundaryAddressing 
)

Construct without mappers, added later with reset()

Definition at line 80 of file pointFieldDecomposer.C.

◆ pointFieldDecomposer() [2/2]

pointFieldDecomposer ( const pointMesh completeMesh,
const pointMesh procMesh,
const labelList pointAddressing,
const labelList boundaryAddressing 
)

Construct from components.

Definition at line 96 of file pointFieldDecomposer.C.

References pointFieldDecomposer::reset().

Here is the call graph for this function:

◆ ~pointFieldDecomposer()

~pointFieldDecomposer ( )
default

Destructor.

Member Function Documentation

◆ empty()

bool empty ( ) const

True if no mappers have been allocated.

Definition at line 118 of file pointFieldDecomposer.C.

◆ clear()

void clear ( )

Remove all mappers.

Definition at line 124 of file pointFieldDecomposer.C.

◆ reset()

void reset ( const pointMesh completeMesh)

Reset mappers using information from the complete mesh.

Definition at line 130 of file pointFieldDecomposer.C.

References pointMesh::boundary(), clear(), and forAll.

Referenced by pointFieldDecomposer::pointFieldDecomposer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decomposeField() [1/2]

tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField ( const GeometricField< Type, pointPatchField, pointMesh > &  ) const

Decompose point field.

◆ decomposeFields()

void decomposeFields ( const PtrList< GeoField > &  fields) const

Decompose list of fields.

Definition at line 100 of file pointFieldDecomposerTemplates.C.

References fields, fld(), and write().

Referenced by pointFieldDecomposer::fieldsCache::privateCache::decompose().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decomposeField() [2/2]

Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > decomposeField ( const GeometricField< Type, pointPatchField, pointMesh > &  field) const

Definition at line 36 of file pointFieldDecomposerTemplates.C.

References pointMesh::boundary(), field(), forAll, Foam::New(), IOobject::NO_READ, IOobject::NO_WRITE, PtrList< T >::set(), UList< T >::size(), pointMesh::thisDb(), objectRegistry::time(), and Time::timeName().

Here is the call graph for this function:

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