Go to the documentation of this file.
109 void calcAddressing();
120 void calculateInverseDistanceWeights()
const;
122 void calculateInverseVolumeWeights()
const;
124 void calculateCellToCellAddressing()
const;
136 static const scalar directHitTol;
196 directAddressing_(addr)
208 return directAddressing_.size();
223 return directAddressing_;
245 return cellAddressing_;
258 template<
class Type,
class CombineOp>
268 template<
class Type,
class CombineOp>
279 template<
class Type,
class CombineOp>
291 template<
class Type,
class CombineOp>
303 template<
class Type,
class CombineOp>
312 template<
class Type,
class CombineOp>
323 template<
class Type,
class CombineOp>
332 template<
class Type,
class CombineOp>
343 template<
class Type,
class CombineOp>
351 template<
class Type,
class CombineOp>
Patch-field interpolation class.
void interpolateField(Field< Type > &, const GeometricField< Type, fvPatchField, volMesh > &, const labelList &adr, const scalarListList &weights, const CombineOp &cop) const
Interpolate field using inverse-distance weights.
patchFieldInterpolator(const labelList &addr)
Construct given addressing.
A class for managing temporary objects.
bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
void interpolate(GeometricField< Type, fvPatchField, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &, order=INTERPOLATE, const CombineOp &cop=eqOp< Type >()) const
Interpolate volume field.
order
Enumeration specifying required accuracy.
const fvMesh & fromMesh() const
meshToMesh0(const fvMesh &fromMesh, const fvMesh &toMesh, const HashTable< word > &patchMap, const wordList &cuttingPatchNames)
Construct from the two meshes, the patch name map for the patches.
void mapField(Field< Type > &, const Field< Type > &, const labelList &adr, const CombineOp &cop) const
Map field.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
Non-pointer based hierarchical recursive searching.
virtual ~patchFieldInterpolator()=default
Destructor.
scalar V() const
Overlap volume.
Mesh data needed to do the Finite Volume discretisation.
void interpolateInternalField(Field< Type > &, const GeometricField< Type, fvPatchField, volMesh > &, order=INTERPOLATE, const CombineOp &cop=eqOp< Type >()) const
Interpolate internal volume field.
const labelList & cellAddressing() const
From toMesh cells to fromMesh cells.
~meshToMesh0()
Destructor.
Foam::fvPatchFieldMapper.
const labelList & directAddressing() const
mesh to mesh interpolation class.
const fvMesh & toMesh() const