Go to the documentation of this file.
39 #ifndef fvFieldDecomposer_H
40 #define fvFieldDecomposer_H
76 const label addressingOffset
84 return directAddressing_.size();
100 return directAddressing_;
138 return directAddressing_.size();
154 return directAddressing_;
181 return addressing_.size();
227 processorVolPatchFieldDecomposerPtrs_;
230 processorSurfacePatchFieldDecomposerPtrs_;
259 const fvMesh& completeMesh,
322 const bool allowUnknownPatchFields =
false
334 template<
class GeoField>
bool hasUnmapped() const
Are there unmapped values.
A class for managing temporary objects.
processorSurfacePatchFieldDecomposer(const labelUList &addressingSlice)
Construct given addressing.
const scalarListList & weights() const
Processor patch field decomposer class. Maps either owner or.
Patch field decomposer class.
bool hasUnmapped() const
Are there unmapped values.
void decomposeFields(const PtrList< GeoField > &fields) const
Decompose list of fields.
bool hasUnmapped() const
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.
bool empty() const
True if no mappers have been allocated.
fvFieldDecomposer(const fvFieldDecomposer &)=delete
No copy construct.
const labelUList & directAddressing() const
Finite Volume volume and surface field decomposer.
const labelUList & directAddressing() const
patchFieldDecomposer(const labelUList &addressingSlice, const label addressingOffset)
Construct given addressing.
processorVolPatchFieldDecomposer(const labelUList &faceOwner, const labelUList &faceNeigbour, const labelUList &addressingSlice)
Construct addressing from details.
void clear()
Remove all mappers.
Processor patch field decomposer class. Surface field is assumed.
void reset(const fvMesh &completeMesh)
Reset mappers using information from the complete mesh.
Foam::fvPatchFieldMapper.
void operator=(const fvFieldDecomposer &)=delete
No copy assignment.
~fvFieldDecomposer()=default
Destructor.
const labelListList & addressing() const
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
tmp< DimensionedField< Type, volMesh > > decomposeField(const DimensionedField< Type, volMesh > &field) const
Decompose internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...