Public Member Functions | Protected Member Functions | List of all members
correctedCellVolumeWeightMethod Class Reference

Cell-volume-weighted mesh-to-mesh interpolation class. More...

Inheritance diagram for correctedCellVolumeWeightMethod:
Inheritance graph
[legend]
Collaboration diagram for correctedCellVolumeWeightMethod:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("correctedCellVolumeWeight")
 
 correctedCellVolumeWeightMethod (const polyMesh &src, const polyMesh &tgt)
 
virtual ~correctedCellVolumeWeightMethod ()
 
virtual void calculate (labelListList &srcToTgtAddr, scalarListList &srcToTgtWght, pointListList &srcToTgtVec, labelListList &tgtToSrcAddr, scalarListList &tgtToSrcWght, pointListList &tgtToSrcVec)
 
- Public Member Functions inherited from cellVolumeWeightMethod
 TypeName ("cellVolumeWeight")
 
 cellVolumeWeightMethod (const polyMesh &src, const polyMesh &tgt)
 
virtual ~cellVolumeWeightMethod ()
 
- Public Member Functions inherited from meshToMeshMethod
 TypeName ("meshToMeshMethod")
 
 declareRunTimeSelectionTable (autoPtr, meshToMeshMethod, components,(const polyMesh &src, const polyMesh &tgt),(src, tgt))
 
 meshToMeshMethod (const polyMesh &src, const polyMesh &tgt)
 
virtual ~meshToMeshMethod ()
 
const polyMeshsrc () const
 
const polyMeshtgt () const
 
scalar V () const
 
void writeConnectivity (const polyMesh &mesh1, const polyMesh &mesh2, const labelListList &mesh1ToMesh2Addr) const
 

Protected Member Functions

void calculateAddressing (labelListList &srcToTgtCellAddr, scalarListList &srcToTgtCellWght, pointListList &srcToTgtCellVec, labelListList &tgtToSrcCellAddr, scalarListList &tgtToSrcCellWght, pointListList &tgtToSrcCellVec, const label srcSeedI, const label tgtSeedI, const labelList &srcCellIDs, boolList &mapFlag, label &startSeedI)
 
 correctedCellVolumeWeightMethod (const correctedCellVolumeWeightMethod &)=delete
 
void operator= (const correctedCellVolumeWeightMethod &)=delete
 
- Protected Member Functions inherited from cellVolumeWeightMethod
bool findInitialSeeds (const labelList &srcCellIDs, const boolList &mapFlag, const label startSeedI, label &srcSeedI, label &tgtSeedI) const
 
void calculateAddressing (labelListList &srcToTgtCellAddr, scalarListList &srcToTgtCellWght, labelListList &tgtToSrcCellAddr, scalarListList &tgtToSrcCellWght, const label srcSeedI, const label tgtSeedI, const labelList &srcCellIDs, boolList &mapFlag, label &startSeedI)
 
void setNextCells (label &startSeedI, label &srcCelli, label &tgtCelli, const labelList &srcCellIDs, const boolList &mapFlag, const DynamicList< label > &visitedCells, labelList &seedCells) const
 
- Protected Member Functions inherited from meshToMeshMethod
labelList maskCells () const
 
virtual bool intersect (const label srcCelli, const label tgtCelli) const
 
virtual scalar interVol (const label srcCelli, const label tgtCelli) const
 
virtual Tuple2< scalar, pointinterVolAndCentroid (const label srcCellI, const label tgtCellI)
 
virtual void appendNbrCells (const label tgtCelli, const polyMesh &mesh, const DynamicList< label > &visitedTgtCells, DynamicList< label > &nbrTgtCellIDs) const
 
virtual bool initialise (labelListList &srcToTgtAddr, scalarListList &srcToTgtWght, labelListList &tgtToTgtAddr, scalarListList &tgtToTgtWght) const
 

Additional Inherited Members

- Static Public Member Functions inherited from meshToMeshMethod
static autoPtr< meshToMeshMethodNew (const word &methodName, const polyMesh &src, const polyMesh &tgt)
 
- Protected Attributes inherited from meshToMeshMethod
const polyMeshsrc_
 
const polyMeshtgt_
 
scalar V_
 
- Static Protected Attributes inherited from meshToMeshMethod
static scalar tolerance_ = 1e-6
 

Detailed Description

Cell-volume-weighted mesh-to-mesh interpolation class.

Volume conservative with calculated offset vectors

Source files

Definition at line 48 of file correctedCellVolumeWeightMethod.H.

Constructor & Destructor Documentation

◆ correctedCellVolumeWeightMethod() [1/2]

◆ correctedCellVolumeWeightMethod() [2/2]

correctedCellVolumeWeightMethod ( const polyMesh src,
const polyMesh tgt 
)

Definition at line 194 of file correctedCellVolumeWeightMethod.C.

◆ ~correctedCellVolumeWeightMethod()

Definition at line 205 of file correctedCellVolumeWeightMethod.C.

Member Function Documentation

◆ calculateAddressing()

void calculateAddressing ( labelListList srcToTgtCellAddr,
scalarListList srcToTgtCellWght,
pointListList srcToTgtCellVec,
labelListList tgtToSrcCellAddr,
scalarListList tgtToSrcCellWght,
pointListList tgtToSrcCellVec,
const label  srcSeedI,
const label  tgtSeedI,
const labelList srcCellIDs,
boolList mapFlag,
label &  startSeedI 
)
protected

◆ operator=()

void operator= ( const correctedCellVolumeWeightMethod )
protecteddelete

◆ TypeName()

TypeName ( "correctedCellVolumeWeight"  )

◆ calculate()

void calculate ( labelListList srcToTgtAddr,
scalarListList srcToTgtWght,
pointListList srcToTgtVec,
labelListList tgtToSrcAddr,
scalarListList tgtToSrcWght,
pointListList tgtToSrcVec 
)
virtual

Reimplemented from cellVolumeWeightMethod.

Definition at line 212 of file correctedCellVolumeWeightMethod.C.

References List::setSize().

Here is the call graph for this function:

The documentation for this class was generated from the following files: