21#ifndef VOTCA_XTP_TOPOLOGY_H
22#define VOTCA_XTP_TOPOLOGY_H
63 const Eigen::Vector3d &r2)
const;
64 const Eigen::Matrix3d &
getBox()
const {
return bc_->getBox(); }
66 void setBox(
const Eigen::Matrix3d &box,
94 std::unique_ptr<csg::BoundaryCondition>
bc_ =
nullptr;
101 const Eigen::Matrix3d &box);
Container for segments and box and atoms.
const Segment & getSegment(Index id) const
void WriteToCpt(CheckpointWriter &w) const
std::unique_ptr< csg::BoundaryCondition > bc_
Segment & AddSegment(std::string segment_name)
std::vector< Segment > segments_
Eigen::Vector3d PbShortestConnect(const Eigen::Vector3d &r1, const Eigen::Vector3d &r2) const
void setTime(double time)
void setBox(const Eigen::Matrix3d &box, csg::BoundaryCondition::eBoxtype boxtype=csg::BoundaryCondition::typeAuto)
std::vector< Segment > & Segments()
std::vector< const Segment * > FindAllSegmentsOnMolecule(const Segment &seg1, const Segment &seg2) const
csg::BoundaryCondition::eBoxtype AutoDetectBoxType(const Eigen::Matrix3d &box)
const Eigen::Matrix3d & getBox() const
void ReadFromCpt(CheckpointReader &r)
void WriteToPdb(std::string filename) const
const QMNBList & NBList() const
Topology & operator=(const Topology &top)
const std::vector< Segment > & Segments() const
double GetShortestDist(const Segment &seg1, const Segment &seg2) const
Segment & getSegment(Index id)
static constexpr int topology_version()
base class for all analysis tools