Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v2.2.0

Latest
Compare
Choose a tag to compare
@ikorotkin ikorotkin released this 29 Jan 14:58
b46e381

In version 2.2.x, the solver can reduce the time step size and redo the current time step until a certain condition is met. This is useful if the solver needs to stop when, for example, one of the variables should reach the given value exactly (with the given tolerance), and the solver integrator should not “overshoot”. This version also includes several important updates, such as bug fixes and corrections for compiler warnings.

Refer to the Documentation pages for more information and examples.

Important changes:

  • Added solver_command::command enum with Solution Manager functor return values. Used to send "commands" to the solver from the user-defined Solution Manager
  • The user can request the solver to decrease the time step size
  • The user can request the solver to decrease the time step size and then redo the current time step
  • Fix parentheses warning in autodiff
  • Fix -Wall and -Wextra warnings (e.g., "reorder" and "unused variable" warnings)
  • Switch from uint32_t to int32_t for int_type
  • Switch from uint64_t to int64_t for int_type if DAECPP_LONG is defined
  • Fix relative error check
  • Fix situation when the solver can decrease and then immediately increase the time step
  • Fix tolerances for single precision