43#ifndef Foam_faFieldReconstructor_H
44#define Foam_faFieldReconstructor_H
61class faFieldReconstructor
81 label nReconstructed_;
87 faFieldReconstructor(
const faFieldReconstructor&) =
delete;
90 void operator=(
const faFieldReconstructor&) =
delete;
102 label sizeBeforeMapping_;
129 return sizeBeforeMapping_;
132 virtual bool direct()
const
173 return nReconstructed_;
255# include "faFieldReconstructor.txx"
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...
virtual label size() const
The size of the mapper.
virtual label sizeBeforeMapping() const
virtual bool hasUnmapped() const
Any unmapped values?
virtual const labelUList & directAddressing() const
Return the direct addressing values.
virtual bool direct() const
Is it a direct (non-interpolating) mapper?
faPatchFieldReconstructor(const label size, const label sizeBeforeMapping)
Construct given size.
label reconstructEdgeFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Read, reconstruct and write all/selected edge fields.
tmp< GeometricField< Type, faPatchField, areaMesh > > reconstructField(const IOobject &fieldObject, const UPtrList< GeometricField< Type, faPatchField, areaMesh > > &) const
Reconstruct area field.
tmp< GeometricField< Type, faPatchField, areaMesh > > reconstructAreaField(const IOobject &fieldObject)
Read and reconstruct area field.
tmp< GeometricField< Type, faePatchField, edgeMesh > > reconstructEdgeField(const IOobject &fieldObject)
Read and reconstruct edge field.
label reconstructAllFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Reconstruct all supported area/edge field types.
label reconstructEdgeFields(const UPtrList< const IOobject > &fieldObjects)
Read, reconstruct and write specified edge fields.
faFieldReconstructor(const faMesh &mesh, const UPtrList< faMesh > &procMeshes, const UPtrList< labelIOList > &edgeProcAddressing, const UPtrList< labelIOList > &faceProcAddressing, const UPtrList< labelIOList > &boundaryProcAddressing)
Construct from components.
label nReconstructed() const noexcept
Return number of fields reconstructed.
static int verbose_
Output verbosity when writing.
label reconstructAreaFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Read, reconstruct and write all/selected area fields.
label reconstructAreaFields(const UPtrList< const IOobject > &fieldObjects)
Read, reconstruct and write specified area fields.
tmp< GeometricField< Type, faePatchField, edgeMesh > > reconstructField(const IOobject &fieldObject, const UPtrList< GeometricField< Type, faePatchField, edgeMesh > > &) const
Reconstruct edge field.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
A FieldMapper for finite-area patch fields.
faPatchFieldMapper()=default
Default construct.
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
UList< label > labelUList
A UList of labels.