Go to the documentation of this file.
37 #ifndef directMethod_H
38 #define directMethod_H
72 const label startSeedI,
virtual 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 ~directMethod()
Destructor.
virtual void appendToDirectSeeds(boolList &mapFlag, labelList &srcTgtSeed, DynamicList< label > &srcSeeds, label &srcSeedI, label &tgtSeedI) const
Append to list of src mesh seed indices.
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.
void operator=(const directMethod &)
Disallow default bitwise assignment.
const polyMesh & tgt() const
Return const access to the target mesh.
directMethod(const directMethod &)
Disallow default bitwise copy construct.
virtual bool intersect(const label srcCellI, const label tgtCellI) const
Return the true if cells intersect.
virtual void calculate(labelListList &srcToTgtAddr, scalarListList &srcToTgtWght, pointListList &srcToTgtVec, labelListList &tgtToSrcAddr, scalarListList &tgtToSrcWght, pointListList &tgtToSrcVec)
Calculate addressing and weights and optionally offset vectors.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual 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("direct")
Run-time type information.
Direct (one-to-one cell correspondence) mesh-to-mesh interpolation class.