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

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

#include <RTreeBox.h>

Public Types

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

Public Member Functions

 RTreeBox (std::vector< std::shared_ptr< const Cell< dim > > > sourceCells)
 Constructor.
 
std::vector< std::vector< size_type > > getOverlappingCellIds (std::vector< std::shared_ptr< const Cell< dim > > > queryCells)
 

Private Attributes

BRTreeBoxI d_rtree
 

Detailed Description

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

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

Template Parameters
dimDimension of the box
Parameters
Mmaximum allowable nodes in a branch of RTreeBox (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::RTreeBox< dim, M >::BBox = BG::model::box<BPoint>

◆ BBoxI

template<size_type dim, size_type M>
using dftfe::utils::RTreeBox< dim, M >::BBoxI = std::pair<BBox, size_type>

◆ BPoint

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

◆ BRTreeBoxI

template<size_type dim, size_type M>
using dftfe::utils::RTreeBox< dim, M >::BRTreeBoxI = BGI::rtree<BBoxI, BGI::quadratic<M>>

Constructor & Destructor Documentation

◆ RTreeBox()

template<size_type dim, size_type M>
dftfe::utils::RTreeBox< dim, M >::RTreeBox ( std::vector< std::shared_ptr< const Cell< dim > > > sourceCells)

Constructor.

Member Function Documentation

◆ getOverlappingCellIds()

template<size_type dim, size_type M>
std::vector< std::vector< size_type > > dftfe::utils::RTreeBox< dim, M >::getOverlappingCellIds ( std::vector< std::shared_ptr< const Cell< dim > > > queryCells)

Member Data Documentation

◆ d_rtree

template<size_type dim, size_type M>
BRTreeBoxI dftfe::utils::RTreeBox< dim, M >::d_rtree
private

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