Go to the documentation of this file.
59 template<
class Type>
class indexedOctree;
94 mutable unique_ptr<scalarListList> inverseDistanceWeightsPtr_;
97 mutable unique_ptr<scalarListList> inverseVolumeWeightsPtr_;
100 mutable unique_ptr<labelListList> cellToCellAddressingPtr_;
111 void calcAddressing();
122 void calculateInverseDistanceWeights()
const;
124 void calculateInverseVolumeWeights()
const;
126 void calculateCellToCellAddressing()
const;
138 static const scalar directHitTol;
198 directAddressing_(addr)
210 return directAddressing_.size();
225 return directAddressing_;
247 return cellAddressing_;
260 template<
class Type,
class CombineOp>
270 template<
class Type,
class CombineOp>
281 template<
class Type,
class CombineOp>
293 template<
class Type,
class CombineOp>
305 template<
class Type,
class CombineOp>
314 template<
class Type,
class CombineOp>
325 template<
class Type,
class CombineOp>
334 template<
class Type,
class CombineOp>
345 template<
class Type,
class CombineOp>
353 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.
~meshToMesh0()=default
Destructor.
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.
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.
Foam::fvPatchFieldMapper.
const labelList & directAddressing() const
Serial mesh to mesh interpolation class.
const fvMesh & toMesh() const