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 30 of file lagrangianFieldDecomposer.C.

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 29 of file lagrangianFieldDecomposerReadFields.C.

References IOobjectList::csorted(), forAll, and UPtrList< T >::size().

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 53 of file lagrangianFieldDecomposerReadFields.C.

References IOobjectList::cobjects(), forAll, UPtrList< T >::push_back(), UPtrList< T >::size(), and Foam::sort().

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 83 of file lagrangianFieldDecomposerTemplates.C.

References cloudName(), fields, fld, and Foam::vtk::write().

Here is the call graph for this function:

◆ decomposeFieldFields()

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

Definition at line 99 of file lagrangianFieldDecomposerTemplates.C.

References cloudName(), fields, fld, and Foam::vtk::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 30 of file lagrangianFieldDecomposerTemplates.C.

References cloudName(), field(), and Foam::New().

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 57 of file lagrangianFieldDecomposerTemplates.C.

References cloudName(), field(), and Foam::New().

Here is the call graph for this function:

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