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 |
Point field decomposer.
Definition at line 54 of file pointFieldDecomposer.H.
|
delete |
No copy construct.
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 | ( | const pointMesh & | completeMesh, |
const pointMesh & | procMesh, | ||
const labelList & | pointAddressing, | ||
const labelList & | boundaryAddressing | ||
) |
Construct from components.
Definition at line 97 of file pointFieldDecomposer.C.
|
default |
Destructor.
|
delete |
No copy assignment.
bool empty | ( | ) | const |
True if no mappers have been allocated.
Definition at line 118 of file pointFieldDecomposer.C.
void clear | ( | ) |
Remove all mappers.
Definition at line 124 of file pointFieldDecomposer.C.
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.
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 101 of file pointFieldDecomposerFields.C.
References fields, fld, and Foam::vtk::write().
Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > decomposeField | ( | const GeometricField< Type, pointPatchField, pointMesh > & | field | ) | const |
Definition at line 37 of file pointFieldDecomposerFields.C.
References field(), forAll, and Foam::New().