LagrangianFieldDecomposer Class Reference

Lagrangian field decomposer. More...

Public Member Functions

 LagrangianFieldDecomposer (const fvMesh &completeFvMesh, const PtrList< fvMesh > &procFvMeshes, const labelListList &faceProcAddressing, const labelListList &cellProcAddressing, const word &LagrangianName)
 Construct from components. More...
 
 LagrangianFieldDecomposer (const LagrangianFieldDecomposer &)=delete
 Disallow default bitwise copy construction. More...
 
 ~LagrangianFieldDecomposer ()
 Destructor. More...
 
const PtrList< LagrangianMesh > & procMeshes () const
 Access the decomposed meshes. More...
 
void decomposePositions () const
 Write the decomposed positions. More...
 
template<class GeoField >
PtrList< GeoField > decomposeField (const IOobject &) const
 Read and decompose a field. More...
 
template<class GeoField >
void decomposeFields (const IOobjectList &objects) const
 Read, decompose and write all Lagrangian fields. More...
 
void operator= (const LagrangianFieldDecomposer &)=delete
 Disallow default bitwise assignment. More...
 
template<class GeoField >
Foam::PtrList< GeoField > decomposeField (const IOobject &fieldIo) const
 

Static Public Member Functions

static bool decomposes (const IOobjectList &objects)
 Return whether anything in the object list gets decomposed. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ LagrangianFieldDecomposer() [1/2]

LagrangianFieldDecomposer ( const fvMesh completeFvMesh,
const PtrList< fvMesh > &  procFvMeshes,
const labelListList faceProcAddressing,
const labelListList cellProcAddressing,
const word LagrangianName 
)

◆ LagrangianFieldDecomposer() [2/2]

Disallow default bitwise copy construction.

◆ ~LagrangianFieldDecomposer()

Destructor.

Definition at line 170 of file LagrangianFieldDecomposer.C.

Member Function Documentation

◆ decomposes()

bool decomposes ( const IOobjectList objects)
static

Return whether anything in the object list gets decomposed.

Definition at line 192 of file LagrangianFieldDecomposer.C.

References DECOMPOSES_LAGRANGIAN_FIELDS_TYPE, and Foam::FOR_ALL_FIELD_TYPES().

Here is the call graph for this function:

◆ procMeshes()

const Foam::PtrList< Foam::LagrangianMesh > & procMeshes ( ) const

Access the decomposed meshes.

Definition at line 177 of file LagrangianFieldDecomposer.C.

◆ decomposePositions()

void decomposePositions ( ) const

Write the decomposed positions.

Definition at line 183 of file LagrangianFieldDecomposer.C.

References forAll.

◆ decomposeField() [1/2]

PtrList<GeoField> decomposeField ( const IOobject ) const

Read and decompose a field.

◆ decomposeFields()

void decomposeFields ( const IOobjectList objects) const

Read, decompose and write all Lagrangian fields.

Definition at line 197 of file LagrangianFieldDecomposerTemplates.C.

References Foam::endl(), fields, forAll, forAllConstIter, Foam::Info, Foam::nl, and objects.

Here is the call graph for this function:

◆ operator=()

void operator= ( const LagrangianFieldDecomposer )
delete

Disallow default bitwise assignment.

◆ decomposeField() [2/2]

Foam::PtrList<GeoField> decomposeField ( const IOobject fieldIo) const

Definition at line 171 of file LagrangianFieldDecomposerTemplates.C.

References IOobject::MUST_READ, IOobject::name(), and IOobject::NO_WRITE.

Here is the call graph for this function:

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