62 for (iter1 = list1.
begin(); iter1 != list1.
end(); ++iter1) {
68 iter2 = list2.
begin();
70 for (; iter2 != list2.
end(); ++iter2) {
73 if (*iter1 == *iter2) {
78 if (&list2 == &list3) {
82 iter3 = list3.
begin();
85 for (; iter3 != list3.
end(); ++iter3) {
88 if (*iter1 == *iter3) {
91 if (*iter2 == *iter3) {
95 Eigen::Vector3d u = (*iter1)->getPos();
96 Eigen::Vector3d v = (*iter2)->getPos();
97 Eigen::Vector3d z = (*iter3)->getPos();
102 double d12 = r12.norm();
103 double d13 = r13.norm();
104 double d23 = r23.norm();
bool do_exclusions_
take into account exclusions from topolgoy
static bool match_always(Bead *, Bead *, Bead *, const Eigen::Vector3d &, const Eigen::Vector3d &, const Eigen::Vector3d &, const double, const double, const double)
standard match function
void SetMatchFunction(T *object, bool(T::*fkt)(Bead *, Bead *, Bead *, const Eigen::Vector3d &, const Eigen::Vector3d &, const Eigen::Vector3d &, const double dist12, const double dist13, const double dist23))
match function for class member functions
triple_creator_t triple_creator_
the current bead pair creator function
std::unique_ptr< Functor > match_function_
virtual void Generate(BeadList &list1, BeadList &list2, BeadList &list3, bool do_exclusions=true)
void setTripleType()
function to use a user defined triple type
double cutoff_
cutoff (at the moment use only one cutoff value)