GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | List of all members
GranOO3::Collision::Contact< T1, T2 > Class Template Reference

#include <Contact.hpp>

Public Member Functions

void update (const Data &d)
 

Static Public Member Functions

static std::string class_ID ()
 
static unsigned long long int compute_ID (const T1 &t1, const T2 &t2)
 
static void manage (const T1 &t1, const T2 &t2, Data &d)
 
static void disable_all ()
 
static void remove_all_disabled_contact ()
 
static Contactget (const T1 &t1, const T2 &t2)
 

Public Attributes

const T1 & _body1
 
const T2 & _body2
 
bool _enable
 
Geom::Point _point
 
Geom::Point _point1
 
Geom::Point _point2
 
Geom::Quaternion _Q1
 
Geom::Quaternion _Q2
 
Geom::Quaternion _Q
 
Geom::Frame _F
 
Geom::Point _P1
 
Geom::Frame _F1
 
Geom::Vector _tangent_disp1
 
Geom::Vector _tangent_disp2
 

Static Public Attributes

static std::map< unsigned long long int, Contact< T1, T2 > * > _all_map
 

Private Member Functions

 Contact (const T1 &t1, const T2 &t2, Data &d)
 
 ~Contact ()
 

Constructor & Destructor Documentation

◆ Contact()

template<class T1 , class T2 >
GranOO3::Collision::Contact< T1, T2 >::Contact ( const T1 &  t1,
const T2 &  t2,
Data d 
)
private

◆ ~Contact()

template<class T1 , class T2 >
GranOO3::Collision::Contact< T1, T2 >::~Contact ( )
private

Member Function Documentation

◆ class_ID()

template<class T1 , class T2 >
static std::string GranOO3::Collision::Contact< T1, T2 >::class_ID ( )
inlinestatic

◆ compute_ID()

template<class T1 , class T2 >
static unsigned long long int GranOO3::Collision::Contact< T1, T2 >::compute_ID ( const T1 &  t1,
const T2 &  t2 
)
static

◆ disable_all()

template<class T1 , class T2 >
static void GranOO3::Collision::Contact< T1, T2 >::disable_all ( )
static

◆ get()

template<class T1 , class T2 >
static Contact* GranOO3::Collision::Contact< T1, T2 >::get ( const T1 &  t1,
const T2 &  t2 
)
static

◆ manage()

template<class T1 , class T2 >
static void GranOO3::Collision::Contact< T1, T2 >::manage ( const T1 &  t1,
const T2 &  t2,
Data d 
)
static

◆ remove_all_disabled_contact()

template<class T1 , class T2 >
static void GranOO3::Collision::Contact< T1, T2 >::remove_all_disabled_contact ( )
static

◆ update()

template<class T1 , class T2 >
void GranOO3::Collision::Contact< T1, T2 >::update ( const Data d)

Member Data Documentation

◆ _all_map

template<class T1 , class T2 >
std::map<unsigned long long int, Contact<T1,T2>*> GranOO3::Collision::Contact< T1, T2 >::_all_map
static

◆ _body1

template<class T1 , class T2 >
const T1& GranOO3::Collision::Contact< T1, T2 >::_body1

◆ _body2

template<class T1 , class T2 >
const T2& GranOO3::Collision::Contact< T1, T2 >::_body2

◆ _enable

template<class T1 , class T2 >
bool GranOO3::Collision::Contact< T1, T2 >::_enable

◆ _F

template<class T1 , class T2 >
Geom::Frame GranOO3::Collision::Contact< T1, T2 >::_F

◆ _F1

template<class T1 , class T2 >
Geom::Frame GranOO3::Collision::Contact< T1, T2 >::_F1

◆ _P1

template<class T1 , class T2 >
Geom::Point GranOO3::Collision::Contact< T1, T2 >::_P1

◆ _point

template<class T1 , class T2 >
Geom::Point GranOO3::Collision::Contact< T1, T2 >::_point

◆ _point1

template<class T1 , class T2 >
Geom::Point GranOO3::Collision::Contact< T1, T2 >::_point1

◆ _point2

template<class T1 , class T2 >
Geom::Point GranOO3::Collision::Contact< T1, T2 >::_point2

◆ _Q

template<class T1 , class T2 >
Geom::Quaternion GranOO3::Collision::Contact< T1, T2 >::_Q

◆ _Q1

template<class T1 , class T2 >
Geom::Quaternion GranOO3::Collision::Contact< T1, T2 >::_Q1

◆ _Q2

template<class T1 , class T2 >
Geom::Quaternion GranOO3::Collision::Contact< T1, T2 >::_Q2

◆ _tangent_disp1

template<class T1 , class T2 >
Geom::Vector GranOO3::Collision::Contact< T1, T2 >::_tangent_disp1

◆ _tangent_disp2

template<class T1 , class T2 >
Geom::Vector GranOO3::Collision::Contact< T1, T2 >::_tangent_disp2

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