|
peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
|
The position-unit edge source of colorEdges: a unit's edge is its leader contact's raw (bodyA, bodyB), or a hub copy slot through ov, keyed colorKey(leader). More...
#include <solver_position.hpp>
Public Member Functions | |
| int | initialColor (int idx) const |
| ColorEdge | edge (int idx) const |
Static Public Member Functions | |
| static constexpr ColorLabels | labels () |
Public Attributes | |
| Kokkos::View< const ContactC *, CpMem > | contacts |
| Kokkos::View< const unsigned char *, CpMem > | sleepMask |
| PosUnits | units |
| SlotOverride | ov |
| bool | sleepOn |
The position-unit edge source of colorEdges: a unit's edge is its leader contact's raw (bodyA, bodyB), or a hub copy slot through ov, keyed colorKey(leader).
Inactive: all asleep.
Definition at line 177 of file solver_position.hpp.
|
inlinestaticconstexpr |
Definition at line 183 of file solver_position.hpp.
|
inline |
Definition at line 189 of file solver_position.hpp.
References sleepMask, sleepOn, peclet::dem::unitAsleep(), and units.
|
inline |
Definition at line 192 of file solver_position.hpp.
References peclet::dem::ContactC::bodyA, peclet::dem::ContactC::bodyB, peclet::dem::colorKey(), contacts, ov, and units.
Definition at line 178 of file solver_position.hpp.
Referenced by edge().
| Kokkos::View<const unsigned char*, CpMem> peclet::dem::UnitEdges::sleepMask |
Definition at line 179 of file solver_position.hpp.
Referenced by initialColor().
| PosUnits peclet::dem::UnitEdges::units |
Definition at line 180 of file solver_position.hpp.
Referenced by edge(), and initialColor().
| SlotOverride peclet::dem::UnitEdges::ov |
Definition at line 181 of file solver_position.hpp.
Referenced by edge().
| bool peclet::dem::UnitEdges::sleepOn |
Definition at line 182 of file solver_position.hpp.
Referenced by initialColor().