22#ifndef dftfeRTreeBox_h
23#define dftfeRTreeBox_h
25#include <boost/geometry.hpp>
26#include <boost/geometry/geometries/geometries.hpp>
27#include <boost/geometry/index/rtree.hpp>
28#include <boost/range/adaptors.hpp>
41 namespace BA = boost::adaptors;
42 namespace BG = boost::geometry;
43 namespace BGI = boost::geometry::index;
44 namespace BGIA = boost::geometry::index::adaptors;
52 template <dftfe::uInt dim, dftfe::uInt M>
56 using BPoint = BG::model::point<double, dim, BG::cs::cartesian>;
57 using BBox = BG::model::box<BPoint>;
58 using BBoxI = std::pair<BBox, dftfe::uInt>;
68 std::vector<std::vector<dftfe::uInt>>
70 std::vector<std::shared_ptr<
const Cell<dim>>> queryCells);
81#include <../utils/RTreeBox.t.cc>
This class provides the interface that will be required while interpolating a nodal data to arbitrary...
Definition Cell.h:45
BGI::rtree< BBoxI, BGI::quadratic< M > > BRTreeBoxI
Definition RTreeBox.h:59
std::vector< std::vector< dftfe::uInt > > getOverlappingCellIds(std::vector< std::shared_ptr< const Cell< dim > > > queryCells)
RTreeBox(std::vector< std::shared_ptr< const Cell< dim > > > sourceCells)
Constructor.
BG::model::box< BPoint > BBox
Definition RTreeBox.h:57
BRTreeBoxI d_rtree
Definition RTreeBox.h:76
BG::model::point< double, dim, BG::cs::cartesian > BPoint
Definition RTreeBox.h:56
std::pair< BBox, dftfe::uInt > BBoxI
Definition RTreeBox.h:58
Definition pseudoPotentialToDftfeConverter.cc:34