40 #ifndef Foam_pointFieldDecomposer_H 41 #define Foam_pointFieldDecomposer_H 94 return directAddressing_.
size();
109 return directAddressing_;
193 template<
class GeoField>
202 class pointFieldDecomposer::fieldsCache
209 std::unique_ptr<privateCache> cache_;
bool empty() const
No fields.
void size(const label n)
Older name for setAddressableSize.
fieldsCache()
Default construct.
bool empty() const
True if no mappers have been allocated.
const labelUList & directAddressing() const
Return the direct addressing values.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable, so the various sorted methods should be used if traversing in parallel.
void reset(const pointMesh &completeMesh)
Reset mappers using information from the complete mesh.
bool direct() const
Is it a direct (non-interpolating) mapper?
Point patch field decomposer class.
void clear()
Remove all mappers.
void readAllFields(const pointMesh &mesh, const IOobjectList &objects)
Read all fields given mesh and objects.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Mesh representing a set of points created from polyMesh.
~pointFieldDecomposer()=default
Destructor.
tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField(const GeometricField< Type, pointPatchField, pointMesh > &) const
Decompose point field.
label size() const
The size of the mapper.
void decomposeAllFields(const pointFieldDecomposer &decomposer, bool report=false) const
Decompose and write all fields.
Basic pointPatch represents a set of points from the mesh.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
patchFieldDecomposer(const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelList &directAddr)
Construct given addressing.
label size() const
Total number of fields.
bool hasUnmapped() const
Any unmapped values?
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
A class for managing temporary objects.
Foam::pointPatchFieldMapperPatchRef.
~fieldsCache()
Destructor.
void decomposeFields(const PtrList< GeoField > &fields) const
Decompose list of fields.