|
peclet-dem
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 |
| int | gridOffset = 0 |
| int | nx = 0 |
| int | ny = 0 |
| int | nz = 0 |
| F3 | gridOrigin {0, 0, 0} |
| F3 | gridInvSpacing {0, 0, 0} |
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 29 of file narrowphase.hpp.
| int peclet::dem::ShapeDesc::type |
Definition at line 30 of file narrowphase.hpp.
Referenced by peclet::dem::sdfEvalShape(), and peclet::dem::Simulation::setSdfShape().
| F4 peclet::dem::ShapeDesc::params |
Definition at line 31 of file narrowphase.hpp.
Referenced by peclet::dem::detectBoundaryKokkos(), peclet::dem::detectWallSdfKokkos(), and peclet::dem::sdfEvalShape().
| int peclet::dem::ShapeDesc::shellOffset |
Definition at line 32 of file narrowphase.hpp.
Referenced by peclet::dem::detectBoundaryKokkos(), and peclet::dem::detectWallSdfKokkos().
| int peclet::dem::ShapeDesc::numPoints |
Definition at line 33 of file narrowphase.hpp.
Referenced by peclet::dem::detectBoundaryKokkos(), and peclet::dem::detectWallSdfKokkos().
| int peclet::dem::ShapeDesc::gridOffset = 0 |
Definition at line 35 of file narrowphase.hpp.
Referenced by peclet::dem::sampleGridSdf().
| int peclet::dem::ShapeDesc::nx = 0 |
Definition at line 36 of file narrowphase.hpp.
Referenced by peclet::dem::sampleGridSdf().
| int peclet::dem::ShapeDesc::ny = 0 |
Definition at line 36 of file narrowphase.hpp.
Referenced by peclet::dem::sampleGridSdf().
| int peclet::dem::ShapeDesc::nz = 0 |
Definition at line 36 of file narrowphase.hpp.
Referenced by peclet::dem::sampleGridSdf().
| F3 peclet::dem::ShapeDesc::gridOrigin {0, 0, 0} |
Definition at line 37 of file narrowphase.hpp.
Referenced by peclet::dem::sampleGridSdf().
| F3 peclet::dem::ShapeDesc::gridInvSpacing {0, 0, 0} |
Definition at line 38 of file narrowphase.hpp.
Referenced by peclet::dem::sampleGridSdf().