MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::KDTree< Tindex, Tfloat, ndim, Tnorm >::NodeND Struct Reference

Structure defining a node in the KDTree. More...

#include <kdtree.hpp>

Collaboration diagram for mfem::KDTree< Tindex, Tfloat, ndim, Tnorm >::NodeND:
[legend]

Public Member Functions

 NodeND ()=default
 Default constructor: fill with zeros.
 
 NodeND (PointND pt_, Tindex ind_=0)
 Create from given point and index.
 

Public Attributes

PointND pt
 Defines a point in the ndim-dimensional space.
 
Tindex ind = 0
 Defines the attached index.
 

Detailed Description

template<typename Tindex, typename Tfloat, size_t ndim = 3, typename Tnorm = KDTreeNorms::Norm_l2<Tfloat,ndim>>
struct mfem::KDTree< Tindex, Tfloat, ndim, Tnorm >::NodeND

Structure defining a node in the KDTree.

Definition at line 137 of file kdtree.hpp.

Constructor & Destructor Documentation

◆ NodeND() [1/2]

template<typename Tindex , typename Tfloat , size_t ndim = 3, typename Tnorm = KDTreeNorms::Norm_l2<Tfloat,ndim>>
mfem::KDTree< Tindex, Tfloat, ndim, Tnorm >::NodeND::NodeND ( )
default

Default constructor: fill with zeros.

◆ NodeND() [2/2]

template<typename Tindex , typename Tfloat , size_t ndim = 3, typename Tnorm = KDTreeNorms::Norm_l2<Tfloat,ndim>>
mfem::KDTree< Tindex, Tfloat, ndim, Tnorm >::NodeND::NodeND ( PointND pt_,
Tindex ind_ = 0 )
inline

Create from given point and index.

Definition at line 146 of file kdtree.hpp.

Member Data Documentation

◆ ind

template<typename Tindex , typename Tfloat , size_t ndim = 3, typename Tnorm = KDTreeNorms::Norm_l2<Tfloat,ndim>>
Tindex mfem::KDTree< Tindex, Tfloat, ndim, Tnorm >::NodeND::ind = 0

Defines the attached index.

Definition at line 142 of file kdtree.hpp.

◆ pt

template<typename Tindex , typename Tfloat , size_t ndim = 3, typename Tnorm = KDTreeNorms::Norm_l2<Tfloat,ndim>>
PointND mfem::KDTree< Tindex, Tfloat, ndim, Tnorm >::NodeND::pt

Defines a point in the ndim-dimensional space.

Definition at line 140 of file kdtree.hpp.


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