NetDEM v1.0
|
A struct that represents data associated with a collision entry. More...
#include <collision_entry_data.hpp>
Public Attributes | |
double | pos [3] {0, 0, 0} |
The position of the collision entry. | |
double | dir_n [3] {1, 0, 0} |
The normal direction of the collision entry. | |
double | dir_s [3] {0, 1, 0} |
The shear direction of the collision entry. | |
double | dir_t [3] {0, 0, 1} |
The tangent direction of the collision entry. | |
double | branch_1 [3] {1, 0, 0} |
The branch 1 direction of the collision entry. | |
double | branch_2 [3] {-1, 0, 0} |
The branch 2 direction of the collision entry. | |
bool | node_2to1 {true} |
Whether the node belongs to object 1. | |
int | node_id {0} |
The ID of the node associated with the collision entry. | |
double | fc_n {0} |
The normal force component of the contact force for the collision entry. | |
double | fc_s {0} |
double | fc_t {0} |
double | mc_n {0} |
The normal torque component of the contact moment for the collision entry. | |
double | mc_s {0} |
double | mc_t {0} |
double | fd_n {0} |
The normal force component of the drag force for the collision entry. | |
double | fd_s {0} |
double | fd_t {0} |
double | md_n {0} |
The normal torque component of the drag moment for the collision entry. | |
double | md_s {0} |
double | md_t {0} |
int | cnt_model_id {-1} |
The ID of the contact model for the collision entry. | |
A struct that represents data associated with a collision entry.
The CollisionEntryData
struct is used to store and manage data associated with a collision entry.
double netdem::CollisionEntryData::branch_1[3] {1, 0, 0} |
The branch 1 direction of the collision entry.
double netdem::CollisionEntryData::branch_2[3] {-1, 0, 0} |
The branch 2 direction of the collision entry.
int netdem::CollisionEntryData::cnt_model_id {-1} |
The ID of the contact model for the collision entry.
double netdem::CollisionEntryData::dir_n[3] {1, 0, 0} |
The normal direction of the collision entry.
double netdem::CollisionEntryData::dir_s[3] {0, 1, 0} |
The shear direction of the collision entry.
double netdem::CollisionEntryData::dir_t[3] {0, 0, 1} |
The tangent direction of the collision entry.
double netdem::CollisionEntryData::fc_n {0} |
The normal force component of the contact force for the collision entry.
double netdem::CollisionEntryData::fc_s {0} |
The shear force component in direction s of the contact force for the collision entry.
double netdem::CollisionEntryData::fc_t {0} |
The shear force component in direction t of the contact force for the collision entry.
double netdem::CollisionEntryData::fd_n {0} |
The normal force component of the drag force for the collision entry.
double netdem::CollisionEntryData::fd_s {0} |
The shear force component in direction s of the drag force for the collision entry.
double netdem::CollisionEntryData::fd_t {0} |
The shear force component in direction t of the drag force for the collision entry.
double netdem::CollisionEntryData::mc_n {0} |
The normal torque component of the contact moment for the collision entry.
double netdem::CollisionEntryData::mc_s {0} |
The shear torque component in direction s of the contact moment for the collision entry.
double netdem::CollisionEntryData::mc_t {0} |
The shear torque component in direction t of the contact moment for the collision entry.
double netdem::CollisionEntryData::md_n {0} |
The normal torque component of the drag moment for the collision entry.
double netdem::CollisionEntryData::md_s {0} |
The shear torque component in direction s of the drag moment for the collision entry.
double netdem::CollisionEntryData::md_t {0} |
The shear torque component in direction t of the drag moment for the collision entry.
bool netdem::CollisionEntryData::node_2to1 {true} |
Whether the node belongs to object 1.
int netdem::CollisionEntryData::node_id {0} |
The ID of the node associated with the collision entry.
double netdem::CollisionEntryData::pos[3] {0, 0, 0} |
The position of the collision entry.