23#ifndef VOTCA_XTP_ATOM_H
24#define VOTCA_XTP_ATOM_H
47 Eigen::Vector3d pos, std::string element);
49 Atom(
Index atom_id, std::string element, Eigen::Vector3d pos);
64 void Rotate(
const Eigen::Matrix3d& R,
const Eigen::Vector3d& refPos);
69 std::string
identify()
const {
return "atom"; }
74 out <<
" " << atom.
getPos().x() <<
"," << atom.
getPos().y() <<
","
75 << atom.
getPos().z() <<
"\n";
91 Eigen::Vector3d
pos_ = Eigen::Vector3d::Zero();
void setResnr(Index resnr)
static void SetupCptTable(CptTable &table)
void ReadData(const data &d)
void setPos(const Eigen::Vector3d &r)
void WriteData(data &d) const
static std::string GetElementFromString(const std::string &MDName)
const Eigen::Vector3d & getPos() const
void Translate(const Eigen::Vector3d &shift)
Atom(Index resnr, std::string md_atom_name, Index atom_id, Eigen::Vector3d pos, std::string element)
const std::string & getName() const
void Rotate(const Eigen::Matrix3d &R, const Eigen::Vector3d &refPos)
friend std::ostream & operator<<(std::ostream &out, const Atom &atom)
std::string identify() const
std::string getElement() const
base class for all analysis tools