peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
Loading...
Searching...
No Matches
peclet::dem::HertzShapes Struct Reference

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. More...

#include <solver_hertz.hpp>

Public Attributes

Kokkos::View< const float *[4], CpMem > quat
Kokkos::View< const float *, CpMem > scale
ScalarI shapeId
Kokkos::View< const ShapeDesc *, CpMem > shapes
ShellView shell
float globalScale = 1.0f
float contactRadiusFrac = 0.5f
bool hasShapes = false

Detailed Description

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.

The defaults are a sphere-only run (hasShapes false).

Definition at line 63 of file solver_hertz.hpp.

Member Data Documentation

◆ quat

Kokkos::View<const float* [4], CpMem> peclet::dem::HertzShapes::quat

Definition at line 64 of file solver_hertz.hpp.

Referenced by peclet::dem::hertzShapePairForces().

◆ scale

Kokkos::View<const float*, CpMem> peclet::dem::HertzShapes::scale

Definition at line 65 of file solver_hertz.hpp.

Referenced by peclet::dem::hertzShapePairForces().

◆ shapeId

ScalarI peclet::dem::HertzShapes::shapeId

Definition at line 66 of file solver_hertz.hpp.

Referenced by peclet::dem::hertzShapePairForces().

◆ shapes

Kokkos::View<const ShapeDesc*, CpMem> peclet::dem::HertzShapes::shapes

Definition at line 67 of file solver_hertz.hpp.

Referenced by peclet::dem::hertzShapePairForces().

◆ shell

ShellView peclet::dem::HertzShapes::shell

Definition at line 68 of file solver_hertz.hpp.

Referenced by peclet::dem::hertzShapePairForces().

◆ globalScale

float peclet::dem::HertzShapes::globalScale = 1.0f

Definition at line 69 of file solver_hertz.hpp.

Referenced by peclet::dem::hertzShapePairForces().

◆ contactRadiusFrac

float peclet::dem::HertzShapes::contactRadiusFrac = 0.5f

Definition at line 70 of file solver_hertz.hpp.

Referenced by peclet::dem::hertzShapePairForces().

◆ hasShapes

bool peclet::dem::HertzShapes::hasShapes = false

Definition at line 71 of file solver_hertz.hpp.


The documentation for this struct was generated from the following file: