lagrangianFieldReconstructor Class Reference

Lagrangian field reconstructor. More...

Public Member Functions

 lagrangianFieldReconstructor (const fvMesh &completeMesh, const PtrList< fvMesh > &procMeshes, const labelListList &faceProcAddressing, const labelListList &cellProcAddressing, const word &cloudName)
 Construct from components. More...
 
 lagrangianFieldReconstructor (const lagrangianFieldReconstructor &)=delete
 Disallow default bitwise copy construction. More...
 
 ~lagrangianFieldReconstructor ()
 Destructor. More...
 
autoPtr< passiveParticleCloudcompleteCloud () const
 Generate the reconstructed cloud. More...
 
void reconstructPositions () const
 Write the reconstructed positions. More...
 
template<class Type , template< class > class ReadIOContainer, template< class > class IOContainer>
tmp< IOContainer< Type > > reconstructField (const IOobject &fieldIoObject) const
 Read and reconstruct a field. More...
 
template<class Type >
void reconstructFields (const IOobjectList &objects, const HashSet< word > &selectedFields) const
 Read, reconstruct and write all/selected lagrangian fields. More...
 
void operator= (const lagrangianFieldReconstructor &)=delete
 Disallow default bitwise assignment. More...
 
template<class Type , template< class > class ReadIOContainer, template< class > class IOContainer>
Foam::tmp< IOContainer< Type > > reconstructField (const IOobject &fieldIoObject) const
 

Static Public Member Functions

static bool reconstructs (const IOobjectList &objects, const HashSet< word > &selectedFields)
 Return whether anything in the object list gets reconstructed. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ lagrangianFieldReconstructor() [1/2]

lagrangianFieldReconstructor ( const fvMesh completeMesh,
const PtrList< fvMesh > &  procMeshes,
const labelListList faceProcAddressing,
const labelListList cellProcAddressing,
const word cloudName 
)

Construct from components.

Definition at line 32 of file lagrangianFieldReconstructor.C.

◆ lagrangianFieldReconstructor() [2/2]

Disallow default bitwise copy construction.

◆ ~lagrangianFieldReconstructor()

Destructor.

Definition at line 51 of file lagrangianFieldReconstructor.C.

Member Function Documentation

◆ reconstructs()

bool reconstructs ( const IOobjectList objects,
const HashSet< word > &  selectedFields 
)
static

Return whether anything in the object list gets reconstructed.

Definition at line 57 of file lagrangianFieldReconstructor.C.

References DO_LAGRANGIAN_FIELDS_TYPE, and Foam::FOR_ALL_FIELD_TYPES().

Here is the call graph for this function:

◆ completeCloud()

Foam::autoPtr< Foam::passiveParticleCloud > completeCloud ( ) const

Generate the reconstructed cloud.

Definition at line 79 of file lagrangianFieldReconstructor.C.

References forAll, forAllConstIter, Foam::mag(), and p.

Here is the call graph for this function:

◆ reconstructPositions()

void reconstructPositions ( ) const

Write the reconstructed positions.

Definition at line 136 of file lagrangianFieldReconstructor.C.

References IOPosition< CloudType >::write().

Here is the call graph for this function:

◆ reconstructField() [1/2]

tmp<IOContainer<Type> > reconstructField ( const IOobject fieldIoObject) const

Read and reconstruct a field.

◆ reconstructFields()

void reconstructFields ( const IOobjectList objects,
const HashSet< word > &  selectedFields 
) const

Read, reconstruct and write all/selected lagrangian fields.

Definition at line 165 of file lagrangianFieldReconstructorTemplates.C.

References sf().

Here is the call graph for this function:

◆ operator=()

void operator= ( const lagrangianFieldReconstructor )
delete

Disallow default bitwise assignment.

◆ reconstructField() [2/2]

Foam::tmp<IOContainer<Type> > reconstructField ( const IOobject fieldIoObject) const

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