|
peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
|
Portable mirror of ShapeDescriptor (analytic fields + a flat-array point shell). More...
#include <narrowphase.hpp>
Public Attributes | |
| int | type |
| F4 | params |
| int | shellOffset |
| int | numPoints |
| peclet::core::geom::GridDesc< float > | grid |
| const peclet::core::geom::ShapeNode< float > * | nodes = nullptr |
| int | nodeCount = 0 |
| int | shapeRoot = -1 |
Portable mirror of ShapeDescriptor (analytic fields + a flat-array point shell).
For an imported grid SDF (type == SHAPE_GRID_SDF) the analytic params is unused except params.x, which carries the canonical bounding radius (used by the broad-phase splat / VTI export). The signed-distance samples live in the shared Particles::sdfGrid View at [gridOffset, gridOffset + nx*ny*nz), x-fastest (idx = x + y*nx + z*nx*ny), located at the regular lattice nodes q = gridOrigin + (x,y,z) / gridInvSpacing in canonical (unrotated, unit-scale) particle space. Analytic shapes leave these zero.
Definition at line 30 of file narrowphase.hpp.
| int peclet::dem::ShapeDesc::type |
Definition at line 31 of file narrowphase.hpp.
Referenced by peclet::dem::ShapeRegistry::addSceneShape(), peclet::dem::ShapeRegistry::addSdfShape(), peclet::dem::hertzShapePairForcesKokkos(), peclet::dem::hertzSphereRadius(), peclet::dem::sdfEvalShape(), peclet::dem::sdfGradShape(), and peclet::dem::ShapeRegistry::setSdfShape().
| F4 peclet::dem::ShapeDesc::params |
Definition at line 32 of file narrowphase.hpp.
Referenced by peclet::dem::detectBoundaryKokkos(), peclet::dem::hertzShapePairForcesKokkos(), peclet::dem::hertzSphereRadius(), peclet::dem::sdfEvalShape(), and peclet::dem::sdfGradShape().
| int peclet::dem::ShapeDesc::shellOffset |
Definition at line 33 of file narrowphase.hpp.
Referenced by peclet::dem::ShapeRegistry::appendShape(), peclet::dem::detectBoundaryKokkos(), and peclet::dem::hertzShapePairForcesKokkos().
| int peclet::dem::ShapeDesc::numPoints |
Definition at line 34 of file narrowphase.hpp.
Referenced by peclet::dem::ShapeRegistry::appendShape(), peclet::dem::detectBoundaryKokkos(), and peclet::dem::hertzShapePairForcesKokkos().
| peclet::core::geom::GridDesc<float> peclet::dem::ShapeDesc::grid |
Definition at line 40 of file narrowphase.hpp.
Referenced by peclet::dem::sampleGridSdf().
| const peclet::core::geom::ShapeNode<float>* peclet::dem::ShapeDesc::nodes = nullptr |
Definition at line 45 of file narrowphase.hpp.
Referenced by peclet::dem::sdfEvalShape(), and peclet::dem::sdfGradShape().
| int peclet::dem::ShapeDesc::nodeCount = 0 |
Definition at line 46 of file narrowphase.hpp.
Referenced by peclet::dem::sdfEvalShape(), and peclet::dem::sdfGradShape().
| int peclet::dem::ShapeDesc::shapeRoot = -1 |
Definition at line 47 of file narrowphase.hpp.
Referenced by peclet::dem::sdfEvalShape(), and peclet::dem::sdfGradShape().