|
peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
|
The colouring invariant (§4.2 item 4, §12 S3): the failing phase's edges, the accumulated message, and whether the distributed vote is still owed. More...
#include <solve_driver.hpp>
Public Member Functions | |
| void | note (const char *phase, Kokkos::View< const int *, CpMem > color, int n, Kokkos::View< const int *, CpMem > vertexDegree) |
| template<class Hooks> | |
| void | seal () |
| template<class Hooks> | |
| float | vote (const Hooks &hooks, float res) |
Public Attributes | |
| Kokkos::View< int *, CpMem > | edgeA |
| Kokkos::View< int *, CpMem > | edgeB |
| std::string | msg |
| bool | pending = false |
The colouring invariant (§4.2 item 4, §12 S3): the failing phase's edges, the accumulated message, and whether the distributed vote is still owed.
A single rank throws at seal(); the distributed step throws inside the first stop vote, on every rank.
Definition at line 292 of file solve_driver.hpp.
|
inline |
Definition at line 297 of file solve_driver.hpp.
References edgeA, edgeB, peclet::dem::kColorUncolourable, msg, and peclet::dem::vertexDegree().
Referenced by peclet::dem::colorPositionPhase(), and peclet::dem::colorVelocityPhase().
|
inline |
Definition at line 327 of file solve_driver.hpp.
Referenced by peclet::dem::demSolveContacts().
|
inline |
Definition at line 336 of file solve_driver.hpp.
Referenced by peclet::dem::runOverlapProjection(), and peclet::dem::solveVelocityPhase().
| Kokkos::View<int*, CpMem> peclet::dem::ColoringInvariant::edgeA |
Definition at line 293 of file solve_driver.hpp.
Referenced by peclet::dem::colorPositionPhase(), peclet::dem::colorVelocityPhase(), and note().
| Kokkos::View<int*, CpMem> peclet::dem::ColoringInvariant::edgeB |
Definition at line 293 of file solve_driver.hpp.
Referenced by peclet::dem::colorPositionPhase(), peclet::dem::colorVelocityPhase(), and note().
| std::string peclet::dem::ColoringInvariant::msg |
Definition at line 294 of file solve_driver.hpp.
| bool peclet::dem::ColoringInvariant::pending = false |
Definition at line 295 of file solve_driver.hpp.