86 void SetProperty(nlohmann::json
const &js)
override;
98 void SetProperty(std::string
const &name,
double value)
override;
130 double dt)
const override;
151 double dt)
const override;
160 void Print()
const override;
A class representing the geometries associated with a collision.
Definition collision_geometries.hpp:15
A contact model based on the Hertz-Mindlin theory of elastic-plastic contact.
Definition model_hertz_mindlin.hpp:21
nlohmann::json PackJson() override
Pack object data into a JSON object for serialization.
Definition model_hertz_mindlin.cpp:23
void Print() const override
Print information about the current state of the object to the console.
Definition model_hertz_mindlin.cpp:142
double kt
Definition model_hertz_mindlin.hpp:27
double mu
Definition model_hertz_mindlin.hpp:33
double beta
Definition model_hertz_mindlin.hpp:30
void EvaluateForces(ContactForces *const cnt_forces, CollisionGeometries &cnt_geoms, ContactPP *const cnt, double dt) const override
Compute the force and moment on a particle-particle contact point.
Definition model_hertz_mindlin.cpp:87
void SetProperty(std::string const &name, double value) override
Set a named property of the object to a given value.
double E_eq
Definition model_hertz_mindlin.hpp:24
HertzMindlin()
Definition model_hertz_mindlin.cpp:12
void InitFromJson(nlohmann::json const &js) override
Initialize object data from a JSON object.
Definition model_hertz_mindlin.cpp:34
void SetProperty(nlohmann::json const &js) override
Set a property of the object from a JSON object.
Definition model_hertz_mindlin.cpp:52
ContactModel * Clone() const override
Create a deep copy of the object.
Definition model_hertz_mindlin.cpp:85
Definition bond_entry.hpp:7