NetDEM v1.0
|
A class representing the geometries associated with a collision. More...
#include <collision_geometries.hpp>
Public Attributes | |
Vec3d | pos {0, 0, 0} |
Vec3d | dir_n {1, 0, 0} |
Vec3d | dir_s {0, 1, 0} |
Vec3d | dir_t {0, 0, 1} |
Vec3d | branch_1 {1, 0, 0} |
Vec3d | branch_2 {1, 0, 0} |
double | len_n {0} |
double | dlen_n {0} |
double | dlen_s {0} |
double | dlen_t {0} |
double | dtheta_n {0} |
double | dtheta_s {0} |
double | dtheta_t {0} |
double | radius_1 {1} |
double | radius_2 {1} |
bool | active {true} |
bool | node_2to1 {true} |
int | node_id {0} |
double | node_dist {0} |
double | vol {0} |
double | sn {0} |
A class representing the geometries associated with a collision.
This class contains information about the position, orientation, and size of the contact surface associated with a collision. It also includes additional fields for tracking the state of the contact and for use with specific contact models.
bool netdem::CollisionGeometries::active {true} |
Whether the contact associated with this geometry is active.
Vec3d netdem::CollisionGeometries::branch_1 {1, 0, 0} |
The direction of the first branch of the contact surface.
Vec3d netdem::CollisionGeometries::branch_2 {1, 0, 0} |
The direction of the second branch of the contact surface.
Vec3d netdem::CollisionGeometries::dir_n {1, 0, 0} |
The normal direction of the contact surface.
Vec3d netdem::CollisionGeometries::dir_s {0, 1, 0} |
The tangential directions of the contact surface.
Vec3d netdem::CollisionGeometries::dir_t {0, 0, 1} |
double netdem::CollisionGeometries::dlen_n {0} |
The change in length of the normal segment of the contact surface.
double netdem::CollisionGeometries::dlen_s {0} |
The change in length of the tangential segments of the contact surface.
double netdem::CollisionGeometries::dlen_t {0} |
double netdem::CollisionGeometries::dtheta_n {0} |
The change in angle of the normal segment of the contact surface.
double netdem::CollisionGeometries::dtheta_s {0} |
The change in angle of the tangential segments of the contact surface.
double netdem::CollisionGeometries::dtheta_t {0} |
double netdem::CollisionGeometries::len_n {0} |
The length of the normal segment of the contact surface.
bool netdem::CollisionGeometries::node_2to1 {true} |
Whether considering object 1 as base particle and object 2 as the intruding particle for the SDF solver.
double netdem::CollisionGeometries::node_dist {0} |
The distance to the node associated with the contact (for node-based solvers).
int netdem::CollisionGeometries::node_id {0} |
The ID of the node associated with the contact (for node-based solvers).
Vec3d netdem::CollisionGeometries::pos {0, 0, 0} |
The position of the contact surface.
double netdem::CollisionGeometries::radius_1 {1} |
The radius of the first branch of the contact surface.
double netdem::CollisionGeometries::radius_2 {1} |
The radius of the second branch of the contact surface.
double netdem::CollisionGeometries::sn {0} |
The surface area of the contact region.
double netdem::CollisionGeometries::vol {0} |
The volume of the contact region.