Go to the documentation of this file.
37 #ifndef cellVolumeWeightMethod_H
38 #define cellVolumeWeightMethod_H
65 const label startSeedI,
virtual ~cellVolumeWeightMethod()
Destructor.
TypeName("cellVolumeWeight")
Run-time type information.
Mesh consisting of general polyhedral cells.
Base class for mesh-to-mesh calculation methods.
const polyMesh & src() const
Return const access to the source mesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool findInitialSeeds(const labelList &srcCellIDs, const boolList &mapFlag, const label startSeedI, label &srcSeedI, label &tgtSeedI) const
Find indices of overlapping cells in src and tgt meshes - returns.
const polyMesh & tgt() const
Return const access to the target mesh.
virtual void calculate(labelListList &srcToTgtAddr, scalarListList &srcToTgtWght, pointListList &srcToTgtVec, labelListList &tgtToSrcAddr, scalarListList &tgtToSrcWght, pointListList &tgtToSrcVec)
Calculate addressing and weights and optionally offset vectors.
void setNextCells(label &startSeedI, label &srcCellI, label &tgtCellI, const labelList &srcCellIDs, const boolList &mapFlag, const DynamicList< label > &visitedCells, labelList &seedCells) const
Set the next cells in the advancing front algorithm.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Cell-volume-weighted mesh-to-mesh interpolation class.
void operator=(const cellVolumeWeightMethod &)
Disallow default bitwise assignment.
void calculateAddressing(labelListList &srcToTgtCellAddr, scalarListList &srcToTgtCellWght, labelListList &tgtToSrcCellAddr, scalarListList &tgtToSrcCellWght, const label srcSeedI, const label tgtSeedI, const labelList &srcCellIDs, boolList &mapFlag, label &startSeedI)
Calculate the mesh-to-mesh addressing and weights.
cellVolumeWeightMethod(const cellVolumeWeightMethod &)
Disallow default bitwise copy construct.