39#ifndef cellVolumeWeightMethod_H
40#define cellVolumeWeightMethod_H
53class cellVolumeWeightMethod
55 public meshToMeshMethod
67 const label startSeedI,
104 cellVolumeWeightMethod(
const cellVolumeWeightMethod&) =
delete;
107 void operator=(
const cellVolumeWeightMethod&) =
delete;
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.
TypeName("cellVolumeWeight")
Run-time type information.
virtual ~cellVolumeWeightMethod()
Destructor.
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.
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 labelUList &visitedCells, labelList &seedCells) const
Set the next cells in the advancing front algorithm.
const polyMesh & src() const
Return const access to the source mesh.
const polyMesh & tgt() const
Return const access to the target mesh.
Mesh consisting of general polyhedral cells.
List< scalarList > scalarListList
List of scalarList.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
List< bool > boolList
A List of bools.
UList< label > labelUList
A UList of labels.
List< pointList > pointListList
List of pointList.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.