peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
Loading...
Searching...
No Matches
peclet::dem::BodyState Struct Reference

A body's state, one row per particle slot (Particles::bodyState()). More...

#include <contact_preprocessing.hpp>

Public Attributes

Kokkos::View< float *[3], CpMem > pos
Kokkos::View< float *[3], CpMem > vel
Kokkos::View< float *[4], CpMem > quat
Kokkos::View< float *[3], CpMem > angVel
Kokkos::View< float *, CpMem > invMass
Kokkos::View< float *[3], CpMem > invInertia
Kokkos::View< float *, CpMem > scale
Kokkos::View< int *, CpMem > shapeId

Detailed Description

A body's state, one row per particle slot (Particles::bodyState()).

Definition at line 37 of file contact_preprocessing.hpp.

Member Data Documentation

◆ pos

◆ vel

◆ quat

◆ angVel

◆ invMass

◆ invInertia

◆ scale

Kokkos::View<float*, CpMem> peclet::dem::BodyState::scale

Definition at line 44 of file contact_preprocessing.hpp.

◆ shapeId

Kokkos::View<int*, CpMem> peclet::dem::BodyState::shapeId

Definition at line 45 of file contact_preprocessing.hpp.


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