Go to the documentation of this file.
43 #ifndef faFieldDecomposer_H
44 #define faFieldDecomposer_H
73 label sizeBeforeMapping_;
85 const label addressingOffset
93 return directAddressing_.size();
98 return sizeBeforeMapping_;
113 return directAddressing_;
125 label sizeBeforeMapping_;
134 const label nTotalFaces,
153 return addressing_.size();
158 return sizeBeforeMapping_;
188 label sizeBeforeMapping_;
206 return addressing_.size();
211 return sizeBeforeMapping_;
256 processorAreaPatchFieldDecomposerPtrs_;
259 processorEdgePatchFieldDecomposerPtrs_;
288 const faMesh& completeMesh,
299 const label nTotalFaces,
330 const label nTotalFaces,
355 template<
class GeoField>
365 template<
class>
class PatchField,
373 const bool readOldTime
377 template<
class Mesh,
class GeoField>
Processor patch field decomposer class.
bool empty() const
True if no mappers have been allocated.
const labelListList & addressing() const
A class for managing temporary objects.
Finite Area area and edge field decomposer.
tmp< GeometricField< Type, faPatchField, areaMesh > > decomposeField(const GeometricField< Type, faPatchField, areaMesh > &field) const
Decompose area field.
void clear()
Remove all mappers.
patchFieldDecomposer(const label sizeBeforeMapping, const labelUList &addressingSlice, const label addressingOffset)
Construct given addressing.
const labelUList & directAddressing() const
virtual label sizeBeforeMapping() const
Processor patch field decomposer class.
processorEdgePatchFieldDecomposer(label sizeBeforeMapping, const labelUList &addressingSlice)
Construct given addressing.
virtual bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
virtual bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
const scalarListList & weights() const
List of IOobjects with searching and retrieving facilities.
static void readFields(const typename GeoMesh::Mesh &mesh, const IOobjectList &objects, PtrList< GeometricField< Type, PatchField, GeoMesh >> &fields, const bool readOldTime)
Read the fields and hold on the pointer list.
virtual label sizeBeforeMapping() const
const scalarListList & weights() const
void reset(const faMesh &completeMesh)
Reset mappers using information from the complete mesh.
Patch field decomposer class.
~faFieldDecomposer()=default
Destructor.
Finite area mesh. Used for 2-D non-Euclidian finite area method.
void decomposeFields(const PtrList< GeoField > &fields) const
Generic GeometricField class.
virtual label sizeBeforeMapping() const
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
static const Field< scalar > & null()
Return nullObject reference Field.
const labelListList & addressing() const
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
virtual bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
processorAreaPatchFieldDecomposer(const label nTotalFaces, const labelUList &edgeOwner, const labelUList &edgeNeigbour, const labelUList &addressingSlice, const scalarField &edgeWeights=scalarField::null())
Construct addressing from details.