34 #ifndef _libDEM_ContactBond_hpp_
35 #define _libDEM_ContactBond_hpp_
69 static std::map<unsigned long long int, ContactBond*>
_all_map;
81 virtual std::string
info()
const;
91 template<
class Archive>
void serialize(Archive&,
const unsigned int);
99 template<
class Archive>
void
101 ar &boost::serialization::base_object<Bond>(*
this);
104 template<
class T1,
class T2>
108 for (
auto& b : ContactBond::all()) {
111 b->disable_fast_mode();
116 template<
class T1,
class T2>
137 template<
class T1,
class T2>
149 const bool inverse = !t1.
is_same(b->get_element1());
166 b->set_surface(surface);
175 #include <boost/serialization/version.hpp>
182 namespace serialization
185 template<
class Archive>
void
188 const unsigned int) {
196 template<
class Archive>
void
199 const unsigned int) {
212 GRANOO_CLASS_DECLARE_TPL(DEM::ContactBond);
#define InternAssert(condition)
Definition: Macro.hpp:81
size_t numID() const
Definition: Base.hpp:201
bool is_same(const Base &) const
Definition: Base.hpp:182
Definition: SetOf.hpp:346
the base class for all bonds between discrete elements.
Definition: Bond.hpp:49
bool is_disabled() const
check if the bond is enable or not
Definition: Bond.hpp:239
a base class that represents an element
Definition: Element.hpp:55
Definition: Vector.hpp:75
Geom::Vector _torque_on2
the current value of the applied torque on the body 2
Definition: BodyInteraction.hpp:87
void clear_torque()
set the torques to zero
Definition: BodyInteraction.cpp:87
Geom::Vector _torque_on1
the current value of the applied torque on the body 1
Definition: BodyInteraction.hpp:86
pure virtual class for modeling classes able to compute a critical time step
Definition: CriticalTimeStep.hpp:50
void clear_force()
Definition: NodeInteraction.cpp:95
Geom::Vector _force_on2
Definition: NodeInteraction.hpp:84
Geom::Vector _force_on1
Definition: NodeInteraction.hpp:83
Definition: Common.hpp:198
void save_construct_data(Archive &ar, const GranOO3::Core::Pair< type > *t, const unsigned int)
Definition: Pair.hpp:207
void load_construct_data(Archive &ar, GranOO3::Core::Pair< type > *t, const unsigned int)
Definition: Pair.hpp:217
const T1
Definition: Exprtk.hpp:16489
T value(details::expression_node< T > *n)
Definition: Exprtk.hpp:15070
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t t(t+t)") define_sfop3(16
const T1 const T2
Definition: Exprtk.hpp:16511