#include <Sphere.h>
|
static constexpr int | SHAPE_TYPE = 1 |
| Unique shape type identifier for spheres.
|
|
static const int | INVALID_SHAPE = -1 |
| Unique invalid shape type identifier.
|
|
◆ Sphere()
walberla::mesa_pd::data::Sphere::Sphere |
( |
const real_t & | radius = real_t(1) | ) |
|
|
inlineexplicit |
◆ getRadius()
const real_t & walberla::mesa_pd::data::Sphere::getRadius |
( |
| ) |
const |
|
inline |
◆ getVolume()
real_t walberla::mesa_pd::data::Sphere::getVolume |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ pack()
◆ support()
Vec3 walberla::mesa_pd::data::Sphere::support |
( |
const Vec3 & | d | ) |
const |
|
inlineoverridevirtual |
◆ unpack()
◆ updateMassAndInertia()
void walberla::mesa_pd::data::Sphere::updateMassAndInertia |
( |
const real_t | density | ) |
|
|
inlineoverridevirtual |
◆ radius_
real_t walberla::mesa_pd::data::Sphere::radius_ |
|
private |
The documentation for this class was generated from the following file:
- /builds/administration/walberla-website/walberla/src/mesa_pd/data/shape/Sphere.h