|
peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
|
The position units of a contact list as a CSR (§4.3): unit u owns the contacts list(start(u)) . More...
#include <contact_preprocessing.hpp>
Public Member Functions | |
| bool | on () const |
| int | begin (int u) const |
| int | end (int u) const |
| int | contact (int k) const |
| int | leader (int u) const |
Public Attributes | |
| Kokkos::View< const int *, CpMem > | start |
| Kokkos::View< const int *, CpMem > | list |
The position units of a contact list as a CSR (§4.3): unit u owns the contacts list(start(u)) .
. list(start(u + 1) - 1), sorted ascending by contact index, so list(start(u)) is its leader (smallest contact index). Units are numbered by ascending leader. Empty views = the identity (every contact its own unit), which the colourings and the sweep treat exactly as the per-contact code they replace.
Definition at line 901 of file contact_preprocessing.hpp.
|
inline |
|
inline |
Definition at line 905 of file contact_preprocessing.hpp.
Referenced by peclet::dem::expandUnitColors(), and peclet::dem::unitAsleep().
|
inline |
Definition at line 906 of file contact_preprocessing.hpp.
Referenced by peclet::dem::expandUnitColors(), and peclet::dem::unitAsleep().
|
inline |
Definition at line 907 of file contact_preprocessing.hpp.
Referenced by peclet::dem::expandUnitColors(), and peclet::dem::unitAsleep().
|
inline |
Definition at line 908 of file contact_preprocessing.hpp.
References list, on(), and start.
Referenced by peclet::dem::activityHitPosition(), peclet::dem::Simulation::debugColoringConflicts(), and peclet::dem::positionEdgeEnds().
| Kokkos::View<const int*, CpMem> peclet::dem::PosUnits::start |
| Kokkos::View<const int*, CpMem> peclet::dem::PosUnits::list |
Definition at line 903 of file contact_preprocessing.hpp.