DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
dftfe::utils::RTreePoint< dim, M > Class Template Reference

A class template to perform RTreePoint based searching on overlap of boxes. More...

#include <RTreePoint.h>

Public Types

using BPoint = BG::model::point<double, dim, BG::cs::cartesian>
 
using BBox = BG::model::box<BPoint>
 
using BPointI = std::pair<BPoint, size_type>
 
using BRTreePointI = BGI::rtree<BPointI, BGI::quadratic<M>>
 

Public Member Functions

 RTreePoint (const std::vector< std::vector< double > > &srcPts)
 Constructor.
 
std::vector< size_typegetPointIdsInsideBox (const std::vector< double > &lowerLeft, const std::vector< double > &upperRight)
 

Private Attributes

std::shared_ptr< BRTreePointId_rtreePtr
 

Detailed Description

template<size_type dim, size_type M>
class dftfe::utils::RTreePoint< dim, M >

A class template to perform RTreePoint based searching on overlap of boxes.

Template Parameters
dimDimension of the box
Parameters
Mmaximum allowable nodes in a branch of RTreePoint (i.e., maximum number of child nodes a parent node can have)

Member Typedef Documentation

◆ BBox

template<size_type dim, size_type M>
using dftfe::utils::RTreePoint< dim, M >::BBox = BG::model::box<BPoint>

◆ BPoint

template<size_type dim, size_type M>
using dftfe::utils::RTreePoint< dim, M >::BPoint = BG::model::point<double, dim, BG::cs::cartesian>

◆ BPointI

template<size_type dim, size_type M>
using dftfe::utils::RTreePoint< dim, M >::BPointI = std::pair<BPoint, size_type>

◆ BRTreePointI

template<size_type dim, size_type M>
using dftfe::utils::RTreePoint< dim, M >::BRTreePointI = BGI::rtree<BPointI, BGI::quadratic<M>>

Constructor & Destructor Documentation

◆ RTreePoint()

template<size_type dim, size_type M>
dftfe::utils::RTreePoint< dim, M >::RTreePoint ( const std::vector< std::vector< double > > & srcPts)

Constructor.

Member Function Documentation

◆ getPointIdsInsideBox()

template<size_type dim, size_type M>
std::vector< size_type > dftfe::utils::RTreePoint< dim, M >::getPointIdsInsideBox ( const std::vector< double > & lowerLeft,
const std::vector< double > & upperRight )

Member Data Documentation

◆ d_rtreePtr

template<size_type dim, size_type M>
std::shared_ptr<BRTreePointI> dftfe::utils::RTreePoint< dim, M >::d_rtreePtr
private

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