Lagrangian field decomposer. More...
Classes | |
| class | fieldsCache |
Public Member Functions | |
| lagrangianFieldDecomposer (const polyMesh &mesh, const polyMesh &procMesh, const labelList &faceProcAddressing, const labelList &cellProcAddressing, const word &cloudName, const Cloud< indexedParticle > &lagrangianPositions, const List< SLList< indexedParticle *> *> &cellParticles) | |
| Construct from components. More... | |
| template<class Type > | |
| tmp< IOField< Type > > | decomposeField (const word &cloudName, const IOField< Type > &field) const |
| Decompose volume field. More... | |
| template<class Type > | |
| tmp< CompactIOField< Field< Type >, Type > > | decomposeFieldField (const word &cloudName, const CompactIOField< Field< Type >, Type > &field) const |
| template<class GeoField > | |
| void | decomposeFields (const word &cloudName, const PtrList< GeoField > &fields) const |
| template<class GeoField > | |
| void | decomposeFieldFields (const word &cloudName, const PtrList< GeoField > &fields) const |
| template<class Type > | |
| Foam::tmp< Foam::IOField< Type > > | decomposeField (const word &cloudName, const IOField< Type > &field) const |
| template<class Type > | |
| Foam::tmp< Foam::CompactIOField< Foam::Field< Type >, Type > > | decomposeFieldField (const word &cloudName, const CompactIOField< Field< Type >, Type > &field) const |
Static Public Member Functions | |
| template<class Type > | |
| static void | readFields (const label cloudi, const IOobjectList &lagrangianObjects, PtrList< PtrList< IOField< Type >>> &cloudFields) |
| Read the fields and store on the pointer list. More... | |
| template<class Type > | |
| static void | readFieldFields (const label cloudi, const IOobjectList &lagrangianObjects, PtrList< PtrList< CompactIOField< Field< Type >, Type >>> &cloudFields) |
| Read the field-fields and store on the pointer list. More... | |
Lagrangian field decomposer.
Definition at line 56 of file lagrangianFieldDecomposer.H.
| lagrangianFieldDecomposer | ( | const polyMesh & | mesh, |
| const polyMesh & | procMesh, | ||
| const labelList & | faceProcAddressing, | ||
| const labelList & | cellProcAddressing, | ||
| const word & | cloudName, | ||
| const Cloud< indexedParticle > & | lagrangianPositions, | ||
| const List< SLList< indexedParticle *> *> & | cellParticles | ||
| ) |
Construct from components.
Definition at line 30 of file lagrangianFieldDecomposer.C.
References Foam::abort(), particle< Type >::coordinates(), Foam::FatalError, FatalErrorInFunction, forAll, forAllConstIters(), indexedParticle::index(), Foam::mag(), Foam::nl, Foam::constant::mathematical::pi(), particle< Type >::procTetPt(), UList< T >::size(), particle< Type >::tetFace(), and Foam::vtk::write().

|
static |
Read the fields and store on the pointer list.
Definition at line 29 of file lagrangianFieldDecomposerReadFields.C.
References io(), UPtrList< T >::size(), and IOobjectList::sorted().

|
static |
Read the field-fields and store on the pointer list.
Definition at line 59 of file lagrangianFieldDecomposerReadFields.C.
References UPtrList< T >::append(), io(), UPtrList< T >::size(), Foam::sort(), and IOobjectList::sorted().

Decompose volume field.
| tmp<CompactIOField<Field<Type>, Type> > decomposeFieldField | ( | const word & | cloudName, |
| const CompactIOField< Field< Type >, Type > & | field | ||
| ) | const |
Definition at line 83 of file lagrangianFieldDecomposerTemplates.C.
References cloudName(), fields, fld, and Foam::vtk::write().

Definition at line 99 of file lagrangianFieldDecomposerTemplates.C.
References cloudName(), fields, fld, and Foam::vtk::write().

| Foam::tmp<Foam::IOField<Type> > decomposeField | ( | const word & | cloudName, |
| const IOField< Type > & | field | ||
| ) | const |
Definition at line 30 of file lagrangianFieldDecomposerTemplates.C.
References cloudName(), field(), and Foam::New().

| Foam::tmp<Foam::CompactIOField<Foam::Field<Type>, Type> > decomposeFieldField | ( | const word & | cloudName, |
| const CompactIOField< Field< Type >, Type > & | field | ||
| ) | const |
Definition at line 57 of file lagrangianFieldDecomposerTemplates.C.
References cloudName(), field(), and Foam::New().

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