fvFieldReconstructor Class Reference

Finite volume reconstructor for volume and surface fields. More...

Public Member Functions

 fvFieldReconstructor (const fvMesh &mesh, const PtrList< fvMesh > &procMeshes, const labelListList &faceProcAddressing, const labelListList &cellProcAddressing, const PtrList< surfaceLabelField::Boundary > &faceProcAddressingBf)
 Construct from components. More...
 
 fvFieldReconstructor (const fvFieldReconstructor &)=delete
 Disallow default bitwise copy construction. More...
 
template<class Type >
tmp< DimensionedField< Type, volMesh > > reconstructVolInternalField (const IOobject &fieldIoObject) const
 Read and reconstruct a volume internal field. More...
 
template<class Type >
tmp< VolField< Type > > reconstructVolField (const IOobject &fieldIoObject) const
 Read and reconstruct a volume field. More...
 
template<class Type >
tmp< SurfaceField< Type > > reconstructFvSurfaceField (const IOobject &fieldIoObject) const
 Read and reconstruct a surface field. More...
 
template<class Type >
void reconstructVolInternalFields (const IOobjectList &objects, const HashSet< word > &selectedFields)
 Read, reconstruct and write all/selected volume internal fields. More...
 
template<class Type >
void reconstructVolFields (const IOobjectList &objects, const HashSet< word > &selectedFields)
 Read, reconstruct and write all/selected volume fields. More...
 
template<class Type >
void reconstructFvSurfaceFields (const IOobjectList &objects, const HashSet< word > &selectedFields)
 Read, reconstruct and write all/selected surface fields. More...
 
void operator= (const fvFieldReconstructor &)=delete
 Disallow default bitwise assignment. More...
 
template<class Type >
Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > reconstructVolInternalField (const IOobject &fieldIoObject) const
 
template<class Type >
Foam::tmp< Foam::VolField< Type > > reconstructVolField (const IOobject &fieldIoObject) const
 
template<class Type >
Foam::tmp< Foam::SurfaceField< Type > > reconstructFvSurfaceField (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

Finite volume reconstructor for volume and surface fields.

Source files

Definition at line 52 of file fvFieldReconstructor.H.

Constructor & Destructor Documentation

◆ fvFieldReconstructor() [1/2]

fvFieldReconstructor ( const fvMesh mesh,
const PtrList< fvMesh > &  procMeshes,
const labelListList faceProcAddressing,
const labelListList cellProcAddressing,
const PtrList< surfaceLabelField::Boundary > &  faceProcAddressingBf 
)

Construct from components.

Definition at line 58 of file fvFieldReconstructor.C.

References fvMesh::boundary(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, primitiveMesh::nCells(), primitiveMesh::nFaces(), UPtrList< T >::size(), and List< T >::size().

Here is the call graph for this function:

◆ fvFieldReconstructor() [2/2]

Disallow default bitwise copy construction.

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 99 of file fvFieldReconstructor.C.

References DO_FV_FIELDS_TYPE, and Foam::FOR_ALL_FIELD_TYPES().

Here is the call graph for this function:

◆ reconstructVolInternalField() [1/2]

tmp<DimensionedField<Type, volMesh> > reconstructVolInternalField ( const IOobject fieldIoObject) const

Read and reconstruct a volume internal field.

◆ reconstructVolField() [1/2]

tmp<VolField<Type> > reconstructVolField ( const IOobject fieldIoObject) const

Read and reconstruct a volume field.

◆ reconstructFvSurfaceField() [1/2]

tmp<SurfaceField<Type> > reconstructFvSurfaceField ( const IOobject fieldIoObject) const

Read and reconstruct a surface field.

◆ reconstructVolInternalFields()

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

Read, reconstruct and write all/selected volume internal fields.

Definition at line 458 of file fvFieldReconstructorTemplates.C.

References HashTable< T, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter, HashTable< T, Key, Hash >::found(), Foam::Info, Foam::name(), Foam::nl, objects, and Foam::vtkWriteOps::write().

Here is the call graph for this function:

◆ reconstructVolFields()

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

Read, reconstruct and write all/selected volume fields.

Definition at line 491 of file fvFieldReconstructorTemplates.C.

References HashTable< T, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter, HashTable< T, Key, Hash >::found(), Foam::Info, Foam::name(), Foam::nl, objects, and Foam::vtkWriteOps::write().

Here is the call graph for this function:

◆ reconstructFvSurfaceFields()

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

Read, reconstruct and write all/selected surface fields.

Definition at line 525 of file fvFieldReconstructorTemplates.C.

References HashTable< T, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter, HashTable< T, Key, Hash >::found(), Foam::Info, Foam::name(), Foam::nl, objects, and Foam::vtkWriteOps::write().

Here is the call graph for this function:

◆ operator=()

void operator= ( const fvFieldReconstructor )
delete

Disallow default bitwise assignment.

◆ reconstructVolInternalField() [2/2]

◆ reconstructVolField() [2/2]

◆ reconstructFvSurfaceField() [2/2]


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