44#ifndef Foam_faFieldDecomposer_H
45#define Foam_faFieldDecomposer_H
76 label sizeBeforeMapping_;
88 const label addressingOffset
96 return directAddressing_.
size();
101 return sizeBeforeMapping_;
116 return directAddressing_;
128 label sizeBeforeMapping_;
137 const label nTotalFaces,
156 return addressing_.
size();
161 return sizeBeforeMapping_;
191 label sizeBeforeMapping_;
209 return addressing_.
size();
214 return sizeBeforeMapping_;
259 processorAreaPatchFieldDecomposerPtrs_;
262 processorEdgePatchFieldDecomposerPtrs_;
295 const faMesh& completeMesh,
306 const label nTotalFaces,
337 const label nTotalFaces,
362 template<
class GeoField>
372 template<
class>
class PatchField,
380 const bool readOldTime
384 template<
class Mesh,
class GeoField>
406 std::unique_ptr<privateCache> cache_;
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
Generic GeometricField class.
List of IOobjects with searching and retrieving facilities.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
void size(const label n)
Older name for setAddressableSize.
label size() const
Number of fields.
~fieldsCache()
Destructor.
fieldsCache()
Default construct.
bool empty() const
No fields.
void readAllFields(const faMesh &mesh, const IOobjectList &objects)
Read all fields given mesh and objects.
void decomposeAllFields(const faFieldDecomposer &decomposer, bool report=false) const
Decompose and write all fields.
Patch field decomposer class.
virtual label sizeBeforeMapping() const
virtual 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.
Processor patch field decomposer class.
virtual label sizeBeforeMapping() const
virtual bool hasUnmapped() const
Any unmapped values?
const scalarListList & weights() const
Return the interpolation weights.
const labelListList & addressing() const
Return the interpolation addressing.
bool direct() const
Is it a direct (non-interpolating) mapper?
label size() const
The size of the mapper.
Processor patch field decomposer class.
virtual label sizeBeforeMapping() const
virtual bool hasUnmapped() const
Any unmapped values?
const scalarListList & weights() const
Return the interpolation weights.
const labelListList & addressing() const
Return the interpolation addressing.
bool direct() const
Is it a direct (non-interpolating) mapper?
label size() const
The size of the mapper.
Finite Area area and edge field decomposer.
tmp< GeometricField< Type, faPatchField, areaMesh > > decomposeField(const GeometricField< Type, faPatchField, areaMesh > &field) const
Decompose area field.
tmp< GeometricField< Type, faePatchField, edgeMesh > > decomposeField(const GeometricField< Type, faePatchField, edgeMesh > &field) const
Decompose surface field.
static void readFields(const typename GeoMesh::Mesh &mesh, const IOobjectList &objects, PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields, const bool readOldTime)
Read the fields and store on the pointer list.
void decomposeFields(const PtrList< GeoField > &fields) const
bool empty() const
True if no mappers have been allocated.
~faFieldDecomposer()=default
Destructor.
void reset(const faMesh &completeMesh)
Reset mappers using information from the complete mesh.
void clear()
Remove all mappers.
static void readFields(const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields)
Read fields and store on the pointer list.
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.
A class for managing temporary objects.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields