Finite Volume volume and surface field decomposer. More...
Classes | |
| class | patchFieldDecomposer |
| Patch field decomposer class. More... | |
Public Member Functions | |
| fvFieldDecomposer (const fvMesh &completeMesh, const PtrList< fvMesh > &procMeshes, const labelListList &faceProcAddressing, const labelListList &cellProcAddressing, const PtrList< surfaceLabelField::Boundary > &faceProcAddressingBf) | |
| Construct from components. More... | |
| fvFieldDecomposer (const fvFieldDecomposer &)=delete | |
| Disallow default bitwise copy construction. More... | |
| ~fvFieldDecomposer () | |
| Destructor. More... | |
| template<class Type > | |
| PtrList< typename VolField< Type >::Internal > | decomposeVolInternalField (const IOobject &fieldIoObject) const |
| Decompose a volume internal field. More... | |
| template<class Type > | |
| PtrList< VolField< Type > > | decomposeVolField (const IOobject &fieldIoObject) const |
| Decompose a volume field. More... | |
| template<class Type > | |
| PtrList< SurfaceField< Type > > | decomposeFvSurfaceField (const IOobject &fieldIoObject) const |
| Decompose a surface field. More... | |
| template<class Type > | |
| void | decomposeVolInternalFields (const IOobjectList &objects) |
| Read, decompose and write all volume internal fields. More... | |
| template<class Type > | |
| void | decomposeVolFields (const IOobjectList &objects) |
| Read, decompose and write all volume fields. More... | |
| template<class Type > | |
| void | decomposeFvSurfaceFields (const IOobjectList &objects) |
| Read, decompose and write all surface fields. More... | |
| void | operator= (const fvFieldDecomposer &)=delete |
| Disallow default bitwise assignment. More... | |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | mapCellToFace (const labelUList &owner, const labelUList &neighbour, const Field< Type > &field, const labelUList &addressing) |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | mapFaceToFace (const Field< Type > &field, const labelUList &addressing, const bool isFlux) |
| template<class Type > | |
| Foam::PtrList< typename Foam::VolField< Type >::Internal > | decomposeVolInternalField (const IOobject &fieldIoObject) const |
| template<class Type > | |
| Foam::PtrList< Foam::VolField< Type > > | decomposeVolField (const IOobject &fieldIoObject) const |
| template<class Type > | |
| Foam::PtrList< Foam::SurfaceField< Type > > | decomposeFvSurfaceField (const IOobject &fieldIoObject) const |
Static Public Member Functions | |
| static bool | decomposes (const IOobjectList &objects) |
| Return whether anything in the object list gets decomposed. More... | |
Finite Volume volume and surface field decomposer.
Definition at line 55 of file fvFieldDecomposer.H.
| fvFieldDecomposer | ( | const fvMesh & | completeMesh, |
| const PtrList< fvMesh > & | procMeshes, | ||
| const labelListList & | faceProcAddressing, | ||
| const labelListList & | cellProcAddressing, | ||
| const PtrList< surfaceLabelField::Boundary > & | faceProcAddressingBf | ||
| ) |
Construct from components.
Definition at line 67 of file fvFieldDecomposer.C.
References boundary(), and forAll.

|
delete |
Disallow default bitwise copy construction.
| ~fvFieldDecomposer | ( | ) |
Destructor.
Definition at line 116 of file fvFieldDecomposer.C.
|
static |
Return whether anything in the object list gets decomposed.
Definition at line 122 of file fvFieldDecomposer.C.
References DO_FV_FIELDS_TYPE, and Foam::FOR_ALL_FIELD_TYPES().

| PtrList<typename VolField<Type>::Internal> decomposeVolInternalField | ( | const IOobject & | fieldIoObject | ) | const |
Decompose a volume internal field.
Decompose a volume field.
| PtrList<SurfaceField<Type> > decomposeFvSurfaceField | ( | const IOobject & | fieldIoObject | ) | const |
Decompose a surface field.
| void decomposeVolInternalFields | ( | const IOobjectList & | objects | ) |
Read, decompose and write all volume internal fields.
Definition at line 468 of file fvFieldDecomposerTemplates.C.
References Foam::endl(), fields, forAll, forAllConstIter, Foam::Info, Foam::nl, and objects.

| void decomposeVolFields | ( | const IOobjectList & | objects | ) |
Read, decompose and write all volume fields.
Definition at line 498 of file fvFieldDecomposerTemplates.C.
References Foam::endl(), fields, forAll, forAllConstIter, Foam::Info, Foam::nl, and objects.

| void decomposeFvSurfaceFields | ( | const IOobjectList & | objects | ) |
Read, decompose and write all surface fields.
Definition at line 528 of file fvFieldDecomposerTemplates.C.
References Foam::endl(), fields, forAll, forAllConstIter, Foam::Info, Foam::nl, and objects.

|
delete |
Disallow default bitwise assignment.
| Foam::tmp<Foam::Field<Type> > mapCellToFace | ( | const labelUList & | owner, |
| const labelUList & | neighbour, | ||
| const Field< Type > & | field, | ||
| const labelUList & | addressing | ||
| ) |
Definition at line 37 of file fvFieldDecomposerTemplates.C.
References fld(), forAll, tmp< T >::ref(), and UList< T >::size().

| Foam::tmp<Foam::Field<Type> > mapFaceToFace | ( | const Field< Type > & | field, |
| const labelUList & | addressing, | ||
| const bool | isFlux | ||
| ) |
Definition at line 64 of file fvFieldDecomposerTemplates.C.
References fld(), forAll, Foam::isFlux(), Foam::mag(), tmp< T >::ref(), and UList< T >::size().

| Foam::PtrList<typename Foam::VolField<Type>::Internal> decomposeVolInternalField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 89 of file fvFieldDecomposerTemplates.C.
References DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), forAll, IOobject::MUST_READ, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, DimensionedField< Type, GeoMesh, PrimitiveField >::primitiveField(), and PtrList< T >::set().

| Foam::PtrList<Foam::VolField<Type> > decomposeVolField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 141 of file fvFieldDecomposerTemplates.C.
References Foam::abort(), boundary(), GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), GeometricField< Type, GeoMesh, PrimitiveField >::boundaryFieldRef(), Foam::stringOps::breakIntoIndentedLines(), DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, IOobject::MUST_READ, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, GeoMesh, PrimitiveField >::primitiveField(), PtrList< T >::set(), GeometricField< Type, GeoMesh, PrimitiveField >::sources(), OStringStream::str(), and GeometricFieldSources< Type, GeoMesh, PrimitiveField >::table().

| Foam::PtrList<Foam::SurfaceField<Type> > decomposeFvSurfaceField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 316 of file fvFieldDecomposerTemplates.C.
References Foam::abort(), boundary(), GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), GeometricField< Type, GeoMesh, PrimitiveField >::boundaryFieldRef(), DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::isFlux(), IOobject::MUST_READ, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, GeoMesh, PrimitiveField >::primitiveField(), PtrList< T >::set(), and sf().
