Loading...
Searching...
No Matches
fvFieldReconstructor Class Reference

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

#include <fvFieldReconstructor.H>

Classes

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

Public Member Functions

 fvFieldReconstructor (fvMesh &mesh, const UPtrList< fvMesh > &procMeshes, const UPtrList< labelIOList > &faceProcAddressing, const UPtrList< labelIOList > &cellProcAddressing, const UPtrList< labelIOList > &boundaryProcAddressing)
 Construct from components.
label nReconstructed () const noexcept
 Return number of fields reconstructed.
template<class Type>
tmp< DimensionedField< Type, volMesh > > reconstructField (const IOobject &fieldObject, const UPtrList< DimensionedField< Type, volMesh > > &procFields) const
 Reconstruct volume internal field.
template<class Type>
tmp< DimensionedField< Type, volMesh > > reconstructInternalField (const IOobject &fieldObject) const
 Read and reconstruct volume internal field.
template<class Type>
tmp< GeometricField< Type, fvPatchField, volMesh > > reconstructField (const IOobject &fieldObject, const UPtrList< GeometricField< Type, fvPatchField, volMesh > > &) const
 Reconstruct volume field.
template<class Type>
tmp< GeometricField< Type, fvPatchField, volMesh > > reconstructVolumeField (const IOobject &fieldObject) const
 Read and reconstruct volume field.
template<class Type>
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > reconstructField (const IOobject &fieldObject, const UPtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &) const
 Reconstruct surface field.
template<class Type>
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > reconstructSurfaceField (const IOobject &fieldObject) const
 Read and reconstruct surface field.
template<class Type>
label reconstructInternalFields (const UPtrList< const IOobject > &fieldObjects)
 Read, reconstruct and write specified volume internal fields.
template<class Type>
label reconstructVolumeFields (const UPtrList< const IOobject > &fieldObjects)
 Read, reconstruct and write specified volume fields.
template<class Type>
label reconstructSurfaceFields (const UPtrList< const IOobject > &fieldObjects)
 Read, reconstruct and write specified surface fields.
template<class Type>
label reconstructInternalFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes())
 Read, reconstruct and write all/selected volume internal fields.
template<class Type>
label reconstructVolumeFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes())
 Read, reconstruct and write all/selected volume fields.
template<class Type>
label reconstructSurfaceFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes())
 Read, reconstruct and write all/selected surface fields.
label reconstructAllFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes())
 Reconstruct all known field types.

Static Public Attributes

static int verbose_
 Output verbosity when writing.

Detailed Description

Finite volume reconstructor for volume and surface fields.

Source files

Definition at line 52 of file fvFieldReconstructor.H.

Constructor & Destructor Documentation

◆ fvFieldReconstructor()

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

Construct from components.

References mesh.

Member Function Documentation

◆ nReconstructed()

label nReconstructed ( ) const
inlinenoexcept

Return number of fields reconstructed.

Definition at line 178 of file fvFieldReconstructor.H.

References Foam::noexcept.

◆ reconstructField() [1/3]

template<class Type>
tmp< DimensionedField< Type, volMesh > > reconstructField ( const IOobject & fieldObject,
const UPtrList< DimensionedField< Type, volMesh > > & procFields ) const

Reconstruct volume internal field.

◆ reconstructInternalField()

template<class Type>
tmp< DimensionedField< Type, volMesh > > reconstructInternalField ( const IOobject & fieldObject) const

Read and reconstruct volume internal field.

◆ reconstructField() [2/3]

template<class Type>
tmp< GeometricField< Type, fvPatchField, volMesh > > reconstructField ( const IOobject & fieldObject,
const UPtrList< GeometricField< Type, fvPatchField, volMesh > > &  ) const

Reconstruct volume field.

◆ reconstructVolumeField()

template<class Type>
tmp< GeometricField< Type, fvPatchField, volMesh > > reconstructVolumeField ( const IOobject & fieldObject) const

Read and reconstruct volume field.

◆ reconstructField() [3/3]

template<class Type>
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > reconstructField ( const IOobject & fieldObject,
const UPtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &  ) const

Reconstruct surface field.

◆ reconstructSurfaceField()

template<class Type>
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > reconstructSurfaceField ( const IOobject & fieldObject) const

Read and reconstruct surface field.

◆ reconstructInternalFields() [1/2]

template<class Type>
label reconstructInternalFields ( const UPtrList< const IOobject > & fieldObjects)

Read, reconstruct and write specified volume internal fields.

◆ reconstructVolumeFields() [1/2]

template<class Type>
label reconstructVolumeFields ( const UPtrList< const IOobject > & fieldObjects)

Read, reconstruct and write specified volume fields.

◆ reconstructSurfaceFields() [1/2]

template<class Type>
label reconstructSurfaceFields ( const UPtrList< const IOobject > & fieldObjects)

Read, reconstruct and write specified surface fields.

◆ reconstructInternalFields() [2/2]

template<class Type>
label reconstructInternalFields ( const IOobjectList & objects,
const wordRes & selectedFields = wordRes() )

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

An empty wordRes corresponds to select ALL.

◆ reconstructVolumeFields() [2/2]

template<class Type>
label reconstructVolumeFields ( const IOobjectList & objects,
const wordRes & selectedFields = wordRes() )

Read, reconstruct and write all/selected volume fields.

An empty wordRes corresponds to select ALL.

◆ reconstructSurfaceFields() [2/2]

template<class Type>
label reconstructSurfaceFields ( const IOobjectList & objects,
const wordRes & selectedFields = wordRes() )

Read, reconstruct and write all/selected surface fields.

An empty wordRes corresponds to select ALL.

◆ reconstructAllFields()

label reconstructAllFields ( const IOobjectList & objects,
const wordRes & selectedFields = wordRes() )

Reconstruct all known field types.

Member Data Documentation

◆ verbose_

int verbose_
static

Output verbosity when writing.

Definition at line 155 of file fvFieldReconstructor.H.


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