fvFieldReconstructor Class Reference

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

Classes

class  fvPatchFieldReconstructor
 Mapper for sizing only - does not do any actual mapping. More...
 

Public Member Functions

 fvFieldReconstructor (fvMesh &mesh, const PtrList< fvMesh > &procMeshes, const PtrList< labelIOList > &faceProcAddressing, const PtrList< labelIOList > &cellProcAddressing, const PtrList< labelIOList > &boundaryProcAddressing)
 Construct from components. More...
 
 fvFieldReconstructor (const fvFieldReconstructor &)=delete
 Disallow default bitwise copy construction. More...
 
label nReconstructed () const
 Return number of fields reconstructed. More...
 
template<class Type >
tmp< DimensionedField< Type, volMesh > > reconstructFvVolumeInternalField (const IOobject &fieldIoObject, const PtrList< DimensionedField< Type, volMesh >> &procFields) const
 Reconstruct volume internal field. More...
 
template<class Type >
tmp< DimensionedField< Type, volMesh > > reconstructFvVolumeInternalField (const IOobject &fieldIoObject) const
 Read and reconstruct volume internal field. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > reconstructFvVolumeField (const IOobject &fieldIoObject, const PtrList< GeometricField< Type, fvPatchField, volMesh >> &) const
 Reconstruct volume field. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > reconstructFvVolumeField (const IOobject &fieldIoObject) const
 Read and reconstruct volume field. More...
 
template<class Type >
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > reconstructFvSurfaceField (const IOobject &fieldIoObject, const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> &) const
 Reconstruct surface field. More...
 
template<class Type >
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > reconstructFvSurfaceField (const IOobject &fieldIoObject) const
 Read and reconstruct surface field. More...
 
template<class Type >
void reconstructFvVolumeInternalFields (const IOobjectList &objects, const HashSet< word > &selectedFields)
 Read, reconstruct and write all/selected volume internal fields. More...
 
template<class Type >
void reconstructFvVolumeFields (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 > > reconstructFvVolumeInternalField (const IOobject &fieldIoObject, const PtrList< DimensionedField< Type, volMesh >> &procFields) const
 
template<class Type >
Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > reconstructFvVolumeInternalField (const IOobject &fieldIoObject) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > reconstructFvVolumeField (const IOobject &fieldIoObject, const PtrList< GeometricField< Type, fvPatchField, volMesh >> &procFields) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > reconstructFvVolumeField (const IOobject &fieldIoObject) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > reconstructFvSurfaceField (const IOobject &fieldIoObject, const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> &procFields) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > reconstructFvSurfaceField (const IOobject &fieldIoObject) const
 

Detailed Description

Finite volume reconstructor for volume and surface fields.

Source files

Definition at line 55 of file fvFieldReconstructor.H.

Constructor & Destructor Documentation

◆ fvFieldReconstructor() [1/2]

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

Construct from components.

Definition at line 31 of file fvFieldReconstructor.C.

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

Referenced by fvFieldReconstructor::fvPatchFieldReconstructor::fvPatchFieldReconstructor().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fvFieldReconstructor() [2/2]

Disallow default bitwise copy construction.

Member Function Documentation

◆ nReconstructed()

◆ reconstructFvVolumeInternalField() [1/4]

tmp<DimensionedField<Type, volMesh> > reconstructFvVolumeInternalField ( const IOobject fieldIoObject,
const PtrList< DimensionedField< Type, volMesh >> &  procFields 
) const

Reconstruct volume internal field.

Referenced by fvFieldReconstructor::nReconstructed(), and fvFieldReconstructor::reconstructFvVolumeInternalField().

Here is the caller graph for this function:

◆ reconstructFvVolumeInternalField() [2/4]

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

Read and reconstruct volume internal field.

◆ reconstructFvVolumeField() [1/4]

tmp<GeometricField<Type, fvPatchField, volMesh> > reconstructFvVolumeField ( const IOobject fieldIoObject,
const PtrList< GeometricField< Type, fvPatchField, volMesh >> &   
) const

Reconstruct volume field.

Referenced by fvFieldReconstructor::nReconstructed(), fvFieldReconstructor::reconstructFvVolumeField(), and fvFieldReconstructor::reconstructFvVolumeInternalField().

Here is the caller graph for this function:

◆ reconstructFvVolumeField() [2/4]

tmp<GeometricField<Type, fvPatchField, volMesh> > reconstructFvVolumeField ( const IOobject fieldIoObject) const

Read and reconstruct volume field.

◆ reconstructFvSurfaceField() [1/4]

tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > reconstructFvSurfaceField ( const IOobject fieldIoObject,
const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> &   
) const

Reconstruct surface field.

Referenced by fvFieldReconstructor::nReconstructed(), fvFieldReconstructor::reconstructFvSurfaceField(), and fvFieldReconstructor::reconstructFvVolumeField().

Here is the caller graph for this function:

◆ reconstructFvSurfaceField() [2/4]

tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > reconstructFvSurfaceField ( const IOobject fieldIoObject) const

Read and reconstruct surface field.

◆ reconstructFvVolumeInternalFields()

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

◆ reconstructFvVolumeFields()

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

◆ reconstructFvSurfaceFields()

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

Read, reconstruct and write all/selected surface fields.

Definition at line 678 of file fvFieldReconstructorReconstructFields.C.

References HashTable< nil, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter(), HashTable< nil, Key, Hash >::found(), Foam::Info, IOobjectList::lookupClass(), Foam::name(), HashTable< T, Key, Hash >::size(), and Ostream::write().

Referenced by fvFieldReconstructor::nReconstructed(), and fvFieldReconstructor::reconstructFvVolumeFields().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void operator= ( const fvFieldReconstructor )
delete

Disallow default bitwise assignment.

Referenced by fvFieldReconstructor::nReconstructed().

Here is the caller graph for this function:

◆ reconstructFvVolumeInternalField() [3/4]

Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructFvVolumeInternalField ( const IOobject fieldIoObject,
const PtrList< DimensionedField< Type, volMesh >> &  procFields 
) const

◆ reconstructFvVolumeInternalField() [4/4]

Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructFvVolumeInternalField ( const IOobject fieldIoObject) const

Definition at line 75 of file fvFieldReconstructorReconstructFields.C.

References forAll, IOobject::name(), and fvFieldReconstructor::reconstructFvVolumeField().

Here is the call graph for this function:

◆ reconstructFvVolumeField() [3/4]

◆ reconstructFvVolumeField() [4/4]

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > reconstructFvVolumeField ( const IOobject fieldIoObject) const

Definition at line 304 of file fvFieldReconstructorReconstructFields.C.

References forAll, IOobject::name(), and fvFieldReconstructor::reconstructFvSurfaceField().

Here is the call graph for this function:

◆ reconstructFvSurfaceField() [3/4]

◆ reconstructFvSurfaceField() [4/4]

Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > reconstructFvSurfaceField ( const IOobject fieldIoObject) const

Definition at line 558 of file fvFieldReconstructorReconstructFields.C.

References forAll, IOobject::name(), and fvFieldReconstructor::reconstructFvVolumeInternalFields().

Here is the call graph for this function:

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