Description

Rigid body states on device.

Data are managed in an SOA, with each array containing corresponding data from all bodies in the system.

Public Member Functions

zipIterRigidD iterator (int offset)
 
void CopyFromH (const FsiBodyStateH &bodyStateH)
 
FsiBodyStateD & operator= (const FsiBodyStateD &other)
 
void Resize (size_t s)
 

Public Attributes

thrust::device_vector< Real3 > pos
 body linear positions
 
thrust::device_vector< Real3 > lin_vel
 body linear velocities
 
thrust::device_vector< Real3 > lin_acc
 body linear accelerations
 
thrust::device_vector< Real4 > rot
 body orientations (quaternions)
 
thrust::device_vector< Real3 > ang_vel
 body angular velocities (local frame)
 
thrust::device_vector< Real3 > ang_acc
 body angular accelerations (local frame)
 

The documentation for this struct was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_fsi/sph/physics/SphDataManager.cuh