32 bool selectByName =
false;
35 if (select.substr(0, 5) ==
"name:") {
37 pSelect = select.substr(5);
43 for (
auto &bead : top.
Beads()) {
62 bool selectByName =
false;
65 if (select.substr(0, 5) ==
"name:") {
67 pSelect = select.substr(5);
73 for (
auto &bead : top.
Beads()) {
Index Generate(Topology &top, const std::string &select)
Select all beads of type "select".
std::vector< Bead * > beads_
Index GenerateInSphericalSubvolume(Topology &top, const std::string &select, Eigen::Vector3d ref, double radius)
Select all beads of type "select" withn a radius "radius" of reference vector "ref".
topology of the whole system
Eigen::Vector3d BCShortestConnection(const Eigen::Vector3d &r_i, const Eigen::Vector3d &r_j) const
calculate shortest vector connecting two points
base class for all analysis tools