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

The manifold edge source of colorEdges: vertex realIdx(body) or its hub copy slot through ov, key colorKey(manifold index). More...

#include <solver_velocity.hpp>

Public Member Functions

int initialColor (int idx) const
ColorEdge edge (int idx) const

Static Public Member Functions

static constexpr ColorLabels labels ()

Public Attributes

Kokkos::View< const ManifoldC *, CpMem > manifolds
Kokkos::View< const int *, CpMem > realIdx
Kokkos::View< const unsigned char *, CpMem > sleepMask
SlotOverride ov
bool sleepOn
bool dedupTwins

Detailed Description

The manifold edge source of colorEdges: vertex realIdx(body) or its hub copy slot through ov, key colorKey(manifold index).

Inactive: empty, both-asleep, or the periodic-dedup twin.

Definition at line 348 of file solver_velocity.hpp.

Member Function Documentation

◆ labels()

constexpr ColorLabels peclet::dem::ManifoldEdges::labels ( )
inlinestaticconstexpr

Definition at line 355 of file solver_velocity.hpp.

◆ initialColor()

int peclet::dem::ManifoldEdges::initialColor ( int idx) const
inline

◆ edge()

ColorEdge peclet::dem::ManifoldEdges::edge ( int idx) const
inline

Member Data Documentation

◆ manifolds

Kokkos::View<const ManifoldC*, CpMem> peclet::dem::ManifoldEdges::manifolds

Definition at line 349 of file solver_velocity.hpp.

Referenced by edge(), and initialColor().

◆ realIdx

Kokkos::View<const int*, CpMem> peclet::dem::ManifoldEdges::realIdx

Definition at line 350 of file solver_velocity.hpp.

Referenced by edge(), and initialColor().

◆ sleepMask

Kokkos::View<const unsigned char*, CpMem> peclet::dem::ManifoldEdges::sleepMask

Definition at line 351 of file solver_velocity.hpp.

Referenced by initialColor().

◆ ov

SlotOverride peclet::dem::ManifoldEdges::ov

Definition at line 352 of file solver_velocity.hpp.

Referenced by edge().

◆ sleepOn

bool peclet::dem::ManifoldEdges::sleepOn

Definition at line 353 of file solver_velocity.hpp.

Referenced by initialColor().

◆ dedupTwins

bool peclet::dem::ManifoldEdges::dedupTwins

Definition at line 354 of file solver_velocity.hpp.

Referenced by initialColor().


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