|
peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
|
The velocity phase's solve context: everything the velocity-phase loops read that demSolveContacts settles before them – the colour schedule, the solve views and slot override (true masses, mass-split copies or rank-level M), the Poisson restitution views, gravity, the rank-level X gate and the phase's switches. More...
#include <solve_driver.hpp>
Public Attributes | |
| ColorSchedule | velSched |
| int | numColors = 0 |
| Kokkos::View< const int *, CpMem > | velPermC |
| const FusedSweepCtx * | velFusedP = nullptr |
| Kokkos::View< const float *, CpMem > | invMassVel |
| Kokkos::View< const float *[3], CpMem > | invInertiaVel |
| SlotOverride | velOv |
| PoissonBankViews | poissonViews |
| RankK | rk |
| F3 | gHat {0, 0, 0} |
| float | gMagP = 0.0f |
| int | nmVisible = 0 |
| bool | usePGS = false |
| bool | poisson = false |
| bool | legacyFriction = false |
| bool | sleepOn = false |
| bool | wantFused = false |
| bool | xOn = false |
| bool | velCopiesOn = false |
| bool | velM = false |
| bool | velCons = false |
| bool | stopsOn = true |
| float | fusedOff = -1.0f |
The velocity phase's solve context: everything the velocity-phase loops read that demSolveContacts settles before them – the colour schedule, the solve views and slot override (true masses, mass-split copies or rank-level M), the Poisson restitution views, gravity, the rank-level X gate and the phase's switches.
Built once the warm start and the copies' solve views are in place; the loops never reassign a member. Host-side only: the helpers unpack it into locals before any kernel, so no device lambda names it.
Definition at line 735 of file solve_driver.hpp.
| ColorSchedule peclet::dem::VelocitySolveContext::velSched |
Definition at line 736 of file solve_driver.hpp.
Referenced by peclet::dem::launchFusedVelocityLoop(), peclet::dem::solveVelocityPhase(), peclet::dem::stabilizeEscalation(), peclet::dem::stabilizeMultilevel(), and peclet::dem::stabilizeOneSided().
| int peclet::dem::VelocitySolveContext::numColors = 0 |
Definition at line 737 of file solve_driver.hpp.
Referenced by peclet::dem::oneShotVelocityIteration().
| Kokkos::View<const int*, CpMem> peclet::dem::VelocitySolveContext::velPermC |
Definition at line 738 of file solve_driver.hpp.
| const FusedSweepCtx* peclet::dem::VelocitySolveContext::velFusedP = nullptr |
Definition at line 739 of file solve_driver.hpp.
Referenced by peclet::dem::launchFusedVelocityLoop(), and peclet::dem::stabilizeOneSided().
| Kokkos::View<const float*, CpMem> peclet::dem::VelocitySolveContext::invMassVel |
Definition at line 740 of file solve_driver.hpp.
Referenced by peclet::dem::oneShotVelocityIteration(), peclet::dem::solveVelocityPhase(), peclet::dem::stabilizeEscalation(), peclet::dem::stabilizeMultilevel(), peclet::dem::stabilizeOneSided(), and peclet::dem::stabilizeOrdered().
| Kokkos::View<const float* [3], CpMem> peclet::dem::VelocitySolveContext::invInertiaVel |
Definition at line 741 of file solve_driver.hpp.
Referenced by peclet::dem::oneShotVelocityIteration(), peclet::dem::solveVelocityPhase(), peclet::dem::stabilizeEscalation(), peclet::dem::stabilizeMultilevel(), peclet::dem::stabilizeOneSided(), and peclet::dem::stabilizeOrdered().
| SlotOverride peclet::dem::VelocitySolveContext::velOv |
Definition at line 742 of file solve_driver.hpp.
Referenced by peclet::dem::oneShotVelocityIteration(), peclet::dem::solveVelocityPhase(), peclet::dem::stabilizeEscalation(), peclet::dem::stabilizeMultilevel(), peclet::dem::stabilizeOneSided(), and peclet::dem::stabilizeOrdered().
| PoissonBankViews peclet::dem::VelocitySolveContext::poissonViews |
Definition at line 744 of file solve_driver.hpp.
Referenced by peclet::dem::closeVelocityPhase(), peclet::dem::foldVelocityCopies(), peclet::dem::launchFusedVelocityLoop(), peclet::dem::solveVelocityPhase(), peclet::dem::stabilizeEscalation(), peclet::dem::stabilizeMultilevel(), peclet::dem::stabilizeOneSided(), peclet::dem::stabilizeOrdered(), and peclet::dem::syncVelocityPhase().
| RankK peclet::dem::VelocitySolveContext::rk |
Definition at line 745 of file solve_driver.hpp.
Referenced by peclet::dem::oneShotVelocityIteration().
| F3 peclet::dem::VelocitySolveContext::gHat {0, 0, 0} |
Definition at line 746 of file solve_driver.hpp.
Referenced by peclet::dem::stabilizeMultilevel(), peclet::dem::stabilizeOneSided(), and peclet::dem::stabilizeOrdered().
| float peclet::dem::VelocitySolveContext::gMagP = 0.0f |
Definition at line 747 of file solve_driver.hpp.
Referenced by peclet::dem::closeVelocityPhase(), peclet::dem::solveVelocityPhase(), peclet::dem::stabilizeMultilevel(), peclet::dem::stabilizeOneSided(), and peclet::dem::stabilizeVelocityPhase().
| int peclet::dem::VelocitySolveContext::nmVisible = 0 |
Definition at line 748 of file solve_driver.hpp.
Referenced by peclet::dem::stabilizeOrdered().
| bool peclet::dem::VelocitySolveContext::usePGS = false |
Definition at line 749 of file solve_driver.hpp.
Referenced by peclet::dem::closeVelocityPhase(), peclet::dem::launchFusedVelocityLoop(), peclet::dem::solveVelocityPhase(), and peclet::dem::stabilizeVelocityPhase().
| bool peclet::dem::VelocitySolveContext::poisson = false |
Definition at line 750 of file solve_driver.hpp.
Referenced by peclet::dem::closeVelocityPhase().
| bool peclet::dem::VelocitySolveContext::legacyFriction = false |
Definition at line 751 of file solve_driver.hpp.
Referenced by peclet::dem::solveVelocityPhase().
| bool peclet::dem::VelocitySolveContext::sleepOn = false |
Definition at line 752 of file solve_driver.hpp.
Referenced by peclet::dem::stabilizeMultilevel().
| bool peclet::dem::VelocitySolveContext::wantFused = false |
Definition at line 753 of file solve_driver.hpp.
Referenced by peclet::dem::stabilizeMultilevel().
| bool peclet::dem::VelocitySolveContext::xOn = false |
Definition at line 754 of file solve_driver.hpp.
Referenced by peclet::dem::oneShotVelocityIteration().
| bool peclet::dem::VelocitySolveContext::velCopiesOn = false |
Definition at line 755 of file solve_driver.hpp.
Referenced by peclet::dem::closeVelocityPhase(), peclet::dem::foldVelocityCopies(), peclet::dem::launchFusedVelocityLoop(), peclet::dem::stabilizeMultilevel(), peclet::dem::stabilizeOneSided(), and peclet::dem::syncVelocityPhase().
| bool peclet::dem::VelocitySolveContext::velM = false |
Definition at line 756 of file solve_driver.hpp.
Referenced by peclet::dem::closeVelocityPhase(), peclet::dem::stabilizeMultilevel(), and peclet::dem::syncVelocityPhase().
| bool peclet::dem::VelocitySolveContext::velCons = false |
Definition at line 757 of file solve_driver.hpp.
Referenced by peclet::dem::solveVelocityPhase(), peclet::dem::stabilizeEscalation(), peclet::dem::stabilizeMultilevel(), peclet::dem::stabilizeOneSided(), and peclet::dem::stabilizeOrdered().
| bool peclet::dem::VelocitySolveContext::stopsOn = true |
Definition at line 758 of file solve_driver.hpp.
Referenced by peclet::dem::launchFusedVelocityLoop(), peclet::dem::solveVelocityPhase(), peclet::dem::stabilizeEscalation(), peclet::dem::stabilizeMultilevel(), peclet::dem::stabilizeOneSided(), and peclet::dem::stabilizeOrdered().
| float peclet::dem::VelocitySolveContext::fusedOff = -1.0f |
Definition at line 759 of file solve_driver.hpp.
Referenced by peclet::dem::launchFusedVelocityLoop(), and peclet::dem::stabilizeOneSided().