lagrangianFieldDecomposer Class Reference

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...
 

Detailed Description

Constructor & Destructor Documentation

◆ lagrangianFieldDecomposer()

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().

Here is the call graph for this function:

Member Function Documentation

◆ readFields()

void readFields ( const label  cloudi,
const IOobjectList lagrangianObjects,
PtrList< PtrList< IOField< Type > > > &  cloudFields 
)
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().

Here is the call graph for this function:

◆ readFieldFields()

void readFieldFields ( const label  cloudi,
const IOobjectList lagrangianObjects,
PtrList< PtrList< CompactIOField< Field< Type >, Type > > > &  cloudFields 
)
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().

Here is the call graph for this function:

◆ decomposeField() [1/2]

tmp< IOField< Type > > decomposeField ( const word cloudName,
const IOField< Type > &  field 
) const

Decompose volume field.

◆ decomposeFieldField() [1/2]

tmp< CompactIOField< Field< Type >, Type > > decomposeFieldField ( const word cloudName,
const CompactIOField< Field< Type >, Type > &  field 
) const

◆ decomposeFields()

void decomposeFields ( const word cloudName,
const PtrList< GeoField > &  fields 
) const

Definition at line 89 of file lagrangianFieldDecomposerTemplates.C.

References cloudName(), fields, fld(), and write().

Here is the call graph for this function:

◆ decomposeFieldFields()

void decomposeFieldFields ( const word cloudName,
const PtrList< GeoField > &  fields 
) const

Definition at line 105 of file lagrangianFieldDecomposerTemplates.C.

References cloudName(), fields, fld(), and write().

Here is the call graph for this function:

◆ decomposeField() [2/2]

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().

Here is the call graph for this function:

◆ decomposeFieldField() [2/2]

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.

Here is the call graph for this function:

The documentation for this class was generated from the following files: