35 #ifndef intersectionCellsToCells_H
36 #define intersectionCellsToCells_H
44 namespace cellsToCellss
60 static const scalar tolerance_;
91 const label startSeedI,
97 scalar calculateAddressing
105 const label srcSeedI,
106 const label tgtSeedI,
Class to calculate interpolative addressing and weights between the cells of two overlapping meshes.
Intersection-based cells-to-cells interpolation class. Volume conservative.
TypeName("intersection")
Run-time type information.
virtual scalar calculate(const polyMesh &srcMesh, const polyMesh &tgtMesh)
Calculate the addressing and weights.
virtual ~intersection()
Destructor.
virtual void normalise(const polyMesh &mesh, labelListList &localOtherCells, scalarListList &weights) const
Normalise the weights for a given mesh.
intersection()
Construct null.
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.