NetDEM v1.0
Loading...
Searching...
No Matches
collision_entry_data.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace netdem {
6
15 double pos[3]{0, 0, 0};
16
18 double dir_n[3]{1, 0, 0};
19
21 double dir_s[3]{0, 1, 0};
22
24 double dir_t[3]{0, 0, 1};
25
27 double branch_1[3]{1, 0, 0};
28
30 double branch_2[3]{-1, 0, 0};
31
33 bool node_2to1{true};
34
36 int node_id{0};
37
39 double fc_n{0};
40
43 double fc_s{0};
44
47 double fc_t{0};
48
50 double mc_n{0};
51
54 double mc_s{0};
55
58 double mc_t{0};
59
61 double fd_n{0};
62
65 double fd_s{0};
66
69 double fd_t{0};
70
72 double md_n{0};
73
76 double md_s{0};
77
80 double md_t{0};
81
83 int cnt_model_id{-1};
84};
85
86} // namespace netdem
Definition bond_entry.hpp:7
A struct that represents data associated with a collision entry.
Definition collision_entry_data.hpp:13
double branch_1[3]
The branch 1 direction of the collision entry.
Definition collision_entry_data.hpp:27
double mc_n
The normal torque component of the contact moment for the collision entry.
Definition collision_entry_data.hpp:50
int cnt_model_id
The ID of the contact model for the collision entry.
Definition collision_entry_data.hpp:83
double mc_t
Definition collision_entry_data.hpp:58
double fc_s
Definition collision_entry_data.hpp:43
bool node_2to1
Whether the node belongs to object 1.
Definition collision_entry_data.hpp:33
double mc_s
Definition collision_entry_data.hpp:54
double dir_n[3]
The normal direction of the collision entry.
Definition collision_entry_data.hpp:18
double fc_n
The normal force component of the contact force for the collision entry.
Definition collision_entry_data.hpp:39
double branch_2[3]
The branch 2 direction of the collision entry.
Definition collision_entry_data.hpp:30
double dir_s[3]
The shear direction of the collision entry.
Definition collision_entry_data.hpp:21
double fd_s
Definition collision_entry_data.hpp:65
double fc_t
Definition collision_entry_data.hpp:47
double fd_t
Definition collision_entry_data.hpp:69
double dir_t[3]
The tangent direction of the collision entry.
Definition collision_entry_data.hpp:24
double fd_n
The normal force component of the drag force for the collision entry.
Definition collision_entry_data.hpp:61
double md_s
Definition collision_entry_data.hpp:76
double pos[3]
The position of the collision entry.
Definition collision_entry_data.hpp:15
double md_n
The normal torque component of the drag moment for the collision entry.
Definition collision_entry_data.hpp:72
double md_t
Definition collision_entry_data.hpp:80
int node_id
The ID of the node associated with the collision entry.
Definition collision_entry_data.hpp:36