Direct (one-to-one cell correspondence) mesh-to-mesh interpolation class. More...
Public Member Functions | |
TypeName ("wave") | |
waveMethod (const polyMesh &src, const polyMesh &tgt) | |
virtual | ~waveMethod () |
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 |
Static Public Member Functions | |
static void | calculate (const polyMesh &src, const polyMesh &tgt, labelList &srcToTgtAddr) |
![]() | |
static autoPtr< meshToMeshMethod > | New (const word &methodName, const polyMesh &src, const polyMesh &tgt) |
Additional Inherited Members | |
![]() | |
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, 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 |
![]() | |
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 46 of file waveMethod.H.
waveMethod | ( | const polyMesh & | src, |
const polyMesh & | tgt | ||
) |
Definition at line 153 of file waveMethod.C.
|
virtual |
Definition at line 164 of file waveMethod.C.
TypeName | ( | "wave" | ) |
Definition at line 38 of file waveMethod.C.
References DynamicList::append(), primitiveMesh::cellCentres(), primitiveMesh::cells(), polyMesh::cellTree(), DynamicList::clear(), treeBoundBox::contains(), Foam::expressions::patchExpr::debug, Foam::endl(), polyMesh::findCell(), forAll, polyMesh::globalData(), primitiveMesh::nCells(), primitiveMesh::nFaces(), globalMeshData::nTotalCells(), Foam::Pout, Foam::returnReduce(), List::setSize(), and polyMesh::tetBasePtIs().
|
virtual |
Implements meshToMeshMethod.
Definition at line 171 of file waveMethod.C.
References forAll, and List::setSize().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.