Go to the documentation of this file.
38 #ifndef meshToMeshMethod_H
39 #define meshToMeshMethod_H
101 const label tgtCelli,
151 const word& methodName,
186 inline scalar
V()
const;
A class for handling words, derived from Foam::string.
virtual ~meshToMeshMethod()
virtual void appendNbrCells(const label tgtCelli, const polyMesh &mesh, const DynamicList< label > &visitedTgtCells, DynamicList< label > &nbrTgtCellIDs) const
virtual Tuple2< scalar, point > interVolAndCentroid(const label srcCellI, const label tgtCellI)
virtual scalar interVol(const label srcCelli, const label tgtCelli) const
Mesh consisting of general polyhedral cells.
Base class for mesh-to-mesh calculation methods.
static autoPtr< meshToMeshMethod > New(const word &methodName, const polyMesh &src, const polyMesh &tgt)
void writeConnectivity(const polyMesh &mesh1, const polyMesh &mesh2, const labelListList &mesh1ToMesh2Addr) const
const polyMesh & src() const
virtual bool intersect(const label srcCelli, const label tgtCelli) const
virtual void calculate(labelListList &srcToTgtAddr, scalarListList &srcToTgtWght, pointListList &srcToTgtVec, labelListList &tgtToSrcAddr, scalarListList &tgtToSrcWght, pointListList &tgtToSrcVec)=0
const polyMesh & tgt() const
labelList maskCells() const
declareRunTimeSelectionTable(autoPtr, meshToMeshMethod, components,(const polyMesh &src, const polyMesh &tgt),(src, tgt))
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual bool initialise(labelListList &srcToTgtAddr, scalarListList &srcToTgtWght, labelListList &tgtToTgtAddr, scalarListList &tgtToTgtWght) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
TypeName("meshToMeshMethod")