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 60 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 35 of file lagrangianFieldDecomposer.C.
References Foam::abort(), particle< Type >::coordinates(), Foam::FatalError, FatalErrorInFunction, UList< T >::find(), forAll, forAllConstIters, indexedParticle::index(), Foam::mag(), Foam::nl, particle< Type >::procTetPt(), List< T >::resize(), UList< T >::size(), particle< Type >::tetFace(), and write().
|
static |
Read the fields and store on the pointer list.
Definition at line 35 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 65 of file lagrangianFieldDecomposerReadFields.C.
References UPtrList< T >::append(), io(), UPtrList< T >::size(), Foam::sort(), and IOobjectList::sorted().
tmp< IOField< Type > > decomposeField | ( | const word & | cloudName, |
const IOField< Type > & | field | ||
) | const |
Decompose volume field.
tmp< CompactIOField< Field< Type >, Type > > decomposeFieldField | ( | const word & | cloudName, |
const CompactIOField< Field< Type >, Type > & | field | ||
) | const |
Definition at line 89 of file lagrangianFieldDecomposerTemplates.C.
References cloudName(), fields, fld(), and write().
Definition at line 105 of file lagrangianFieldDecomposerTemplates.C.
References cloudName(), fields, fld(), and write().
Foam::tmp< Foam::IOField< Type > > decomposeField | ( | const word & | cloudName, |
const IOField< Type > & | field | ||
) | const |
Definition at line 36 of file lagrangianFieldDecomposerTemplates.C.
References cloudName(), field(), Foam::New(), IOobject::NO_READ, IOobject::NO_WRITE, cloud::prefix, objectRegistry::time(), and Time::timeName().
Foam::tmp< Foam::CompactIOField< Foam::Field< Type >, Type > > decomposeFieldField | ( | const word & | cloudName, |
const CompactIOField< Field< Type >, Type > & | field | ||
) | const |
Definition at line 63 of file lagrangianFieldDecomposerTemplates.C.
References cloudName(), field(), Foam::New(), IOobject::NO_READ, IOobject::NO_WRITE, and cloud::prefix.