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_;
119 class processorAreaPatchFieldDecomposer
125 label sizeBeforeMapping_;
134 const label nTotalFaces,
153 return addressing_.size();
158 return sizeBeforeMapping_;
184 class processorEdgePatchFieldDecomposer
188 label sizeBeforeMapping_;
206 return addressing_.size();
211 return sizeBeforeMapping_;
241 const faMesh& procMesh_;
253 PtrList<patchFieldDecomposer> patchFieldDecomposerPtrs_;
255 PtrList<processorAreaPatchFieldDecomposer>
256 processorAreaPatchFieldDecomposerPtrs_;
258 PtrList<processorEdgePatchFieldDecomposer>
259 processorEdgePatchFieldDecomposerPtrs_;
265 faFieldDecomposer(
const faFieldDecomposer&) =
delete;
268 void operator=(
const faFieldDecomposer&) =
delete;
279 const faMesh& procMesh,
288 const faMesh& completeMesh,
289 const faMesh& procMesh,
299 const label nTotalFaces,
300 const List<labelRange>& boundaryRanges,
305 const faMesh& procMesh,
325 void reset(
const faMesh& completeMesh);
330 const label nTotalFaces,
331 const List<labelRange>& boundaryRanges,
341 tmp<GeometricField<Type, faPatchField, areaMesh>>
344 const GeometricField<Type, faPatchField, areaMesh>&
field
349 tmp<GeometricField<Type, faePatchField, edgeMesh>>
352 const GeometricField<Type, faePatchField, edgeMesh>&
field
355 template<
class GeoField>
365 template<
class>
class PatchField,
371 const IOobjectList& objects,
372 PtrList<GeometricField<Type, PatchField, GeoMesh>>&
fields,
373 const bool readOldTime
377 template<
class Mesh,
class GeoField>
381 const IOobjectList& objects,
List< label > labelList
A List of labels.
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
patchFieldDecomposer(const label sizeBeforeMapping, const labelUList &addressingSlice, const label addressingOffset)
const labelUList & directAddressing() const
Generic templated field type.
virtual label sizeBeforeMapping() const
processorEdgePatchFieldDecomposer(label sizeBeforeMapping, const labelUList &addressingSlice)
virtual bool hasUnmapped() const
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
virtual bool hasUnmapped() const
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)
virtual label sizeBeforeMapping() const
const scalarListList & weights() const
void reset(const faMesh &completeMesh)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
~faFieldDecomposer()=default
Finite area mesh. Used for 2-D non-Euclidian finite area method.
void decomposeFields(const PtrList< GeoField > &fields) const
UList< label > labelUList
A UList of labels.
Generic GeometricField class.
virtual label sizeBeforeMapping() const
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
static const Field< Type > & null()
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
processorAreaPatchFieldDecomposer(const label nTotalFaces, const labelUList &edgeOwner, const labelUList &edgeNeigbour, const labelUList &addressingSlice, const scalarField &edgeWeights=scalarField::null())