Skip to content

Correct boundaries

Marmaduke Woodman requested to merge correct_boundaries into master

Created by: dionperd

I have made corrections and refactored the state boundaries handling of the simulator.

  1. I have moved the user model input processing to the base Model class, and I am allowing also setting infinite boundaries. None and infinite boundaries are set equal to the maximum "single" float value. We can go for double as well if you wish.

  2. Therefore, there is less configuration now in the Simulator. I am making sure that the resulting boundaries are of float64 format though.

  3. I have made new tests, separately for the the Model configuration of the boundaries (in models_tests), the respective simulator configuration of the integrator (in simulator_tests), and the actual bounding of the state via an integrators' test, extended to all of the available integration schemes.

Merge request reports