30#ifndef _libDEM_ContactDetection_hpp_
31#define _libDEM_ContactDetection_hpp_
57 static std::string
class_ID() {
return "DEM::ContactDetection_" + T::class_ID() +
"_";}
78 void get_Contactinfo(
unsigned int& number,
double & ave,
double & std,
double & min,
double & max)
const;
109 template<
class T> std::map<std::string, ContactDetection<T> *>
128 template<
class T>
void
133 parser.
read_attribute(Attr::GRANOO_OPTIONAL,
"RecordInterpenetrationValues",
135 parser.
read_attribute(Attr::GRANOO_OPTIONAL,
"ExcludedBondedDiscreteElement",
139 std::string uniqueId =
"";
140 parser.
read_attribute(Attr::GRANOO_OPTIONAL,
"UniqueId", uniqueId);
153 AssertMsg(
law_ != 0,
"Problem while reading ContactDetection, the given CallBack can't be casted to a ContactLaw");
156 template<
class T>
void
211 template<
class T>
unsigned int
216 template<
class T>
const std::vector<double>&
221 template<
class T>
void
228 template<
class T>
void
248 template<
class T>
double
263 template<
class T>
void
#define InternAssert(condition)
Definition Macro.hpp:81
#define AssertMsg(condition, message)
Definition Macro.hpp:67
#define XmlAssert(condition, message)
Definition XmlParser.hpp:52
Definition Manager.hpp:118
Definition Manager.hpp:220
Definition Manager.hpp:58
Definition NeedSetOf.hpp:51
NeedSetOf(bool required=true)
static SetOf< type > & get()
static bool exist(const std::string &id)
Definition XmlParser.hpp:122
void read_attribute(const Attribute::State, const std::string &, T &)
the discrete element is just a spherical Element with additional dedicated features
Definition DiscreteElement.hpp:47
bool is_bonded(const Element &el) const
ask if the current element is bonded to another one
Definition Element.cpp:87
static void All(const T &, double &ave, double &std, double &min, double &max)
Definition Stat.hpp:88
This namespace group the entire Core library.
This namespace group the entire DEM library.
Definition Common.hpp:198