40#ifndef Foam_pointFieldDecomposer_H
41#define Foam_pointFieldDecomposer_H
97 return directAddressing_.size();
112 return directAddressing_;
191 template<class GeoField>
203 std::unique_ptr<privateCache> cache_;
259 #include "pointFieldDecomposer.txx"
Generic GeometricField class.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
void readAllFields(const pointMesh &mesh, const IOobjectList &objects)
Read all fields given mesh and objects.
bool empty() const noexcept
No fields.
~fieldsCache()
Destructor.
fieldsCache()
Default construct.
label size() const noexcept
Total number of fields.
void decomposeAllFields(const pointFieldDecomposer &decomposer, bool report=false) const
Decompose and write all fields.
bool hasUnmapped() const noexcept
Any unmapped values?
bool direct() const noexcept
Is it a direct (non-interpolating) mapper?
patchFieldDecomposer(const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelUList &directAddr)
Construct given addressing.
label size() const noexcept
The size of the mapper.
const labelUList & directAddressing() const noexcept
Return the direct addressing values.
void decomposeFields(const UPtrList< GeoField > &fields) const
Decompose list of fields.
bool empty() const noexcept
True if no mappers have been allocated.
pointFieldDecomposer(Foam::zero, const pointMesh &procMesh, const labelUList &pointAddressing, const labelUList &boundaryAddressing)
Construct without mappers, added later with reset().
pointFieldDecomposer(const pointFieldDecomposer &)=delete
No copy construct.
void operator=(const pointFieldDecomposer &)=delete
No copy assignment.
pointFieldDecomposer(const pointMesh &completeMesh, const pointMesh &procMesh, const labelUList &pointAddressing, const labelUList &boundaryAddressing)
Construct from components.
void reset(const pointMesh &completeMesh)
Reset mappers using information from the complete mesh.
~pointFieldDecomposer()=default
Destructor.
tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField(const GeometricField< Type, pointPatchField, pointMesh > &) const
Decompose point field.
void clear()
Remove all mappers.
Mesh representing a set of points created from polyMesh.
pointPatchFieldMapper()=default
Default construct.
Abstract base class for point-mesh patch fields.
Basic pointPatch represents a set of points from the mesh.
A class for managing temporary objects.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
List< label > labelList
A List of labels.
UList< label > labelUList
A UList of labels.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields