17#ifndef VOTCA_CSG_BASEBEAD_H
18#define VOTCA_CSG_BASEBEAD_H
84 virtual const std::string
getType() const noexcept {
return type_; }
90 virtual void setType(
const std::string &type)
noexcept {
type_ = type; }
116 virtual void setPos(
const Eigen::Vector3d &bead_position);
122 virtual const Eigen::Vector3d &
getPos()
const;
128 virtual Eigen::Vector3d &
Pos() {
133 virtual const Eigen::Vector3d &
Pos()
const {
142 void HasPos(
const bool &true_or_false)
noexcept {
168 "Cannot get bead position as it has not been set.");
information about a base bead
virtual void setMass(const double &m) noexcept
virtual const std::string getType() const noexcept
virtual Eigen::Vector3d & Pos()
void setName(std::string name)
Sets the name of the bead.
std::string getElement() const noexcept
Returns the element type of the bead.
virtual const Eigen::Vector3d & getPos() const
std::string getName() const
Gets the name of the bead.
virtual const Eigen::Vector3d & Pos() const
virtual void setPos(const Eigen::Vector3d &bead_position)
Index getMoleculeId() const noexcept
Get the id of the molecule the bead is a part of, if the molecule id has not been set return topology...
virtual ~BaseBead()=default
std::string element_symbol_
void setId(const Index &id) noexcept
Sets the id of the bead.
virtual void setType(const std::string &type) noexcept
void setMoleculeId(const Index &molecule_id) noexcept
assign the bead to a molecule with the provided id
virtual const double & getMass() const noexcept
void HasPos(const bool &true_or_false) noexcept
bool HasPos() const noexcept
Eigen::Vector3d bead_position_
Index getId() const noexcept
Gets the id of the bead.
base class for all analysis tools