40 #ifndef Foam_fvFieldDecomposer_H 41 #define Foam_fvFieldDecomposer_H 82 const label addressingOffset
90 return directAddressing_.
size();
106 return directAddressing_;
114 class processorVolPatchFieldDecomposer
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_;
void size(const label n)
Older name for setAddressableSize.
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.
bool hasUnmapped() const
Are there unmapped values.
bool empty() const
No fields.
processorSurfacePatchFieldDecomposer(const labelUList &addressingSlice)
Construct given addressing.
label size() const
Total number of fields.
const scalarListList & weights() const
Return the interpolation weights.
void clear()
Remove all mappers.
Patch field decomposer class.
Generic GeometricField class.
void decomposeAllFields(const fvFieldDecomposer &decomposer, bool report=false) const
Decompose and write all fields.
bool direct() const
Is it a direct (non-interpolating) mapper?
const labelUList & directAddressing() const
Return the direct addressing values.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
bool empty() const
True if no mappers have been allocated.
void reset(const fvMesh &completeMesh)
Reset mappers using information from the complete mesh.
tmp< DimensionedField< Type, volMesh > > decomposeField(const DimensionedField< Type, volMesh > &field) const
Decompose internal field.
void readAllFields(const fvMesh &mesh, const IOobjectList &objects)
Read all fields given mesh and objects.
~fvFieldDecomposer()=default
Destructor.
bool direct() const
Is it a direct (non-interpolating) mapper?
A FieldMapper for finite-volume patch fields.
fieldsCache()
Default construct.
Processor patch field decomposer class. Surface field is assumed.
Finite Volume volume and surface field decomposer.
patchFieldDecomposer(const labelUList &addressingSlice, const label addressingOffset)
Construct given addressing.
label size() const
The size of the mapper.
bool direct() const
Is it a direct (non-interpolating) mapper?
label size() const
The size of the mapper.
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...
~fieldsCache()
Destructor.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
const labelUList & directAddressing() const
Return the direct addressing values.
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.
void decomposeFields(const PtrList< GeoField > &fields) const
Decompose list of fields.
const labelListList & addressing() const
Return the interpolation addressing.
bool hasUnmapped() const
Are there unmapped values.
bool hasUnmapped() const
Are there unmapped values.
label size() const
The size of the mapper.