Finite Volume volume and surface field decomposer. More...
Classes | |
| class | patchFieldDecomposer |
| Patch field decomposer class. 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 (const fvFieldDecomposer &)=delete | |
| Disallow default bitwise copy construction. 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 |
| void | operator= (const fvFieldDecomposer &)=delete |
| Disallow default bitwise assignment. More... | |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | mapField (const Field< Type > &field, const labelUList &mapAndSign, const bool applyFlip) |
| 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 53 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 123 of file fvFieldDecomposer.C.
References fvMesh::boundary(), forAll, fvFieldDecomposer::patchFieldDecomposer::patchFieldDecomposer(), and patchi.
Referenced by fvFieldDecomposer::processorVolPatchFieldDecomposer::processorVolPatchFieldDecomposer().


|
delete |
Disallow default bitwise copy construction.
| ~fvFieldDecomposer | ( | ) |
| tmp<GeometricField<Type, fvPatchField, volMesh> > decomposeField | ( | const GeometricField< Type, fvPatchField, volMesh > & | field, |
| const bool | allowUnknownPatchFields = false |
||
| ) | const |
Decompose volume field.
Referenced by fvFieldDecomposer::decomposeField(), and fvFieldDecomposer::mapField().

| 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 364 of file fvFieldDecomposerDecomposeFields.C.
References forAll, and Foam::blockMeshTools::write().
Referenced by fvFieldDecomposer::decomposeField().


|
delete |
Disallow default bitwise assignment.
| Foam::tmp<Foam::Field<Type> > mapField | ( | const Field< Type > & | field, |
| const labelUList & | mapAndSign, | ||
| const bool | applyFlip | ||
| ) |
Definition at line 37 of file fvFieldDecomposerDecomposeFields.C.
References fvFieldDecomposer::decomposeField(), fld(), forAll, Foam::mag(), Field< Type >::map(), tmp< T >::ref(), and UList< T >::size().

| Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > decomposeField | ( | const GeometricField< Type, fvPatchField, volMesh > & | field, |
| const bool | allowUnknownPatchFields | ||
| ) | const |
Definition at line 72 of file fvFieldDecomposerDecomposeFields.C.
References Foam::abort(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvFieldDecomposer::decomposeField(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::FatalError, FatalErrorInFunction, forAll, IOobject::name(), patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveField(), and GeometricField< Type, PatchField, GeoMesh >::ref().

| Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > decomposeField | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | field | ) | const |
Definition at line 199 of file fvFieldDecomposerDecomposeFields.C.
References Foam::abort(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), fvFieldDecomposer::decomposeFields(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::FatalError, FatalErrorInFunction, forAll, DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), p, patchi, fvPatch::patchSlice(), GeometricField< Type, PatchField, GeoMesh >::primitiveField(), and tmp< T >::ref().
