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 |
pointFieldDecomposer | ( | const Foam::zero | , |
const pointMesh & | procMesh, | ||
const labelList & | pointAddressing, | ||
const labelList & | boundaryAddressing | ||
) |
Construct without mappers, added later with reset()
Definition at line 74 of file pointFieldDecomposer.C.
pointFieldDecomposer | ( | const pointMesh & | completeMesh, |
const pointMesh & | procMesh, | ||
const labelList & | pointAddressing, | ||
const labelList & | boundaryAddressing | ||
) |
Construct from components.
Definition at line 90 of file pointFieldDecomposer.C.
|
default |
Destructor.
bool empty | ( | ) | const |
True if no mappers have been allocated.
Definition at line 111 of file pointFieldDecomposer.C.
void clear | ( | ) |
Remove all mappers.
Definition at line 117 of file pointFieldDecomposer.C.
void reset | ( | const pointMesh & | completeMesh | ) |
Reset mappers using information from the complete mesh.
Definition at line 124 of file pointFieldDecomposer.C.
References pointMesh::boundary(), clear(), and forAll.
tmp<GeometricField<Type, pointPatchField, pointMesh> > decomposeField | ( | const GeometricField< Type, pointPatchField, pointMesh > & | ) | const |
Decompose point field.
void decomposeFields | ( | const PtrList< GeoField > & | fields | ) | const |
Decompose list of fields.
Definition at line 85 of file pointFieldDecomposerTemplates.C.
References fields, fld, and Foam::vtk::write().
Referenced by pointFieldDecomposer::fieldsCache::privateCache::decompose().
Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > decomposeField | ( | const GeometricField< Type, pointPatchField, pointMesh > & | field | ) | const |
Definition at line 30 of file pointFieldDecomposerTemplates.C.
References field(), forAll, and Foam::New().