A particle pair. More...
#include <beadpair.h>

Public Member Functions | |
| BeadPair ()=default | |
| BeadPair (Bead *bead1, Bead *bead2, Eigen::Vector3d r) | |
| Bead * | first () |
| Bead * | second () |
| const Eigen::Vector3d & | r () const |
| the vector connecting two beads | |
| double | dist () const |
| the distance of the beads | |
Protected Attributes | |
| std::pair< Bead *, Bead * > | pair_ |
| Eigen::Vector3d | r_ |
| double | dist_ |
A particle pair.
This class defines a particle pair. The future plan is, that the Pair class can be overloaded and Particle list creates these inherited pairs.
Definition at line 35 of file beadpair.h.
|
default |
Definition at line 38 of file beadpair.h.
|
inline |
the distance of the beads
Definition at line 48 of file beadpair.h.
|
inline |
Definition at line 43 of file beadpair.h.
|
inline |
the vector connecting two beads
Definition at line 46 of file beadpair.h.
|
inline |
Definition at line 44 of file beadpair.h.
|
protected |
Definition at line 54 of file beadpair.h.
Definition at line 51 of file beadpair.h.
|
protected |
Definition at line 53 of file beadpair.h.