Finite Volume volume and surface field decomposer. More...
Data Structures | |
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 |
Private Member Functions | |
fvFieldDecomposer (const fvFieldDecomposer &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const fvFieldDecomposer &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
const fvMesh & | completeMesh_ |
Reference to complete mesh. More... | |
const fvMesh & | procMesh_ |
Reference to processor mesh. More... | |
const labelList & | faceAddressing_ |
Reference to face addressing. More... | |
const labelList & | cellAddressing_ |
Reference to cell addressing. More... | |
const labelList & | boundaryAddressing_ |
Reference to boundary addressing. More... | |
List< patchFieldDecomposer * > | patchFieldDecomposerPtrs_ |
List of patch field decomposers. More... | |
List< processorVolPatchFieldDecomposer * > | processorVolPatchFieldDecomposerPtrs_ |
List< processorSurfacePatchFieldDecomposer * > | processorSurfacePatchFieldDecomposerPtrs_ |
Finite Volume volume and surface field decomposer.
Definition at line 53 of file fvFieldDecomposer.H.
|
private |
Disallow default bitwise copy construct.
fvFieldDecomposer | ( | const fvMesh & | completeMesh, |
const fvMesh & | procMesh, | ||
const labelList & | faceAddressing, | ||
const labelList & | cellAddressing, | ||
const labelList & | boundaryAddressing | ||
) |
Construct from components.
Definition at line 116 of file fvFieldDecomposer.C.
References fvMesh::boundary(), forAll, and patchi.
~fvFieldDecomposer | ( | ) |
Destructor.
Definition at line 189 of file fvFieldDecomposer.C.
References forAll, fvFieldDecomposer::patchFieldDecomposerPtrs_, patchi, fvFieldDecomposer::processorSurfacePatchFieldDecomposerPtrs_, and fvFieldDecomposer::processorVolPatchFieldDecomposerPtrs_.
|
private |
Disallow default bitwise assignment.
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 |
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > decomposeField | ( | const GeometricField< Type, fvPatchField, volMesh > & | field, |
const bool | allowUnknownPatchFields | ||
) | const |
Definition at line 38 of file fvFieldDecomposerDecomposeFields.C.
References Foam::abort(), GeometricField::boundaryField(), GeometricField::dimensionedInternalField(), Foam::FatalError, FatalErrorInFunction, forAll, GeometricField::internalField(), patchi, and PtrList::set().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > decomposeField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | field | ) | const |
Definition at line 165 of file fvFieldDecomposerDecomposeFields.C.
References Foam::abort(), GeometricField::boundaryField(), GeometricField::dimensionedInternalField(), Foam::FatalError, FatalErrorInFunction, forAll, internalField(), GeometricField::internalField(), p, patchi, and PtrList::set().
|
private |
Reference to complete mesh.
Definition at line 202 of file fvFieldDecomposer.H.
|
private |
Reference to processor mesh.
Definition at line 205 of file fvFieldDecomposer.H.
|
private |
Reference to face addressing.
Definition at line 208 of file fvFieldDecomposer.H.
|
private |
Reference to cell addressing.
Definition at line 211 of file fvFieldDecomposer.H.
|
private |
Reference to boundary addressing.
Definition at line 214 of file fvFieldDecomposer.H.
|
private |
List of patch field decomposers.
Definition at line 217 of file fvFieldDecomposer.H.
Referenced by fvFieldDecomposer::~fvFieldDecomposer().
|
private |
Definition at line 220 of file fvFieldDecomposer.H.
Referenced by fvFieldDecomposer::~fvFieldDecomposer().
|
private |
Definition at line 223 of file fvFieldDecomposer.H.
Referenced by fvFieldDecomposer::~fvFieldDecomposer().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.