votca 2024.2-dev
|
#include <classicalsegment.h>
Public Member Functions | |
ClassicalSegment (std::string name, Index id) | |
ClassicalSegment (CheckpointReader &r) | |
void | LoadFromFile (std::string filename) |
void | WriteMPS (std::string filename, std::string header) const |
double | CalcTotalQ () const |
std::string | identify () const |
Eigen::Vector3d | CalcDipole () const |
std::string | identify () const |
std::string | identify () const |
Public Member Functions inherited from votca::xtp::AtomContainer< T > | |
AtomContainer (std::string type, Index id) | |
AtomContainer (CheckpointReader &r) | |
virtual | ~AtomContainer ()=default |
const std::string & | getType () const |
void | setType (std::string type) |
void | clearAtoms () |
Index | getId () const |
Index | size () const |
void | push_back (const T &atom) |
void | push_back (T &&atom) |
const T & | at (Index index) const |
T & | at (Index index) |
const T & | operator[] (Index index) const |
T & | operator[] (Index index) |
std::vector< T >::iterator | begin () |
std::vector< T >::iterator | end () |
std::vector< T >::const_iterator | begin () const |
std::vector< T >::const_iterator | end () const |
const Eigen::Vector3d & | getPos () const |
std::pair< Eigen::Vector3d, Eigen::Vector3d > | CalcSpatialMinMax () const |
std::vector< std::string > | FindUniqueElements () const |
void | Translate (const Eigen::Vector3d &shift) |
void | Rotate (const Eigen::Matrix3d &R, const Eigen::Vector3d &ref_pos) |
virtual void | WriteToCpt (CheckpointWriter &w) const |
virtual void | ReadFromCpt (CheckpointReader &r) |
void | calcPos () |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ClassicalSegment< T > &container) |
Additional Inherited Members | |
Public Types inherited from votca::xtp::AtomContainer< T > | |
using | Atom_Type = T |
using | iterator = typename std::vector<T>::iterator |
Protected Attributes inherited from votca::xtp::AtomContainer< T > | |
std::vector< T > | atomlist_ |
std::string | type_ |
Index | id_ |
Definition at line 32 of file classicalsegment.h.
|
inline |
Definition at line 34 of file classicalsegment.h.
|
inline |
Definition at line 36 of file classicalsegment.h.
Eigen::Vector3d votca::xtp::ClassicalSegment< T >::CalcDipole | ( | ) | const |
Definition at line 157 of file classicalsegment.cc.
double votca::xtp::ClassicalSegment< T >::CalcTotalQ | ( | ) | const |
Definition at line 148 of file classicalsegment.cc.
std::string votca::xtp::ClassicalSegment< T >::identify | ( | ) | const |
Definition at line 190 of file classicalsegment.cc.
std::string votca::xtp::ClassicalSegment< PolarSite >::identify | ( | ) | const |
Definition at line 195 of file classicalsegment.cc.
std::string votca::xtp::ClassicalSegment< StaticSite >::identify | ( | ) | const |
Definition at line 199 of file classicalsegment.cc.
void votca::xtp::ClassicalSegment< T >::LoadFromFile | ( | std::string | filename | ) |
Definition at line 39 of file classicalsegment.cc.
void votca::xtp::ClassicalSegment< T >::WriteMPS | ( | std::string | filename, |
std::string | header ) const |
Definition at line 169 of file classicalsegment.cc.
|
friend |
Definition at line 48 of file classicalsegment.h.