39#ifndef Foam_fvFieldReconstructor_H
40#define Foam_fvFieldReconstructor_H
57class fvFieldReconstructor
77 label nReconstructed_;
83 fvFieldReconstructor(
const fvFieldReconstructor&) =
delete;
86 void operator=(
const fvFieldReconstructor&) =
delete;
159 return nReconstructed_;
272 #include "fvFieldReconstructor.txx"
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable,...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static const UList< label > & null() noexcept
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Mapper for sizing only - does not do any actual mapping.
bool hasUnmapped() const
Any unmapped values?
bool direct() const
Is it a direct (non-interpolating) mapper?
label size() const
The size of the mapper.
const labelUList & directAddressing() const
Return the direct addressing values.
fvPatchFieldReconstructor(const label size)
Construct given size.
label reconstructInternalFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Read, reconstruct and write all/selected volume internal fields.
fvFieldReconstructor(fvMesh &mesh, const UPtrList< fvMesh > &procMeshes, const UPtrList< labelIOList > &faceProcAddressing, const UPtrList< labelIOList > &cellProcAddressing, const UPtrList< labelIOList > &boundaryProcAddressing)
Construct from components.
tmp< DimensionedField< Type, volMesh > > reconstructField(const IOobject &fieldObject, const UPtrList< DimensionedField< Type, volMesh > > &procFields) const
Reconstruct volume internal field.
tmp< GeometricField< Type, fvPatchField, volMesh > > reconstructVolumeField(const IOobject &fieldObject) const
Read and reconstruct volume field.
label reconstructVolumeFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Read, reconstruct and write all/selected volume fields.
label reconstructInternalFields(const UPtrList< const IOobject > &fieldObjects)
Read, reconstruct and write specified volume internal fields.
tmp< GeometricField< Type, fvPatchField, volMesh > > reconstructField(const IOobject &fieldObject, const UPtrList< GeometricField< Type, fvPatchField, volMesh > > &) const
Reconstruct volume field.
label reconstructVolumeFields(const UPtrList< const IOobject > &fieldObjects)
Read, reconstruct and write specified volume fields.
label reconstructAllFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Reconstruct all known field types.
label reconstructSurfaceFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Read, reconstruct and write all/selected surface fields.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > reconstructSurfaceField(const IOobject &fieldObject) const
Read and reconstruct surface field.
label nReconstructed() const noexcept
Return number of fields reconstructed.
static int verbose_
Output verbosity when writing.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > reconstructField(const IOobject &fieldObject, const UPtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &) const
Reconstruct surface field.
label reconstructSurfaceFields(const UPtrList< const IOobject > &fieldObjects)
Read, reconstruct and write specified surface fields.
tmp< DimensionedField< Type, volMesh > > reconstructInternalField(const IOobject &fieldObject) const
Read and reconstruct volume internal field.
Mesh data needed to do the Finite Volume discretisation.
A FieldMapper for finite-volume patch fields.
fvPatchFieldMapper()=default
Default construct.
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
UList< label > labelUList
A UList of labels.