Direct (one-to-one cell correspondence) mesh-to-mesh interpolation class. More...
Public Member Functions | |
TypeName ("direct") | |
directMethod (const polyMesh &src, const polyMesh &tgt) | |
virtual | ~directMethod () |
virtual void | calculate (labelListList &srcToTgtAddr, scalarListList &srcToTgtWght, pointListList &srcToTgtVec, labelListList &tgtToSrcAddr, scalarListList &tgtToSrcWght, pointListList &tgtToSrcVec) |
![]() | |
TypeName ("meshToMeshMethod") | |
declareRunTimeSelectionTable (autoPtr, meshToMeshMethod, components,(const polyMesh &src, const polyMesh &tgt),(src, tgt)) | |
meshToMeshMethod (const polyMesh &src, const polyMesh &tgt) | |
virtual | ~meshToMeshMethod () |
const polyMesh & | src () const |
const polyMesh & | tgt () const |
scalar | V () const |
void | writeConnectivity (const polyMesh &mesh1, const polyMesh &mesh2, const labelListList &mesh1ToMesh2Addr) const |
Protected Member Functions | |
virtual bool | intersect (const label srcCelli, const label tgtCelli) const |
virtual bool | findInitialSeeds (const labelList &srcCellIDs, const boolList &mapFlag, const label startSeedI, label &srcSeedI, label &tgtSeedI) const |
virtual void | calculateAddressing (labelListList &srcToTgtCellAddr, scalarListList &srcToTgtCellWght, labelListList &tgtToSrcCellAddr, scalarListList &tgtToSrcCellWght, const label srcSeedI, const label tgtSeedI, const labelList &srcCellIDs, boolList &mapFlag, label &startSeedI) |
virtual void | appendToDirectSeeds (boolList &mapFlag, labelList &srcTgtSeed, DynamicList< label > &srcSeeds, label &srcSeedI, label &tgtSeedI) const |
![]() | |
labelList | maskCells () const |
virtual scalar | interVol (const label srcCelli, const label tgtCelli) const |
virtual Tuple2< scalar, point > | interVolAndCentroid (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 autoPtr< meshToMeshMethod > | New (const word &methodName, const polyMesh &src, const polyMesh &tgt) |
![]() | |
const polyMesh & | src_ |
const polyMesh & | tgt_ |
scalar | V_ |
![]() | |
static scalar | tolerance_ = 1e-6 |
Direct (one-to-one cell correspondence) mesh-to-mesh interpolation class.
Definition at line 48 of file directMethod.H.
directMethod | ( | const polyMesh & | src, |
const polyMesh & | tgt | ||
) |
Definition at line 219 of file directMethod.C.
|
virtual |
Definition at line 230 of file directMethod.C.
|
protectedvirtual |
Reimplemented from meshToMeshMethod.
Definition at line 37 of file directMethod.C.
|
protectedvirtual |
Definition at line 52 of file directMethod.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Pout.
|
protectedvirtual |
Definition at line 93 of file directMethod.C.
References List::append(), forAll, and List::transfer().
|
protectedvirtual |
Definition at line 159 of file directMethod.C.
References DynamicList::append(), forAll, found, and DynamicList::remove().
TypeName | ( | "direct" | ) |
|
virtual |
Implements meshToMeshMethod.
Definition at line 237 of file directMethod.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.