40#ifndef Foam_fvFieldDecomposer_H
41#define Foam_fvFieldDecomposer_H
82 const label addressingOffset
90 return directAddressing_.
size();
106 return directAddressing_;
144 return directAddressing_.
size();
160 return directAddressing_;
187 return addressing_.
size();
233 processorVolPatchFieldDecomposerPtrs_;
236 processorSurfacePatchFieldDecomposerPtrs_;
276 const fvMesh& completeMesh,
339 const bool allowUnknownPatchFields =
false
351 template<
class GeoField>
367 std::unique_ptr<privateCache> cache_;
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
List of IOobjects with searching and retrieving facilities.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
void size(const label n)
Older name for setAddressableSize.
label size() const
Total number of fields.
~fieldsCache()
Destructor.
fieldsCache()
Default construct.
bool empty() const
No fields.
void readAllFields(const fvMesh &mesh, const IOobjectList &objects)
Read all fields given mesh and objects.
void decomposeAllFields(const fvFieldDecomposer &decomposer, bool report=false) const
Decompose and write all fields.
Patch field decomposer class.
bool hasUnmapped() const
Are there unmapped values.
bool direct() const
Is it a direct (non-interpolating) mapper?
label size() const
The size of the mapper.
const labelUList & directAddressing() const
Return the direct addressing values.
Processor patch field decomposer class. Surface field is assumed.
const scalarListList & weights() const
Return the interpolation weights.
const labelListList & addressing() const
Return the interpolation addressing.
bool hasUnmapped() const
Are there unmapped values.
bool direct() const
Is it a direct (non-interpolating) mapper?
label size() const
The size of the mapper.
Processor patch field decomposer class. Maps either owner or.
bool hasUnmapped() const
Are there unmapped values.
bool direct() const
Is it a direct (non-interpolating) mapper?
label size() const
The size of the mapper.
const labelUList & directAddressing() const
Return the direct addressing values.
Finite Volume volume and surface field decomposer.
tmp< DimensionedField< Type, volMesh > > decomposeField(const DimensionedField< Type, volMesh > &field) const
Decompose internal field.
tmp< GeometricField< Type, fvPatchField, volMesh > > decomposeField(const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields=false) const
Decompose volume field.
void decomposeFields(const PtrList< GeoField > &fields) const
Decompose list of fields.
void reset(const fvMesh &completeMesh)
Reset mappers using information from the complete mesh.
bool empty() const
True if no mappers have been allocated.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > decomposeField(const GeometricField< Type, fvsPatchField, surfaceMesh > &field) const
Decompose surface field.
~fvFieldDecomposer()=default
Destructor.
static int verbose_
Output verbosity when writing.
void clear()
Remove all mappers.
Mesh data needed to do the Finite Volume discretisation.
A FieldMapper for finite-volume patch fields.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields