pointFieldDecomposer Class Reference

Point field decomposer. More...

Classes

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

Public Member Functions

 pointFieldDecomposer (const pointFieldDecomposer &)=delete
 No copy construct. More...
 
void operator= (const pointFieldDecomposer &)=delete
 No copy assignment. More...
 
 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

Point field decomposer.

Source files

Definition at line 54 of file pointFieldDecomposer.H.

Constructor & Destructor Documentation

◆ pointFieldDecomposer() [1/3]

No copy construct.

◆ pointFieldDecomposer() [2/3]

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

Construct without mappers, added later with reset()

Definition at line 81 of file pointFieldDecomposer.C.

◆ pointFieldDecomposer() [3/3]

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

Construct from components.

Definition at line 97 of file pointFieldDecomposer.C.

◆ ~pointFieldDecomposer()

~pointFieldDecomposer ( )
default

Destructor.

Member Function Documentation

◆ operator=()

void operator= ( const pointFieldDecomposer )
delete

No copy assignment.

◆ 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 131 of file pointFieldDecomposer.C.

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

Here is the call 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 101 of file pointFieldDecomposerFields.C.

References fields, fld, and Foam::vtk::write().

Here is the call graph for this function:

◆ decomposeField() [2/2]

Definition at line 37 of file pointFieldDecomposerFields.C.

References field(), forAll, and Foam::New().

Here is the call graph for this function:

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