MFEM  v4.6.0
Finite element discretization library
Public Member Functions | List of all members
mfem::BaseKDTreeNodalProjection Class Referenceabstract

Base class for KDTreeNodalProjection. More...

#include <kdtree.hpp>

Inheritance diagram for mfem::BaseKDTreeNodalProjection:
[legend]

Public Member Functions

virtual ~BaseKDTreeNodalProjection ()
 
virtual void Project (const Vector &coords, const Vector &src, int ordering, double lerr)=0
 
virtual void Project (const GridFunction &gf, double lerr)=0
 

Detailed Description

Base class for KDTreeNodalProjection.

Definition at line 22 of file kdtree.hpp.

Constructor & Destructor Documentation

◆ ~BaseKDTreeNodalProjection()

virtual mfem::BaseKDTreeNodalProjection::~BaseKDTreeNodalProjection ( )
inlinevirtual

Definition at line 25 of file kdtree.hpp.

Member Function Documentation

◆ Project() [1/2]

virtual void mfem::BaseKDTreeNodalProjection::Project ( const Vector coords,
const Vector src,
int  ordering,
double  lerr 
)
pure virtual

The projection method can be called as many time as necessary with different sets of coordinates and corresponding values. For vector grid function, users have to specify the data ordering and for all cases the user can modify the error tolerance err to smaller or bigger value. A node in the target grid function is matching a point with coordinates specified in the vector coords if the distance between them is smaller than lerr.

Implemented in mfem::KDTreeNodalProjection< kdim >, mfem::KDTreeNodalProjection< kdim >, and mfem::KDTreeNodalProjection< kdim >.

◆ Project() [2/2]

virtual void mfem::BaseKDTreeNodalProjection::Project ( const GridFunction gf,
double  lerr 
)
pure virtual

The project method can be called as many times as necessary with different grid functions gf. A node in the target grid function is matching a node from the source grid function if the distance between them is smaller than lerr.

Implemented in mfem::KDTreeNodalProjection< kdim >, mfem::KDTreeNodalProjection< kdim >, and mfem::KDTreeNodalProjection< kdim >.


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