walberla::mesa_pd::collision_detection Namespace Reference

Namespaces

 analytic
 

Classes

class  AnalyticContactDetection
 Collision detection functor which uses analytic functions. More...
 
class  EPA
 The Expanding-Polytope Algorithm. More...
 
struct  EpsilonRelEPA
 
struct  EpsilonRelEPA< double >
 
struct  EpsilonRelEPA< float >
 
struct  EpsilonRelEPA< long double >
 
class  GeneralContactDetection
 Collision detection functor which uses recommended collision functions. More...
 
class  GJK
 Impelementation of the Gilbert-Johnson-Keerthi Algorithm. More...
 
class  Support
 

Functions

std::ostream & operator<< (std::ostream &os, const AnalyticContactDetection &ac)
 
template<typename Accessor >
bool isInInteractionDistance (const size_t idx1, const size_t idx2, Accessor &ac)
 Checks if particle idx1 is within interaction distance with particle idx2. More...
 

Function Documentation

◆ isInInteractionDistance()

template<typename Accessor >
bool walberla::mesa_pd::collision_detection::isInInteractionDistance ( const size_t  idx1,
const size_t  idx2,
Accessor &  ac 
)

Checks if particle idx1 is within interaction distance with particle idx2.

Collisions of infinite particles are also filtered.

◆ operator<<()

std::ostream& walberla::mesa_pd::collision_detection::operator<< ( std::ostream &  os,
const AnalyticContactDetection ac 
)
inline