Finite Area area and edge field decomposer. More...
Classes | |
| class | fieldsCache |
| class | patchFieldDecomposer |
| Patch field decomposer class. More... | |
| class | processorAreaPatchFieldDecomposer |
| Processor patch field decomposer class. More... | |
| class | processorEdgePatchFieldDecomposer |
| Processor patch field decomposer class. More... | |
Public Member Functions | |
| faFieldDecomposer (const Foam::zero, const faMesh &procMesh, const labelList &edgeAddressing, const labelList &faceAddressing, const labelList &boundaryAddressing) | |
| Construct without mappers, added later with reset() More... | |
| faFieldDecomposer (const faMesh &completeMesh, const faMesh &procMesh, const labelList &edgeAddressing, const labelList &faceAddressing, const labelList &boundaryAddressing) | |
| Construct from components using information from the complete mesh. More... | |
| faFieldDecomposer (const label nTotalFaces, const List< labelRange > &boundaryRanges, const labelUList &edgeOwner, const labelUList &edgeNeigbour, const faMesh &procMesh, const labelList &edgeAddressing, const labelList &faceAddressing, const labelList &boundaryAddressing) | |
| Construct from components without the complete mesh. More... | |
| ~faFieldDecomposer ()=default | |
| Destructor. More... | |
| bool | empty () const |
| True if no mappers have been allocated. More... | |
| void | clear () |
| Remove all mappers. More... | |
| void | reset (const faMesh &completeMesh) |
| Reset mappers using information from the complete mesh. More... | |
| void | reset (const label nTotalFaces, const List< labelRange > &boundaryRanges, const labelUList &edgeOwner, const labelUList &edgeNeigbour) |
| Reset mapper using information about the complete mesh. More... | |
| template<class Type > | |
| tmp< GeometricField< Type, faPatchField, areaMesh > > | decomposeField (const GeometricField< Type, faPatchField, areaMesh > &field) const |
| Decompose area field. More... | |
| template<class Type > | |
| tmp< GeometricField< Type, faePatchField, edgeMesh > > | decomposeField (const GeometricField< Type, faePatchField, edgeMesh > &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::faPatchField, Foam::areaMesh > > | decomposeField (const GeometricField< Type, faPatchField, areaMesh > &field) const |
| template<class Type > | |
| Foam::tmp< Foam::GeometricField< Type, Foam::faePatchField, Foam::edgeMesh > > | decomposeField (const GeometricField< Type, faePatchField, edgeMesh > &field) const |
Static Public Member Functions | |
| template<class Type , template< class > class PatchField, class GeoMesh > | |
| static void | readFields (const typename GeoMesh::Mesh &mesh, const IOobjectList &objects, PtrList< GeometricField< Type, PatchField, GeoMesh >> &fields, const bool readOldTime) |
| Read the fields and store on the pointer list. More... | |
| template<class Mesh , class GeoField > | |
| static void | readFields (const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields) |
| Read fields and store on the pointer list. More... | |
Finite Area area and edge field decomposer.
Author Zeljko Tukovic, FSB Zagreb Hrvoje Jasak, Wikki Ltd.
Definition at line 59 of file faFieldDecomposer.H.
| faFieldDecomposer | ( | const Foam::zero | , |
| const faMesh & | procMesh, | ||
| const labelList & | edgeAddressing, | ||
| const labelList & | faceAddressing, | ||
| const labelList & | boundaryAddressing | ||
| ) |
Construct without mappers, added later with reset()
Definition at line 156 of file faFieldDecomposer.C.
| faFieldDecomposer | ( | const faMesh & | completeMesh, |
| const faMesh & | procMesh, | ||
| const labelList & | edgeAddressing, | ||
| const labelList & | faceAddressing, | ||
| const labelList & | boundaryAddressing | ||
| ) |
Construct from components using information from the complete mesh.
Definition at line 176 of file faFieldDecomposer.C.
| faFieldDecomposer | ( | const label | nTotalFaces, |
| const List< labelRange > & | boundaryRanges, | ||
| const labelUList & | edgeOwner, | ||
| const labelUList & | edgeNeigbour, | ||
| const faMesh & | procMesh, | ||
| const labelList & | edgeAddressing, | ||
| const labelList & | faceAddressing, | ||
| const labelList & | boundaryAddressing | ||
| ) |
Construct from components without the complete mesh.
Definition at line 198 of file faFieldDecomposer.C.
|
default |
Destructor.
| bool empty | ( | ) | const |
True if no mappers have been allocated.
Definition at line 225 of file faFieldDecomposer.C.
| void clear | ( | ) |
Remove all mappers.
Definition at line 231 of file faFieldDecomposer.C.
| void reset | ( | const faMesh & | completeMesh | ) |
Reset mappers using information from the complete mesh.
Definition at line 301 of file faFieldDecomposer.C.
References faMesh::boundary(), clear(), forAll, faPatch::patchSlice(), faBoundaryMesh::patchStarts(), and UPtrList< T >::size().

| void reset | ( | const label | nTotalFaces, |
| const List< labelRange > & | boundaryRanges, | ||
| const labelUList & | edgeOwner, | ||
| const labelUList & | edgeNeigbour | ||
| ) |
Reset mapper using information about the complete mesh.
Definition at line 240 of file faFieldDecomposer.C.
References clear(), forAll, and faPatch::patchSlice().

| tmp<GeometricField<Type, faPatchField, areaMesh> > decomposeField | ( | const GeometricField< Type, faPatchField, areaMesh > & | field | ) | const |
Decompose area field.
| tmp<GeometricField<Type, faePatchField, edgeMesh> > decomposeField | ( | const GeometricField< Type, faePatchField, edgeMesh > & | field | ) | const |
Decompose surface field.
| void decomposeFields | ( | const PtrList< GeoField > & | fields | ) | const |
Definition at line 213 of file faFieldDecomposerTemplates.C.
References fields, forAll, and Foam::vtk::write().
Referenced by faFieldDecomposer::fieldsCache::privateCache::decompose().


|
static |
Read the fields and store on the pointer list.
|
static |
Read fields and store on the pointer list.
| Foam::tmp<Foam::GeometricField<Type, Foam::faPatchField, Foam::areaMesh> > decomposeField | ( | const GeometricField< Type, faPatchField, areaMesh > & | field | ) | const |
Definition at line 33 of file faFieldDecomposerTemplates.C.
References field(), forAll, and Foam::New().

| Foam::tmp<Foam::GeometricField<Type, Foam::faePatchField, Foam::edgeMesh> > decomposeField | ( | const GeometricField< Type, faePatchField, edgeMesh > & | field | ) | const |
Definition at line 103 of file faFieldDecomposerTemplates.C.
References field(), forAll, Foam::New(), and p.

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.