lagrangianReconstructor Class Reference

Reconstructor for lagrangian positions and fields. More...

Public Member Functions

 lagrangianReconstructor (const fvMesh &mesh, const PtrList< fvMesh > &procMeshes, const PtrList< labelIOList > &faceProcAddressing, const PtrList< labelIOList > &cellProcAddressing)
 Construct from components. More...
 
label reconstructPositions (const word &cloudName) const
 Reconstruct positions for given cloud. More...
 
template<class Type >
tmp< IOField< Type > > reconstructField (const word &cloudName, const word &fieldName)
 Reconstruct a single field for given cloud. More...
 
template<class Type >
tmp< CompactIOField< Field< Type >, Type > > reconstructFieldField (const word &cloudName, const word &fieldName)
 Reconstruct a single field-field for given cloud. More...
 
template<class Type >
label reconstructFields (const word &cloudName, const IOobjectList &objects, const UList< word > &fieldNames)
 Reconstruct multiple fields for given cloud. More...
 
template<class Type >
label reconstructFields (const word &cloudName, const IOobjectList &objects, const wordRes &selectedFields=wordRes())
 Reconstruct multiple fields for given cloud. More...
 
template<class Type >
label reconstructFieldFields (const word &cloudName, const IOobjectList &objects, const wordRes &selectedFields=wordRes())
 Reconstruct multiple field-field for given cloud. More...
 
template<class Type >
Foam::tmp< Foam::IOField< Type > > reconstructField (const word &cloudName, const word &fieldName)
 
template<class Type >
Foam::tmp< Foam::CompactIOField< Foam::Field< Type >, Type > > reconstructFieldField (const word &cloudName, const word &fieldName)
 
template<class Type >
Foam::label reconstructFields (const word &cloudName, const IOobjectList &objects, const UList< word > &fieldNames)
 
template<class Type >
Foam::label reconstructFields (const word &cloudName, const IOobjectList &objects, const wordRes &selectedFields)
 
template<class Type >
Foam::label reconstructFieldFields (const word &cloudName, const IOobjectList &objects, const wordRes &selectedFields)
 

Detailed Description

Reconstructor for lagrangian positions and fields.

Source files

Definition at line 56 of file lagrangianReconstructor.H.

Constructor & Destructor Documentation

◆ lagrangianReconstructor()

lagrangianReconstructor ( const fvMesh mesh,
const PtrList< fvMesh > &  procMeshes,
const PtrList< labelIOList > &  faceProcAddressing,
const PtrList< labelIOList > &  cellProcAddressing 
)

Construct from components.

Definition at line 36 of file lagrangianReconstructor.C.

Member Function Documentation

◆ reconstructPositions()

Foam::label reconstructPositions ( const word cloudName) const

Reconstruct positions for given cloud.

Definition at line 53 of file lagrangianReconstructor.C.

References particle< Type >::cell(), cloudName(), particle< Type >::coordinates(), Foam::faceMap(), forAll, forAllConstIters(), Foam::mag(), particle< Type >::procTetPt(), particle< Type >::tetFace(), and Foam::vtk::write().

Here is the call graph for this function:

◆ reconstructField() [1/2]

tmp<IOField<Type> > reconstructField ( const word cloudName,
const word fieldName 
)

Reconstruct a single field for given cloud.

◆ reconstructFieldField() [1/2]

tmp<CompactIOField<Field<Type>, Type> > reconstructFieldField ( const word cloudName,
const word fieldName 
)

Reconstruct a single field-field for given cloud.

◆ reconstructFields() [1/4]

label reconstructFields ( const word cloudName,
const IOobjectList objects,
const UList< word > &  fieldNames 
)

Reconstruct multiple fields for given cloud.

◆ reconstructFields() [2/4]

label reconstructFields ( const word cloudName,
const IOobjectList objects,
const wordRes selectedFields = wordRes() 
)

Reconstruct multiple fields for given cloud.

◆ reconstructFieldFields() [1/2]

label reconstructFieldFields ( const word cloudName,
const IOobjectList objects,
const wordRes selectedFields = wordRes() 
)

Reconstruct multiple field-field for given cloud.

◆ reconstructField() [2/2]

Foam::tmp<Foam::IOField<Type> > reconstructField ( const word cloudName,
const word fieldName 
)

Definition at line 38 of file lagrangianReconstructorFields.C.

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

Here is the call graph for this function:

◆ reconstructFieldField() [2/2]

Foam::tmp<Foam::CompactIOField<Foam::Field<Type>, Type> > reconstructFieldField ( const word cloudName,
const word fieldName 
)

Definition at line 93 of file lagrangianReconstructorFields.C.

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

Here is the call graph for this function:

◆ reconstructFields() [3/4]

Foam::label reconstructFields ( const word cloudName,
const IOobjectList objects,
const UList< word > &  fieldNames 
)

Definition at line 154 of file lagrangianReconstructorFields.C.

References IOobjectList::cfindObject(), cloudName(), Foam::endl(), fieldNames(), Foam::Info, Foam::nl, and Foam::vtk::write().

Here is the call graph for this function:

◆ reconstructFields() [4/4]

Foam::label reconstructFields ( const word cloudName,
const IOobjectList objects,
const wordRes selectedFields 
)

Definition at line 186 of file lagrangianReconstructorFields.C.

References cloudName(), fieldNames(), and IOobjectList::sortedNames().

Here is the call graph for this function:

◆ reconstructFieldFields() [2/2]

Foam::label reconstructFieldFields ( const word cloudName,
const IOobjectList objects,
const wordRes selectedFields 
)

Definition at line 207 of file lagrangianReconstructorFields.C.

References cloudName(), Foam::endl(), fieldNames(), Foam::Info, IOobjectList::names(), Foam::nl, Foam::sort(), and Foam::vtk::write().

Here is the call graph for this function:

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