trick/trick_sims/SIM_contact/models/contact/include/Contact.hh
Alex Lin 496de8c7a9
Disambiguate python use #1250 (#1251)
* Disambiguate python use #1250

Changed all calls to /usr/bin/python to /usr/bin/env python3.  Removed execute permissions on a lot of files that are not executable.

closes #1250
2022-03-22 15:15:40 -05:00

29 lines
704 B
C++

/************************************************************************
PURPOSE: (Simulate a contact.)
LIBRARY DEPENDENCIES:
((contact/src/Contact.o))
**************************************************************************/
#ifndef _contact_hh_
#define _contact_hh_
#include "trick/regula_falsi.h"
#include "Ball.hh"
class Contact {
public:
Contact(){}
Ball ** balls;
unsigned int nballs;
unsigned int numAssociations ;
REGULA_FALSI* ballAssociations ;
void ballCollision(Ball &b1, Ball &b2);
int default_data();
int state_init();
int state_deriv();
int state_integ();
double collision();
};
#endif