Closed annawendler closed 2 months ago
To compare run times we did 10 simulations from t0=0 until tmax=50 on the HPDA cluster on an exclusive node (see also examples/ide_secir_time.cpp) in Release mode. After storing the necessary values for the support_max values (see 1.) and flows and the force of infection time (see 2.) we made the following measurements: For dt=1e-2:
For dt=1e-3:
We observe a decrease of 75.3% for dt=1e-2 and a decrease of 74.6% for dt=1e-3 in run time for the new implementation.
Motivation / Current Behaviour
In this issue we want to examine if it is better regarding run time to reduce the use of the methods of StateAgeFunction when solving the model. We proceed as follows. See run time results in the comments.
Enhancement description
Compute the necessary support_max values once at the beginning of the simulation and store them. We want to try out if this has an impact on performance.
Additional context
No response
Checklist