|
peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
|
| Npeclet | |
| Ndem | |
| Nmldetail | |
| CD3 | Double-precision copy of dem_portable's rotateVector (the same formula), for the build |
| CBodyState | A body's state, one row per particle slot (Particles::bodyState()) |
| CBodyPred | The substep's predicted body state (Particles::bodyPred()) |
| CBodyDelta | The solve's per-body accumulators: position/orientation and velocity corrections and the per-body constraint counts (Particles::bodyDelta()) |
| CCarriedColors | The previous substep's colour ledger for an incremental colouring: the key-sorted pair keys, their colours, and the ledger length (Particles::prevContactColors() / prevManifoldColors()) |
| CSleepState | Island-sleeping state per real body: asleep flag, low-motion counter, moving-wall flag, and this and the previous substep's live contact counts (Particles::sleepState()) |
| CColorScratch | Per-vertex scratch of the Jones-Plassmann colourings: the round's winning edge key and the committed-colour bitmask (Particles::colorScratch()) |
| CPairLedger | The pair-keyed warm-start ledger: pair key, converged normal and tangential impulses, Poisson bank and event peak; one row per manifold (Particles::pairLedger()) or the previous substep's key-sorted copy (Particles::prevPairLedger()) |
| CContactC | Portable mirror of ParticleSystem.cuh ContactConstraint (the fields this reduction touches) |
| CManifoldC | Portable mirror of ManifoldConstraint |
| CSlotOverride | Per-edge slot overrides of a phase's hub copies (docs/contact_solve_framework.md §4.4 item 5) plus the per-slot mass-split flag and relaxation of §4.5 |
| CColorEdge | One colouring edge as the arbitration sees it: the colouring vertices of its A / B ends (b = -1 for a wall/boundary edge) and its unique priority key (a colorKey) |
| CColorLabels | Kernel labels of one colorEdges instantiation (each caller keeps its own profiling names) |
| CPosUnits | The position units of a contact list as a CSR (§4.3): unit u owns the contacts list(start(u)) |
| CF3 | |
| CF4 | |
| CDomain | |
| CKE2 | Berendsen thermostat: reduce translational + rotational KE over real particles, compute the two scaling factors, and rescale linear/angular velocities |
| CShapeDesc | Portable mirror of ShapeDescriptor (analytic fields + a flat-array point shell) |
| CPlaneP | |
| CWallSdf | Static, world-space SDF container/geometry the particles collide against (a drum barrel, a hopper, a vibrating tray, ...) |
| CDebugContactCapture | TEST-ONLY host capture of one distributed substep's contact ownership (C++ only; filled by demStepMpi when Particles::debugCapture is set, never read by the step): the owned contacts [0, ncOwned) after the partition and the owned predicted state they were detected on |
| CPhaseCopies | One solve phase's body copies (docs/contact_solve_framework.md §4.4, §4.5, §WO-4 item 2): the hub copies of the colouring (extra slots [slotBase, slotBase + nCopies) appended to the SoA, per-edge slot overrides) and the fold GROUPS – one per body updated through more than one slot in the phase (a hub's base + copies; in demStep's position phase also the periodic images of a body) |
| CSplitStats | Diagnostics.split_stats() (docs/contact_solve_framework.md §WO-4 item 4, §13.5 WO-4b): the last substep's copies |
| CParticles | |
| CMlLast | |
| CShapeRegistry | Host-side shape registry (Layer 1) |
| CSimulation | Host-facing facade with std::vector setters/getters (binding-agnostic) |
| CCudaIterGraph | |
| CRankK | Rank-level M (docs/contact_solve_framework.md §13.3) as the hooks expose it to the driver: whether this rank reconciles copies with neighbours at all (it sends or receives ghosts) |
| CSoloSolveHooks | Single-GPU hooks: no ghost refresh, residuals are already global. Everything inlines away |
| CColoringInvariant | 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 |
| CPositionSolveContext | The overlap projection's loop context: what its iterations read that solvePositionPhase settles before them – the units and colour schedule, the stop tolerance and the phase's switches |
| CVelocitySolveContext | 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 |
| CWarmStartContext | The warm start's inputs that demSolveContacts settles before it: the pair-key map, gravity, the visible manifold count and the phase's switches |
| CSweepPlan | One coloured phase's sweep plan: owns the dense-bucket offsets and the fused context that its ColorSchedule points at, so it is built in place and never copied or moved |
| CVelocitySolveViews | The velocity phase's solve views and slot override: true masses; the hub copies' split masses; or each slot's global k_vel (rank-level M) |
| CHertzMindlinLaw | Hertz–Mindlin force-law policy (the first force law; see file comment) |
| CSoloForceHooks | Single-GPU hooks: no ghosts, reductions are already global. Everything inlines away |
| CFusedSweepCtx | Device-side context for a fused colour sweep: the colour offsets (numColors+1, uploaded from buildColorBuckets's host vector), the barrier counter, and the largest colour bucket (grid sizing) |
| CColorSchedule | 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 |
| CFusedLoopSpec | Device-side iteration loop: run up to maxIters sweeps of the colour classes inside ONE kernel, evaluating the adaptive stop on-device (the same residual the host loop read back between launches — the readback round trip and the CUDA-graph capture disappear entirely) |
| CHertzMaterials | The Hertz–Mindlin contact materials: each body's material id, the optional pair table of (e, mu) (empty = the global eGlobal / muGlobal for every pair, see hertzPairEMu), and the per-material Young's modulus and Poisson ratio |
| CHertzBodies | The body state a Hertz force launcher reads |
| CHertzShapes | What a non-spherical Hertz contact reads: orientation, scale, shape id, the shape registry and its shell points, the global scale and the shell spring's contact-radius fraction |
| CHertzWallState | The SDF walls and their per-(particle, wall) contact history at slot i * maxWalls + wall: the Mindlin tangential spring xiWall and the shell's normal stiffness snWall (empty = untracked) |
| CContactHierarchy | Host-side description of one built hierarchy (offsets into the packed group pools) |
| CMlScratch | Device scratch for the multilevel pass, sized once (see Particles::allocate) |
| CMlBodyViews | The per-body inputs of the rigid coarse space (§2.3-§2.5): the predicted positions (the member offsets d_q), the predicted angular velocities (restricted and prolonged), the orientations of the fine PGS and the coarse vertices' inverse inertia invIc = invInertia k / max(1, a) |
| CMlManifoldViews | The manifold side of a coarse sweep: the manifolds, their real-body map, the shared impulse accumulator, the approach bound it raises, and the restitution reference (empty: none) |
| CMlEligibility | The manifolds of a hierarchy build and the inputs of mldetail::eligible (constant over the build): the matching and the level colouring both test coarse-eligibility with them |
| CMlMatchFilter | The pair filter of the coarse matching, shared by the bid and the commit kernel of matchMlLevelGroups (the two must apply the identical test, or a pair could win the bidding and never be committed): an eligible crossing manifold between two movable, canonical bodies in different groups yields those groups (gA, gB) |
| CMlCoarseSweep | The per-manifold coarse-PGS body (e = 0, shared fine accumulator) lives in MlCoarseSweep so the per-colour launch loop and the fused whole-cycle kernel share it verbatim |
| CRow | One coarse row, evaluated up to its effective mass (the part solveOne shares with the oracle test's singleton check) |
| CMlFusedMeta | Host-POD description of a built hierarchy for the fused coarse-cycle kernel (fixed-size arrays: kernel argument by value) |
| CMlFusedCtx | Fused-coarse-cycle context: flat per-level colour offsets on device + barrier + meta |
| CUnitEdges | The position-unit edge source of colorEdges: a unit's edge is its leader contact's raw (bodyA, bodyB), or a hub copy slot through ov, keyed colorKey(leader) |
| CPositionContactSweep | The per-contact overlap-projection body lives in PositionContactSweep so the colored launch loop and the fused colour sweep (solver_fused.hpp) share it verbatim: solveOne(idx) must only run concurrently on contacts that are body-disjoint within one launch (a colour class) |
| CShockPropagation | Shock propagation for persistent loaded contacts (see solveVelocity): the persistence flags, predicted positions, gravity direction and grounded levels |
| CShockGate | The geometric and rise gate of shock propagation (see solveVelocity) for one persistent body-body pair with separation dx = x_A - x_B: the LOWER body may be held static (|up| > 0.3 |dx|, so near-horizontal pairs stay symmetric) ONLY when it is not moving UPWARD faster than 4 * restVelThreshold |
| CManifoldEdges | The manifold edge source of colorEdges: vertex realIdx(body) or its hub copy slot through ov, key colorKey(manifold index) |
| CPGSManifoldSweep | One full colored PGS sweep |
| CPairVelocity | The endpoints' velocities (B on a wall: the wall's average velocity, zero spin) |
| CRow | One manifold's constraint row as the three impulse channels share it: the manifold, its endpoints' solve slots, mass data and velocities at the start of this manifold's solve, the averaged normal and arm sums, and the substep's sign, effective mass, side gate and restitution |
| CReleaseBudget | The Poisson release's budget: the pair's owed impulse, the release speed scale and the endpoints' orphan balances |
| CVelocitySweepBodies | The bodies a velocity sweep reads and updates in place: mass data and orientation, the predicted velocities, the canonical velocity slot realIdx and the hub-copy slot overrides (ov, §4.4; empty = realIdx) |
| CPoissonBankViews | Event-level (Poisson) restitution views, all empty when the model is off |
| CXGateSpec | Rank-level X evaluated inline in the one-shot sweep (only for the manifolds of the colour being swept): the same test as computeXGate, without a separate pass over every manifold per iteration |
| CColoredManifolds | The colour classes one coloured sweep visits: manifolds [0, numManifolds), labelled by mColor in [0, numColors) |
| CSimulation | Host-facing facade with std::vector setters/getters (binding-agnostic) |