NetDEM v1.0
Loading...
Searching...
No Matches
netdem::CollisionEntryData Struct Reference

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.
 

Detailed Description

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.

Member Data Documentation

◆ branch_1

double netdem::CollisionEntryData::branch_1[3] {1, 0, 0}

The branch 1 direction of the collision entry.

◆ branch_2

double netdem::CollisionEntryData::branch_2[3] {-1, 0, 0}

The branch 2 direction of the collision entry.

◆ cnt_model_id

int netdem::CollisionEntryData::cnt_model_id {-1}

The ID of the contact model for the collision entry.

◆ dir_n

double netdem::CollisionEntryData::dir_n[3] {1, 0, 0}

The normal direction of the collision entry.

◆ dir_s

double netdem::CollisionEntryData::dir_s[3] {0, 1, 0}

The shear direction of the collision entry.

◆ dir_t

double netdem::CollisionEntryData::dir_t[3] {0, 0, 1}

The tangent direction of the collision entry.

◆ fc_n

double netdem::CollisionEntryData::fc_n {0}

The normal force component of the contact force for the collision entry.

◆ fc_s

double netdem::CollisionEntryData::fc_s {0}

The shear force component in direction s of the contact force for the collision entry.

◆ fc_t

double netdem::CollisionEntryData::fc_t {0}

The shear force component in direction t of the contact force for the collision entry.

◆ fd_n

double netdem::CollisionEntryData::fd_n {0}

The normal force component of the drag force for the collision entry.

◆ fd_s

double netdem::CollisionEntryData::fd_s {0}

The shear force component in direction s of the drag force for the collision entry.

◆ fd_t

double netdem::CollisionEntryData::fd_t {0}

The shear force component in direction t of the drag force for the collision entry.

◆ mc_n

double netdem::CollisionEntryData::mc_n {0}

The normal torque component of the contact moment for the collision entry.

◆ mc_s

double netdem::CollisionEntryData::mc_s {0}

The shear torque component in direction s of the contact moment for the collision entry.

◆ mc_t

double netdem::CollisionEntryData::mc_t {0}

The shear torque component in direction t of the contact moment for the collision entry.

◆ md_n

double netdem::CollisionEntryData::md_n {0}

The normal torque component of the drag moment for the collision entry.

◆ md_s

double netdem::CollisionEntryData::md_s {0}

The shear torque component in direction s of the drag moment for the collision entry.

◆ md_t

double netdem::CollisionEntryData::md_t {0}

The shear torque component in direction t of the drag moment for the collision entry.

◆ node_2to1

bool netdem::CollisionEntryData::node_2to1 {true}

Whether the node belongs to object 1.

◆ node_id

int netdem::CollisionEntryData::node_id {0}

The ID of the node associated with the collision entry.

◆ pos

double netdem::CollisionEntryData::pos[3] {0, 0, 0}

The position of the collision entry.


The documentation for this struct was generated from the following file: