Periodic orthorhombic cell list for neighbour searches.
More...
#include <stochasticnetwork.h>
|
| | PeriodicCells (const Eigen::Vector3d &box, double radius, const std::vector< Eigen::Vector3d > &points) |
| | box lengths and the largest search radius used with Within()
|
| Eigen::Vector3d | Connection (const Eigen::Vector3d &r1, const Eigen::Vector3d &r2) const |
| | shortest periodic connection r2 - r1
|
| void | Within (const Eigen::Vector3d &p, double radius, const std::function< void(Index, const Eigen::Vector3d &, double)> &f) const |
| std::vector< Index > | Nearest (Index i, Index l) const |
| std::vector< Index > | NearestTo (const Eigen::Vector3d &p, Index l) const |
| | indices of the l points nearest to any position p
|
| Index | NumberOfPoints () const |
Periodic orthorhombic cell list for neighbour searches.
Definition at line 74 of file stochasticnetwork.h.
◆ PeriodicCells()
| votca::xtp::PeriodicCells::PeriodicCells |
( |
const Eigen::Vector3d & | box, |
|
|
double | radius, |
|
|
const std::vector< Eigen::Vector3d > & | points ) |
◆ CellIndex()
| Index votca::xtp::PeriodicCells::CellIndex |
( |
const Eigen::Vector3d & | p, |
|
|
std::array< Index, 3 > & | c ) const |
|
private |
◆ Connection()
| Eigen::Vector3d votca::xtp::PeriodicCells::Connection |
( |
const Eigen::Vector3d & | r1, |
|
|
const Eigen::Vector3d & | r2 ) const |
◆ Nearest()
| std::vector< Index > votca::xtp::PeriodicCells::Nearest |
( |
Index | i, |
|
|
Index | l ) const |
indices of the l points nearest to point i (including i itself), ties broken by index
Definition at line 214 of file stochasticnetwork.cc.
◆ NearestTo()
| std::vector< Index > votca::xtp::PeriodicCells::NearestTo |
( |
const Eigen::Vector3d & | p, |
|
|
Index | l ) const |
◆ NumberOfPoints()
| Index votca::xtp::PeriodicCells::NumberOfPoints |
( |
| ) |
const |
|
inline |
◆ Shell()
template<class F>
| void votca::xtp::PeriodicCells::Shell |
( |
const std::array< Index, 3 > & | c, |
|
|
Index | s, |
|
|
F && | f ) const |
|
private |
◆ Within()
| void votca::xtp::PeriodicCells::Within |
( |
const Eigen::Vector3d & | p, |
|
|
double | radius, |
|
|
const std::function< void(Index, const Eigen::Vector3d &, double)> & | f ) const |
calls f(j, connection, distance) for all points within radius of p (radius <= the radius given at construction)
Definition at line 191 of file stochasticnetwork.cc.
◆ box_
| Eigen::Vector3d votca::xtp::PeriodicCells::box_ |
|
private |
◆ cell_
| Eigen::Vector3d votca::xtp::PeriodicCells::cell_ |
|
private |
◆ members_
| std::vector<Index> votca::xtp::PeriodicCells::members_ |
|
private |
◆ n_
| std::array<Index, 3> votca::xtp::PeriodicCells::n_ |
|
private |
◆ points_
| const std::vector<Eigen::Vector3d>& votca::xtp::PeriodicCells::points_ |
|
private |
◆ start_
| std::vector<Index> votca::xtp::PeriodicCells::start_ |
|
private |
The documentation for this class was generated from the following files: