Classes | Public Member Functions | List of all members
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...
 
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...
 
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 54 of file fvFieldReconstructor.H.

Constructor & Destructor Documentation

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, FatalErrorIn, forAll, primitiveMesh::nCells(), primitiveMesh::nFaces(), and PtrList< T >::size().

Here is the call graph for this function:

Member Function Documentation

label nReconstructed ( ) const
inline
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:

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

Read and reconstruct volume internal field.

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:

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

Read and reconstruct volume field.

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:

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

Read and reconstruct surface field.

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

Read, reconstruct and write all/selected surface fields.

Definition at line 668 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:

Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructFvVolumeInternalField ( const IOobject fieldIoObject,
const PtrList< DimensionedField< Type, volMesh > > &  procFields 
) const
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:

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

Definition at line 309 of file fvFieldReconstructorReconstructFields.C.

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

Here is the call graph for this function:

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

Definition at line 550 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: