peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 1234]
 Npeclet
 Ndem
 Nmldetail
 CD3Double-precision copy of dem_portable's rotateVector (the same formula), for the build
 CBodyStateA body's state, one row per particle slot (Particles::bodyState())
 CBodyPredThe substep's predicted body state (Particles::bodyPred())
 CBodyDeltaThe solve's per-body accumulators: position/orientation and velocity corrections and the per-body constraint counts (Particles::bodyDelta())
 CCarriedColorsThe previous substep's colour ledger for an incremental colouring: the key-sorted pair keys, their colours, and the ledger length (Particles::prevContactColors() / prevManifoldColors())
 CSleepStateIsland-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())
 CColorScratchPer-vertex scratch of the Jones-Plassmann colourings: the round's winning edge key and the committed-colour bitmask (Particles::colorScratch())
 CPairLedgerThe 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())
 CContactCPortable mirror of ParticleSystem.cuh ContactConstraint (the fields this reduction touches)
 CManifoldCPortable mirror of ManifoldConstraint
 CSlotOverridePer-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
 CColorEdgeOne 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)
 CColorLabelsKernel labels of one colorEdges instantiation (each caller keeps its own profiling names)
 CPosUnitsThe position units of a contact list as a CSR (§4.3): unit u owns the contacts list(start(u))
 CF3
 CF4
 CDomain
 CKE2Berendsen thermostat: reduce translational + rotational KE over real particles, compute the two scaling factors, and rescale linear/angular velocities
 CShapeDescPortable mirror of ShapeDescriptor (analytic fields + a flat-array point shell)
 CPlaneP
 CWallSdfStatic, world-space SDF container/geometry the particles collide against (a drum barrel, a hopper, a vibrating tray, ...)
 CDebugContactCaptureTEST-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
 CPhaseCopiesOne 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)
 CSplitStatsDiagnostics.split_stats() (docs/contact_solve_framework.md §WO-4 item 4, §13.5 WO-4b): the last substep's copies
 CParticles
 CMlLast
 CShapeRegistryHost-side shape registry (Layer 1)
 CSimulationHost-facing facade with std::vector setters/getters (binding-agnostic)
 CCudaIterGraph
 CRankKRank-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)
 CSoloSolveHooksSingle-GPU hooks: no ghost refresh, residuals are already global. Everything inlines away
 CColoringInvariantThe colouring invariant (§4.2 item 4, §12 S3): the failing phase's edges, the accumulated message, and whether the distributed vote is still owed
 CPositionSolveContextThe 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
 CVelocitySolveContextThe 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
 CWarmStartContextThe warm start's inputs that demSolveContacts settles before it: the pair-key map, gravity, the visible manifold count and the phase's switches
 CSweepPlanOne 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
 CVelocitySolveViewsThe 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)
 CHertzMindlinLawHertz–Mindlin force-law policy (the first force law; see file comment)
 CSoloForceHooksSingle-GPU hooks: no ghosts, reductions are already global. Everything inlines away
 CFusedSweepCtxDevice-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)
 CColorScheduleThe 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
 CFusedLoopSpecDevice-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)
 CHertzMaterialsThe 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
 CHertzBodiesThe body state a Hertz force launcher reads
 CHertzShapesWhat 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
 CHertzWallStateThe 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)
 CContactHierarchyHost-side description of one built hierarchy (offsets into the packed group pools)
 CMlScratchDevice scratch for the multilevel pass, sized once (see Particles::allocate)
 CMlBodyViewsThe 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)
 CMlManifoldViewsThe 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)
 CMlEligibilityThe 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
 CMlMatchFilterThe 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)
 CMlCoarseSweepThe 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
 CRowOne coarse row, evaluated up to its effective mass (the part solveOne shares with the oracle test's singleton check)
 CMlFusedMetaHost-POD description of a built hierarchy for the fused coarse-cycle kernel (fixed-size arrays: kernel argument by value)
 CMlFusedCtxFused-coarse-cycle context: flat per-level colour offsets on device + barrier + meta
 CUnitEdgesThe 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)
 CPositionContactSweepThe 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)
 CShockPropagationShock propagation for persistent loaded contacts (see solveVelocity): the persistence flags, predicted positions, gravity direction and grounded levels
 CShockGateThe 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
 CManifoldEdgesThe manifold edge source of colorEdges: vertex realIdx(body) or its hub copy slot through ov, key colorKey(manifold index)
 CPGSManifoldSweepOne full colored PGS sweep
 CPairVelocityThe endpoints' velocities (B on a wall: the wall's average velocity, zero spin)
 CRowOne 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
 CReleaseBudgetThe Poisson release's budget: the pair's owed impulse, the release speed scale and the endpoints' orphan balances
 CVelocitySweepBodiesThe 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)
 CPoissonBankViewsEvent-level (Poisson) restitution views, all empty when the model is off
 CXGateSpecRank-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
 CColoredManifoldsThe colour classes one coloured sweep visits: manifolds [0, numManifolds), labelled by mColor in [0, numColors)
 CSimulationHost-facing facade with std::vector setters/getters (binding-agnostic)