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 ()
 
void CopyFromH (const FsiBodyStateH &bodyStateH)
 
FsiBodyStateDoperator= (const FsiBodyStateD &other)
 
void Resize (size_t s)
 

Public Attributes

thrust::device_vector< Real3pos
 body linear positions
 
thrust::device_vector< Real3lin_vel
 body linear velocities
 
thrust::device_vector< Real3lin_acc
 body linear accelerations
 
thrust::device_vector< Real4rot
 body orientations (quaternions)
 
thrust::device_vector< Real3ang_vel
 body angular velocities (local frame)
 
thrust::device_vector< Real3ang_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/FsiDataManager.cuh