Classes | Public Member Functions | Static Public Member Functions | List of all members
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

Lagrangian field decomposer.

Source files

Definition at line 56 of file lagrangianFieldDecomposer.H.

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 
)

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 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 59 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 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: