votca 2024.2-dev
|
#include <qmnblist.h>
Public Member Functions | |
QMNBList ()=default | |
~QMNBList () override | |
QMPair & | Add (const Segment &seg1, const Segment &seg2, const Eigen::Vector3d &r) |
template<class Compare > | |
void | sortAndReindex (Compare comp) |
const QMPair * | operator[] (Index index) const |
QMPair * | operator[] (Index index) |
void | WriteToCpt (CheckpointWriter &w) const |
void | ReadFromCpt (CheckpointReader &r, const std::vector< Segment > &segments) |
Public Member Functions inherited from votca::csg::PairList< const Segment *, QMPair > | |
PairList ()=default | |
virtual | ~PairList () |
void | AddPair (QMPair *p) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
QMPair * | front () |
QMPair * | back () |
bool | empty () const |
Index | size () const |
void | Cleanup () |
QMPair * | FindPair (const Segment *e1, const Segment *e2) |
const QMPair * | FindPair (const Segment *e1, const Segment *e2) const |
partners * | FindPartners (const Segment *e1) |
Additional Inherited Members | |
Public Types inherited from votca::csg::PairList< const Segment *, QMPair > | |
using | iterator |
using | const_iterator |
typedef std::map< const Segment *, QMPair * > | partners |
using | element_t |
using | pair_t |
Protected Attributes inherited from votca::csg::PairList< const Segment *, QMPair > | |
std::vector< QMPair * > | pairs_ |
std::map< const Segment *, std::map< const Segment *, QMPair * > > | pair_map_ |
Definition at line 35 of file qmnblist.h.
|
default |
|
inlineoverride |
Definition at line 38 of file qmnblist.h.
QMPair & votca::xtp::QMNBList::Add | ( | const Segment & | seg1, |
const Segment & | seg2, | ||
const Eigen::Vector3d & | r ) |
Definition at line 27 of file qmnblist.cc.
Definition at line 47 of file qmnblist.h.
Definition at line 46 of file qmnblist.h.
void votca::xtp::QMNBList::ReadFromCpt | ( | CheckpointReader & | r, |
const std::vector< Segment > & | segments ) |
Definition at line 55 of file qmnblist.cc.
|
inline |
Definition at line 57 of file qmnblist.h.
void votca::xtp::QMNBList::WriteToCpt | ( | CheckpointWriter & | w | ) | const |
Definition at line 37 of file qmnblist.cc.