40 #ifndef Foam_fvFieldDecomposer_H 41 #define Foam_fvFieldDecomposer_H 86 const label addressingOffset
94 return directAddressing_.
size();
110 return directAddressing_;
118 class processorVolPatchFieldDecomposer
148 return directAddressing_.
size();
164 return directAddressing_;
191 return addressing_.
size();
238 processorVolPatchFieldDecomposers_;
242 processorSurfacePatchFieldDecomposers_;
279 const fvMesh& completeMesh,
342 const
bool allowUnknownPatchFields =
false 354 template<class GeoField>
366 std::unique_ptr<privateCache> cache_;
407 void decomposeAllFields
422 #include "fvFieldDecomposer.txx"
const labelUList & directAddressing() const noexcept
Return the direct addressing values.
void size(const label n)
Older name for setAddressableSize.
label size() const noexcept
The size of the mapper.
static int verbose_
Output verbosity when writing.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable, so the various sorted methods should be used if traversing in parallel.
Mesh data needed to do the Finite Volume discretisation.
bool direct() const noexcept
Is it a direct (non-interpolating) mapper?
processorSurfacePatchFieldDecomposer(const labelUList &addressingSlice)
Construct given addressing.
A range or interval of labels defined by a start and a size.
void clear()
Remove all mappers.
bool hasUnmapped() const noexcept
Are there unmapped values.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Patch field decomposer class.
Generic GeometricField class.
List< labelList > labelListList
List of labelList.
bool direct() const noexcept
Is it a direct (non-interpolating) mapper?
const labelListList & addressing() const noexcept
Return the interpolation addressing.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
void reset(const fvMesh &completeMesh)
Reset mappers using information from the complete mesh.
const labelUList & directAddressing() const noexcept
Return the direct addressing values.
tmp< DimensionedField< Type, volMesh > > decomposeField(const DimensionedField< Type, volMesh > &field) const
Decompose internal field.
Mesh data needed to do the Finite Volume discretisation.
const scalarListList & weights() const noexcept
Return the interpolation weights.
void decomposeFields(const UPtrList< GeoField > &fields) const
Decompose list of fields.
~fvFieldDecomposer()=default
Destructor.
A FieldMapper for finite-volume patch fields.
Processor patch field decomposer class. Surface field is assumed.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
label size() const noexcept
The size of the mapper.
Finite Volume volume and surface field decomposer.
bool direct() const noexcept
Is it a direct (non-interpolating) mapper?
patchFieldDecomposer(const labelUList &addressingSlice, const label addressingOffset)
Construct given addressing.
decomposeUsingBbs false
Use bounding boxes (default) or unique decomposition of triangles (i.e. do not duplicate triangles) ...
bool hasUnmapped() const noexcept
Are there unmapped values.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Mesh data needed to do the Finite Volume discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
bool hasUnmapped() const noexcept
Are there unmapped values.
bool empty() const noexcept
True if no mappers have been allocated.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
processorVolPatchFieldDecomposer(const labelUList &faceOwner, const labelUList &faceNeigbour, const labelUList &addressingSlice)
Construct addressing from details.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
label size() const noexcept
The size of the mapper.