Go to the documentation of this file.
256 template<
class Type,
class CombineOp>
266 template<
class Type,
class CombineOp>
277 template<
class Type,
class CombineOp>
289 template<
class Type,
class CombineOp>
301 template<
class Type,
class CombineOp>
310 template<
class Type,
class CombineOp>
321 template<
class Type,
class CombineOp>
330 template<
class Type,
class CombineOp>
341 template<
class Type,
class CombineOp>
349 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.
labelList cellAddressing_
Cell addressing.
HashTable< label > cuttingPatches_
toMesh patch labels which cut the from-mesh
A class for managing temporary objects.
HashTable< word > patchMap_
Patch map.
scalarListList * inverseDistanceWeightsPtr_
Inverse-distance interpolation weights.
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
void calculateInverseVolumeWeights() const
const scalarListList & inverseVolumeWeights() 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.
Pre-declare SubField and related Field type.
scalarListList * inverseVolumeWeightsPtr_
Inverse-volume interpolation weights.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
Non-pointer based hierarchical recursive searching.
const labelListList & cellToCellAddressing() const
const scalarListList & inverseDistanceWeights() const
scalar V() const
Overlap volume.
labelListList boundaryAddressing_
Boundary addressing.
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 & directAddressing_
static const scalar directHitTol
Direct hit tolerance.
const labelList & cellAddressing() const
From toMesh cells to fromMesh cells.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
~meshToMesh0()
Destructor.
virtual ~patchFieldInterpolator()
Destructor.
void calculateCellToCellAddressing() const
void cellAddresses(labelList &cells, const pointField &points, const fvMesh &fromMesh, const List< bool > &boundaryCell, const indexedOctree< treeDataCell > &oc) const
Foam::fvPatchFieldMapper.
void calculateInverseDistanceWeights() const
void size(const label)
Override size to be inconsistent with allocated storage.
const labelList & directAddressing() const
mesh to mesh interpolation class.
Generic GeometricField class.
HashTable< label > toMeshPatches_
toMesh patch labels
HashTable< label > fromMeshPatches_
fromMesh patch labels
labelListList * cellToCellAddressingPtr_
Cell to cell overlap addressing.
const fvMesh & toMesh() const