Description

Structure of arrays containing state data.

#include <ChCollisionData.h>

Public Attributes

uint num_rigid_bodies
 number of rigid bodies in a system
 
uint num_fluid_bodies
 number of fluid bodies in the system
 
std::vector< real3 > * pos_rigid
 [num_rigid_bodies] rigid body positions
 
std::vector< quaternion > * rot_rigid
 [num_rigid_bodies] rigid body rotations
 
std::vector< char > * active_rigid
 [num_rigid_bodies] flags indicating rigid bodies that active
 
std::vector< char > * collide_rigid
 [num_rigid_bodies] flags indicating bodies that participate in collision
 
std::vector< real3 > * pos_3dof
 [num_fluid_bodies] 3-dof particle positions
 
std::vector< real3 > * sorted_pos_3dof
 [num_fluid_bodies] (output) 3-dof particle positions sorted by bin index
 

The documentation for this struct was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/collision/chrono/ChCollisionData.h