1 #ifndef EVENTDISSOLUTION_H
3 #define EVENTDISSOLUTION_H
5 #include "simpactevent.h"
9 class EventDissolution :
public SimpactEvent
12 EventDissolution(Person *pPerson1, Person *pPerson2,
double formationTime);
15 std::string getDescription(
double tNow)
const;
16 void fire(
State *pState,
double t);
18 double calculateInternalTimeInterval(
const State *pState,
double t0,
double dt);
19 double solveForRealTimeInterval(
const State *pState,
double Tdiff,
double t0);
21 double m_formationTime;
24 #endif // EVENTDISSOLUTION_H
This class both describes the simulation state and contains the core algorithm (as shown on the main ...
Definition: state.h:40