NetDEM v1.0
Loading...
Searching...
No Matches
particle_data.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace netdem {
6
19 int id{0};
20
22 int shape_id{0};
23
25 double bound_min[3]{0, 0, 0}, bound_max[3]{0, 0, 0}, margin{0};
26
29 double bound_disp[3]{0, 0, 0};
30
33
35 double density{2650};
37 double damp_viscous{0};
38 double damp_numerical{0};
39
41 double pos[3]{0, 0, 0}, quaternion[4]{1, 0, 0, 0};
43 double vel[3]{0, 0, 0}, spin[3]{0, 0, 0};
45 double vel_m0p5[3]{0, 0, 0}, spin_principal[3]{0, 0, 0};
47 double force[3]{0, 0, 0}, moment[3]{0, 0, 0};
48
51 bool enable_bound_aabb{false};
52
56};
57
58} // namespace netdem
Definition bond_entry.hpp:7
A struct defining the particle data for MPI communication.
Definition particle_data.hpp:17
double vel_m0p5[3]
Definition particle_data.hpp:45
double margin
Definition particle_data.hpp:25
double bound_disp[3]
The material type identifier for the particle.
Definition particle_data.hpp:29
bool need_update_linked_list
Definition particle_data.hpp:55
double force[3]
Definition particle_data.hpp:47
double damp_viscous
Definition particle_data.hpp:37
int material_type
The density of the particle.
Definition particle_data.hpp:32
double vel[3]
Definition particle_data.hpp:43
int shape_id
The bounding box and margin for the particle's shape.
Definition particle_data.hpp:22
double spin[3]
Additional velocity and angular velocity vectors used in calculations.
Definition particle_data.hpp:43
double spin_principal[3]
The force and torque acting on the particle.
Definition particle_data.hpp:45
double bound_min[3]
Definition particle_data.hpp:25
bool enable_bound_aabb
Definition particle_data.hpp:51
double moment[3]
Definition particle_data.hpp:47
double density
The global damping coefficient for the particle.
Definition particle_data.hpp:35
double pos[3]
Definition particle_data.hpp:41
double bound_max[3]
Definition particle_data.hpp:25
double quaternion[4]
The velocity and angular velocity of the particle.
Definition particle_data.hpp:41
double damp_numerical
The position and orientation of the particle.
Definition particle_data.hpp:38