waLBerla 7.3
Loading...
Searching...
No Matches
RayParticleIntersection.h File Reference

Detailed Description

Classes

struct  walberla::mesa_pd::RayParticleIntersectionRatioFunctor

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
namespace  walberla::mesa_pd

Functions

real_t walberla::mesa_pd::raySphereIntersectionRatio (const Vec3 &rayOrigin, const Vec3 &rayDirection, const Vec3 &spherePosition, const real_t sphereRadius)
real_t walberla::mesa_pd::rayHalfSpaceIntersectionRatio (const Vec3 &rayOrigin, const Vec3 &rayDirection, const Vec3 &halfSpacePosition, const Vec3 &halfSpaceNormal)
real_t walberla::mesa_pd::rayEllipsoidIntersectionRatioBF (const Vec3 &rayOriginBF, const Vec3 &rayDirectionBF, const Vec3 &ellipsoidSemiAxes)
template<typename ParticleAccessor_T>
real_t walberla::mesa_pd::intersectionRatioBisection (const size_t particleIdx, const ParticleAccessor_T &ac, const Vec3 &rayOrigin, const Vec3 &rayDirection, real_t epsilon)