lagrangianFieldDecomposer Class Reference

Lagrangian field decomposer. More...

Public Member Functions

 lagrangianFieldDecomposer (const fvMesh &completeMesh, const PtrList< fvMesh > &procMeshes, const labelListList &faceProcAddressing, const labelListList &cellProcAddressing, const word &cloudName)
 Construct from components. More...
 
 lagrangianFieldDecomposer (const lagrangianFieldDecomposer &)=delete
 Disallow default bitwise copy construction. More...
 
 ~lagrangianFieldDecomposer ()
 Destructor. More...
 
const PtrList< passiveParticleCloud > & procClouds () const
 Access the decomposed clouds. More...
 
void decomposePositions () const
 Write the decomposed positions. More...
 
template<class Type , template< class > class ReadIOContainer, template< class > class IOContainer>
PtrList< IOContainer< Type > > decomposeField (const IOobject &) const
 Read and Decompose a field. More...
 
template<class Type >
void decomposeFields (const IOobjectList &objects) const
 Read, decompose and write all fields. More...
 
void operator= (const lagrangianFieldDecomposer &)=delete
 Disallow default bitwise assignment. More...
 
template<class Type , template< class > class ReadIOContainer, template< class > class IOContainer>
Foam::PtrList< IOContainer< Type > > decomposeField (const IOobject &fieldIoObject) 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 completeMesh,
const PtrList< fvMesh > &  procMeshes,
const labelListList faceProcAddressing,
const labelListList cellProcAddressing,
const word cloudName 
)

Construct from components.

Definition at line 31 of file lagrangianFieldDecomposer.C.

References forAll, forAllConstIter, Foam::mag(), primitiveMesh::nCells(), primitiveMesh::nFaces(), p, and List< T >::resize().

Here is the call graph for this function:

◆ lagrangianFieldDecomposer() [2/2]

Disallow default bitwise copy construction.

◆ ~lagrangianFieldDecomposer()

Destructor.

Definition at line 153 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 159 of file lagrangianFieldDecomposer.C.

References DO_LAGRANGIAN_FIELDS_TYPE, and Foam::FOR_ALL_FIELD_TYPES().

Here is the call graph for this function:

◆ procClouds()

const Foam::PtrList< Foam::passiveParticleCloud > & procClouds ( ) const

Access the decomposed clouds.

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, and IOPosition< CloudType >::write().

Here is the call graph for this function:

◆ decomposeField() [1/2]

PtrList<IOContainer<Type> > decomposeField ( const IOobject ) const

Read and Decompose a field.

◆ decomposeFields()

void decomposeFields ( const IOobjectList objects) const

Read, decompose and write all fields.

Definition at line 117 of file lagrangianFieldDecomposerTemplates.C.

References objects.

◆ operator=()

void operator= ( const lagrangianFieldDecomposer )
delete

Disallow default bitwise assignment.

◆ decomposeField() [2/2]

Foam::PtrList<IOContainer<Type> > decomposeField ( const IOobject fieldIoObject) const

Definition at line 80 of file lagrangianFieldDecomposerTemplates.C.

References forAll, IOobject::NO_READ, IOobject::NO_WRITE, cloud::prefix, and PtrList< T >::set().

Here is the call graph for this function:

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