chrono::granular::ChGranSphereData Struct Reference

Description

Holds pointers to kinematic quantities of the granular system. These pointers must be in device-accessible memory.

#include <ChGranular.h>

Public Attributes

int * sphere_local_pos_X
 X position relative to owner subdomain in unified memory.
 
int * sphere_local_pos_Y
 Y position relative to owner subdomain in unified memory.
 
int * sphere_local_pos_Z
 Z position relative to owner subdomain in unified memory.
 
float * pos_X_dt
 X velocity in unified memory.
 
float * pos_Y_dt
 Y velocity in unified memory.
 
float * pos_Z_dt
 Z velocity in unified memory.
 
float * sphere_Omega_X
 X angular velocity in unified memory. Only used if friction is present.
 
float * sphere_Omega_Y
 Y angular velocity in unified memory. Only used if friction is present.
 
float * sphere_Omega_Z
 Z angular velocity in unified memory. Only used if friction is present.
 
float * sphere_acc_X
 X angular acceleration in unified memory.
 
float * sphere_acc_Y
 Y angular acceleration in unified memory.
 
float * sphere_acc_Z
 Z angular acceleration in unified memory.
 
float * sphere_ang_acc_X
 X angular acceleration in unified memory.
 
float * sphere_ang_acc_Y
 Y angular acceleration in unified memory.
 
float * sphere_ang_acc_Z
 Z angular acceleration in unified memory.
 
float * sphere_acc_X_old
 Previous step X acceleration for multistep integrators.
 
float * sphere_acc_Y_old
 Previous step Y acceleration for multistep integrators.
 
float * sphere_acc_Z_old
 Previous step Z acceleration for multistep integrators.
 
float * sphere_ang_acc_X_old
 Previous step X angular acceleration for multistep integrators.
 
float * sphere_ang_acc_Y_old
 Previous step Y angular acceleration for multistep integrators.
 
float * sphere_ang_acc_Z_old
 Previous step Z angular acceleration for multistep integrators.
 
not_stupid_bool * sphere_fixed
 Fixity of each sphere.
 
unsigned int * contact_partners_map
 Set of contact partners for each sphere. Only used in frictional simulations.
 
not_stupid_bool * contact_active_map
 Whether the frictional contact at an index is active.
 
float3 * contact_history_map
 Tracks the tangential history vector for a given contact pair. Only used in multistep friction.
 
unsigned int * SD_NumSpheresTouching
 Number of particles touching each subdomain.
 
unsigned int * SD_SphereCompositeOffsets
 Offset of each subdomain in the big composite array.
 
unsigned int * spheres_in_SD_composite
 Big composite array of sphere-subdomain membership.
 
unsigned int * sphere_owner_SDs
 List of owner subdomains for each sphere.
 

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