Skip to content

Commit

Permalink
Add solver options to the python section of setSolver (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel committed Oct 27, 2020
1 parent d45cfb0 commit dd1714c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion doc/UsersGuide/source/api/setSolver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ Sets the solver method for the given system.
status = oms.setSolver(cref, solver)
.. csv-table::
:header: "solver", "Type", "Description"
:widths: 20, 10, 35

"oms.solver_sc_explicit_euler", "sc-system", "Explicit euler with fixed step size"
"oms.solver_sc_cvode", "sc-system", "CVODE with adaptive stepsize"
"oms.solver_wc_ma", "wc-system", "default master algorithm with fixed step size"
"oms.solver_wc_mav", "wc-system", "master algorithm with adaptive stepsize"
"oms.solver_wc_mav2", "wc-system", "master algorithm with adaptive stepsize (double-step)"

#END#

#CAPI#
Expand All @@ -40,7 +50,7 @@ Sets the solver method for the given system.
.. code-block:: Modelica
status := oms_setSolver(cref, solver);
The second argument "solver" should be any of the following,
"OpenModelica.Scripting.oms_solver.oms_solver_none"
Expand Down

0 comments on commit dd1714c

Please sign in to comment.