peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
Loading...
Searching...
No Matches
peclet::dem::WarmStartContext Struct Reference

The warm start's inputs that demSolveContacts settles before it: the pair-key map, gravity, the visible manifold count and the phase's switches. More...

#include <solve_driver.hpp>

Public Attributes

Kokkos::View< const int *, CpMem > keyIdx
F3 gHat {0, 0, 0}
float gMagP = 0.0f
int nmVisible = 0
bool usePGS = false
bool poisson = false
bool rankM = false

Detailed Description

The warm start's inputs that demSolveContacts settles before it: the pair-key map, gravity, the visible manifold count and the phase's switches.

Host-side only: openVelocityWarmStart unpacks it into locals before any kernel, so no device lambda names it.

Definition at line 1493 of file solve_driver.hpp.

Member Data Documentation

◆ keyIdx

Kokkos::View<const int*, CpMem> peclet::dem::WarmStartContext::keyIdx

Definition at line 1494 of file solve_driver.hpp.

Referenced by peclet::dem::openVelocityWarmStart().

◆ gHat

F3 peclet::dem::WarmStartContext::gHat {0, 0, 0}

Definition at line 1495 of file solve_driver.hpp.

Referenced by peclet::dem::openVelocityWarmStart().

◆ gMagP

float peclet::dem::WarmStartContext::gMagP = 0.0f

Definition at line 1496 of file solve_driver.hpp.

Referenced by peclet::dem::openVelocityWarmStart().

◆ nmVisible

int peclet::dem::WarmStartContext::nmVisible = 0

Definition at line 1497 of file solve_driver.hpp.

Referenced by peclet::dem::openVelocityWarmStart().

◆ usePGS

bool peclet::dem::WarmStartContext::usePGS = false

Definition at line 1498 of file solve_driver.hpp.

Referenced by peclet::dem::openVelocityWarmStart().

◆ poisson

bool peclet::dem::WarmStartContext::poisson = false

Definition at line 1499 of file solve_driver.hpp.

Referenced by peclet::dem::openVelocityWarmStart().

◆ rankM

bool peclet::dem::WarmStartContext::rankM = false

Definition at line 1500 of file solve_driver.hpp.

Referenced by peclet::dem::openVelocityWarmStart().


The documentation for this struct was generated from the following file: