MFEM v4.7.0
Finite element discretization library
|
Base class for KDTreeNodalProjection. More...
#include <kdtree.hpp>
Public Member Functions | |
virtual | ~BaseKDTreeNodalProjection () |
virtual void | Project (const Vector &coords, const Vector &src, int ordering, real_t lerr)=0 |
virtual void | Project (const GridFunction &gf, real_t lerr)=0 |
Base class for KDTreeNodalProjection.
Definition at line 22 of file kdtree.hpp.
|
inlinevirtual |
Definition at line 25 of file kdtree.hpp.
|
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 >.
|
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 >.