|
| | ~Bead () override=default |
| const Index & | getResnr () const |
| virtual const double & | getQ () const |
| virtual void | setQ (const double &q) |
| Symmetry | getSymmetry () const |
| void | setVel (const Eigen::Vector3d &r) |
| const Eigen::Vector3d & | getVel () const |
| void | setU (const Eigen::Vector3d &u) |
| | set first orientation (normal vector) vector of bead
|
| const Eigen::Vector3d & | getU () const |
| | get first orientation (normal vector) vector of bead
|
| void | setV (const Eigen::Vector3d &v) |
| | set second orientation vector of bead
|
| const Eigen::Vector3d & | getV () const |
| | get second orientation vector of bead
|
| void | setW (const Eigen::Vector3d &w) |
| | set third orientation vector of bead
|
| const Eigen::Vector3d & | getW () const |
| | get third orientation vector of bead
|
| Eigen::Vector3d & | Vel () |
| Eigen::Vector3d & | U () |
| Eigen::Vector3d & | V () |
| Eigen::Vector3d & | W () |
| Eigen::Vector3d & | F () |
| void | setF (const Eigen::Vector3d &bead_force) |
| const Eigen::Vector3d & | getF () const |
| | get the force acting on the bead
|
| bool | HasVel () const noexcept |
| bool | HasF () const noexcept |
| bool | HasU () const noexcept |
| bool | HasV () const noexcept |
| bool | HasW () const noexcept |
| void | HasVel (bool b) |
| void | HasF (bool b) |
| void | HasU (bool b) |
| void | HasV (bool b) |
| void | HasW (bool b) |
| const std::vector< Index > & | ParentBeads () |
| void | ClearParentBeads () |
| | Clears out all parent beads.
|
| void | AddParentBead (Index parent_bead_id) |
| | Adds the id of a parent bead.
|
| virtual | ~BaseBead ()=default |
| Index | getId () const noexcept |
| | Gets the id of the bead.
|
| void | setId (const Index &id) noexcept |
| | Sets the id of the bead.
|
| std::string | getName () const |
| | Gets the name of the bead.
|
| void | setName (std::string name) |
| | Sets the name of the bead.
|
| void | setMoleculeId (const Index &molecule_id) noexcept |
| | assign the bead to a molecule with the provided id
|
| 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_constants::unassigned_molecule_id.
|
| virtual const std::string | getType () const noexcept |
| virtual void | setType (const std::string &type) noexcept |
| std::string | getElement () const noexcept |
| | Returns the element type of the bead.
|
| virtual const double & | getMass () const noexcept |
| virtual void | setMass (const double &m) noexcept |
| virtual void | setPos (const Eigen::Vector3d &bead_position) |
| virtual const Eigen::Vector3d & | getPos () const |
| virtual Eigen::Vector3d & | Pos () |
| virtual const Eigen::Vector3d & | Pos () const |
| bool | HasPos () const noexcept |
| void | HasPos (const bool &true_or_false) noexcept |
information about a bead
The Bead class describes an atom or a coarse grained bead. It stores information like the id, the name, the mass, the charge and the residue it belongs to. The coordinates are stored in the configuration class.
- Todo
change resnr to pointer
make sure bead belongs to topology
Definition at line 50 of file bead.h.
| const Eigen::Vector3d & votca::csg::Bead::getU |
( |
| ) |
const |
|
inline |
get first orientation (normal vector) vector of bead
Non-spherical beads (symmetry 3) have a internal coordinates system and the axes are denoted as u, v and w. Currently the non-spherical mapping is hardcoded and the axis u is calculated by the eigenvector with the lowest eigenvector of the mapped beads and has the meaning of a normal vector if the reference beads have a disc like shape. The sign of the normal vector is determined in combination with the vectors v and w to build up a right handed (??) coordinate system.
- Returns
- bead orientation u
Definition at line 331 of file bead.h.
| const Eigen::Vector3d & votca::csg::Bead::getV |
( |
| ) |
const |
|
inline |
get second orientation vector of bead
Non-spherical beads (symmetry 3) have a internal coordinates system and the axes are denoted as u, v and w. Currently the non-spherical mapping is hardcoded and the axis v is the vector which connects first and second reference atom in the mapping (only orthogonal component to u).
- Returns
- bead orientation u
Definition at line 341 of file bead.h.