35 #ifndef nearestCellsToCells_H
36 #define nearestCellsToCells_H
44 namespace cellsToCellss
67 const label startSeedI,
73 scalar calculateAddressing
98 void setNextNearestCells
110 label findMappedSrcCell
114 const label tgtCelli,
Class to calculate interpolative addressing and weights between the cells of two overlapping meshes.
tmp< Field< Type > > tgtToSrc(const Field< Type > &tgtFld) const
Interpolate a target cell field to the source with no left.
Nearest cells-to-cells interpolation class.
virtual scalar calculate(const polyMesh &srcMesh, const polyMesh &tgtMesh)
Calculate the addressing and weights.
virtual ~nearest()
Destructor.
virtual void normalise(const polyMesh &mesh, labelListList &localOtherCells, scalarListList &weights) const
Normalise the weights for a given mesh.
TypeName("nearest")
Run-time type information.
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.