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()) {
74 if (
topology_->BCShortestConnection(ref, bead.getPos()).norm() > radius) {
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
base class for all analysis tools