30 #ifndef _libDEM_ContactDetection_Between2SetOf_hpp_
31 #define _libDEM_ContactDetection_Between2SetOf_hpp_
55 static std::string
class_ID() {
return "Between2SetOf";}
94 AssertMsg(&set1 != &set2,
"you can't assign the same SetOf for both");
102 for (
unsigned int i = 0; i<set1.
size(); i++) {
103 for (
unsigned int j = 0; j<set2.
size(); j++) {
107 const double dist = vDist.
norm();
#define AssertMsg(condition, message)
Definition: Macro.hpp:67
Definition: NeedSetOf.hpp:51
Core::SetOf< T > & get_setof(unsigned int rank=0)
Definition: SetOf.hpp:153
Definition: SetOf.hpp:236
the discrete element is just a spherical Element with additional dedicated features
Definition: DiscreteElement.hpp:47
double get_radius() const
get the radius
Definition: DiscreteElement.hpp:85
const Geom::Vector & get_position() const
get the current position vector of the element
Definition: ElementT.hpp:146
Definition: Vector.hpp:75
Definition: Common.hpp:198