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

The colour schedule of one coloured Gauss–Seidel sweep: each item's colour and the colour count, plus the optional dense-bucket order from buildColorBuckets (the permutation and its host offsets) and the fused-sweep context. More...

#include <solver_fused.hpp>

Public Attributes

Kokkos::View< const int *, CpMem > color
int numColors = 0
Kokkos::View< const int *, CpMem > perm
const std::vector< int > * offs = nullptr
const FusedSweepCtx * fused = nullptr

Detailed Description

The colour schedule of one coloured Gauss–Seidel sweep: each item's colour and the colour count, plus the optional dense-bucket order from buildColorBuckets (the permutation and its host offsets) and the fused-sweep context.

perm empty / offs and fused nullptr = no buckets (every colour launch scans all items).

Definition at line 45 of file solver_fused.hpp.

Member Data Documentation

◆ color

Kokkos::View<const int*, CpMem> peclet::dem::ColorSchedule::color

Definition at line 46 of file solver_fused.hpp.

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

◆ numColors

int peclet::dem::ColorSchedule::numColors = 0

◆ perm

Kokkos::View<const int*, CpMem> peclet::dem::ColorSchedule::perm

◆ offs

const std::vector<int>* peclet::dem::ColorSchedule::offs = nullptr

Definition at line 49 of file solver_fused.hpp.

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

◆ fused

const FusedSweepCtx* peclet::dem::ColorSchedule::fused = nullptr

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