|
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 697 of file contact_preprocessing.hpp.
|
inline |
|
inline |
Definition at line 701 of file contact_preprocessing.hpp.
Referenced by peclet::dem::expandUnitColorsKokkos(), peclet::dem::PositionContactSweep::solveOne(), and peclet::dem::unitAsleep().
|
inline |
Definition at line 702 of file contact_preprocessing.hpp.
Referenced by peclet::dem::expandUnitColorsKokkos(), peclet::dem::PositionContactSweep::solveOne(), and peclet::dem::unitAsleep().
|
inline |
Definition at line 703 of file contact_preprocessing.hpp.
Referenced by peclet::dem::expandUnitColorsKokkos(), peclet::dem::PositionContactSweep::solveOne(), and peclet::dem::unitAsleep().
|
inline |
Definition at line 704 of file contact_preprocessing.hpp.
References list, on(), and start.
Referenced by peclet::dem::activityHitPositionKokkos(), peclet::dem::positionEdgeEndsKokkos(), and peclet::dem::PositionContactSweep::solveContact().
| Kokkos::View<const int*, CpMem> peclet::dem::PosUnits::start |
| Kokkos::View<const int*, CpMem> peclet::dem::PosUnits::list |
Definition at line 699 of file contact_preprocessing.hpp.