1 #ifndef EVENTFORMATION_H
3 #define EVENTFORMATION_H
5 #include "simpactevent.h"
7 class EventFormation :
public SimpactEvent
11 EventFormation(Person *pPerson1, Person *pPerson2,
double lastDissTime);
14 std::string getDescription(
double tNow)
const;
15 void fire(
State *pState,
double t);
17 double calculateInternalTimeInterval(
const State *pState,
double t0,
double dt);
18 double solveForRealTimeInterval(
const State *pState,
double Tdiff,
double t0);
20 double m_lastDissolutionTime;
23 #endif // EVENTFORMATION_H
This class both describes the simulation state and contains the core algorithm (as shown on the main ...
Definition: state.h:40