|
NetDEM v1.0
|
A class representing a collision entry. More...
#include <collision_entry.hpp>
Public Member Functions | |
| void | UpdateForces (ContactPP *const cnt, double dt) |
| void | UpdateForces (ContactPW *const cnt, double dt) |
| void | UpdateLocalForces (ContactPP *const cnt, double dt) |
| void | UpdateLocalForces (ContactPW *const cnt, double dt) |
| void | UpdateGlobalForces () |
Public Attributes | |
| CollisionGeometries | cnt_geoms |
| ContactForces | cnt_forces |
| ContactModel * | cnt_model {nullptr} |
A class representing a collision entry.
This class contains information about a collision between two objects, including the geometries associated with the contact and the forces acting on those geometries. It also includes a pointer to the contact model that was used to generate the contact.
| void CollisionEntry::UpdateForces | ( | ContactPP *const | cnt, |
| double | dt ) |
Updates the global forces acting on the contact for a point-point contact.
| cnt | A pointer to the point-point contact. |
| dt | The simulation time step. |
| void CollisionEntry::UpdateForces | ( | ContactPW *const | cnt, |
| double | dt ) |
Updates the global forces acting on the contact for a point-wall contact.
| cnt | A pointer to the point-wall contact. |
| dt | The simulation time step. |
| void CollisionEntry::UpdateGlobalForces | ( | ) |
Updates the global forces acting on all contacts associated with this entry.
| void CollisionEntry::UpdateLocalForces | ( | ContactPP *const | cnt, |
| double | dt ) |
Updates the local forces acting on the contact for a point-point contact.
| cnt | A pointer to the point-point contact. |
| dt | The simulation time step. |
| void CollisionEntry::UpdateLocalForces | ( | ContactPW *const | cnt, |
| double | dt ) |
Updates the local forces acting on the contact for a point-wall contact.
| cnt | A pointer to the point-wall contact. |
| dt | The simulation time step. |
| ContactForces netdem::CollisionEntry::cnt_forces |
The forces acting on the geometries associated with the contact.
| CollisionGeometries netdem::CollisionEntry::cnt_geoms |
The geometries associated with the contact.
| ContactModel* netdem::CollisionEntry::cnt_model {nullptr} |
A pointer to the contact model used to generate the contact.