Finite Volume volume and surface field decomposer. More...
Classes | |
class | patchFieldDecomposer |
Patch field decomposer class. More... | |
class | processorSurfacePatchFieldDecomposer |
Processor patch field decomposer class. Surface field is assumed. More... | |
class | processorVolPatchFieldDecomposer |
Processor patch field decomposer class. Maps either owner or. More... | |
Public Member Functions | |
fvFieldDecomposer (const fvMesh &completeMesh, const fvMesh &procMesh, const labelList &faceAddressing, const labelList &cellAddressing, const labelList &boundaryAddressing) | |
Construct from components. More... | |
~fvFieldDecomposer () | |
Destructor. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | decomposeField (const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields=false) const |
Decompose volume field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | decomposeField (const GeometricField< Type, fvsPatchField, surfaceMesh > &field) const |
Decompose surface field. More... | |
template<class GeoField > | |
void | decomposeFields (const PtrList< GeoField > &fields) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > | decomposeField (const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > | decomposeField (const GeometricField< Type, fvsPatchField, surfaceMesh > &field) const |
Finite Volume volume and surface field decomposer.
Definition at line 55 of file fvFieldDecomposer.H.
fvFieldDecomposer | ( | const fvMesh & | completeMesh, |
const fvMesh & | procMesh, | ||
const labelList & | faceAddressing, | ||
const labelList & | cellAddressing, | ||
const labelList & | boundaryAddressing | ||
) |
Construct from components.
Definition at line 118 of file fvFieldDecomposer.C.
References fvMesh::boundary(), forAll, fvPatch::patchSlice(), s, and Foam::sign().
~fvFieldDecomposer | ( | ) |
Destructor.
Definition at line 207 of file fvFieldDecomposer.C.
tmp<GeometricField<Type, fvPatchField, volMesh> > decomposeField | ( | const GeometricField< Type, fvPatchField, volMesh > & | field, |
const bool | allowUnknownPatchFields = false |
||
) | const |
Decompose volume field.
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > decomposeField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | field | ) | const |
Decompose surface field.
void decomposeFields | ( | const PtrList< GeoField > & | fields | ) | const |
Definition at line 337 of file fvFieldDecomposerDecomposeFields.C.
References fields, forAll, and Foam::vtk::write().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > decomposeField | ( | const GeometricField< Type, fvPatchField, volMesh > & | field, |
const bool | allowUnknownPatchFields | ||
) | const |
Definition at line 40 of file fvFieldDecomposerDecomposeFields.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, field(), forAll, and tmp< T >::ref().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > decomposeField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | field | ) | const |
Definition at line 169 of file fvFieldDecomposerDecomposeFields.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, field(), forAll, p, and tmp< T >::ref().