|
peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
|
dem — the shape registry: the host-side authoritative list of particle shapes (analytic sphere / hollow cylinder / box, grid SDF, composed analytic scene) with their surface point shells, unit-mass inverse inertias and bounding radii, and the upload that rebuilds the device Views (P_.shapes / P_.shell / P_.sdfGrid / P_.shapeNodes) from it.
More...
#include <algorithm>#include <cmath>#include <cstddef>#include <Kokkos_Core.hpp>#include <stdexcept>#include <string>#include <vector>#include "narrowphase.hpp"#include "particles.hpp"#include "peclet/core/geom/scene_builder.hpp"#include "shapes_portable.hpp"#include "step_solve.hpp"Go to the source code of this file.
Classes | |
| class | peclet::dem::ShapeRegistry |
| Host-side shape registry (Layer 1). More... | |
Namespaces | |
| namespace | peclet |
| namespace | peclet::dem |
dem — the shape registry: the host-side authoritative list of particle shapes (analytic sphere / hollow cylinder / box, grid SDF, composed analytic scene) with their surface point shells, unit-mass inverse inertias and bounding radii, and the upload that rebuilds the device Views (P_.shapes / P_.shell / P_.sdfGrid / P_.shapeNodes) from it.
Simulation (sim.hpp) derives from it; the registry owns the particle SoA P_ because every shape change re-sizes the contact buffers around it.
Definition in file shape_registry.hpp.