-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More informative
Solver.__repr__
(#1928)
More informative `__repr__` for `CvodeSolver`, `IDASolver`, and `SolverPtr`. Closes #1926 Output of `print(amici.CVodeSolver())`: ``` <Swig Object of type 'amici::CVodeSolver *' at 0x7f988f70f090 reporting_mode: <RDataReporting.full: 0> sens_meth: <SensitivityMethod.forward: 1> sens_order: <SensitivityOrder.none: 0> sens_meth_preeq: <SensitivityMethod.forward: 1> maxsteps: 10000 maxtime: 1.7976931348623157e+308s abs_tol: 1e-16 rel_tol: 1e-08 abs_tol_b: 1e-16 rel_tol_b: 1e-08 abs_tol_fsa: 1e-16 rel_tol_fsa: 1e-08 abs_tol_quad: 1e-12 rel_tol_quad: 1e-08 abs_tol_ss: 1e-14 rel_tol_ss: 1e-06 abs_tol_sss: 1e-14 rel_tol_sss: 1e-06 int_sens_meth: <InternalSensitivityMethod.simultaneous: 1> int_type: <InterpolationType.hermite: 1> linsol: <LinearSolver.KLU: 9> lmm: <LinearMultistepMethod.BDF: 2> newton_damp_mode: <NewtonDampingFactorMode.on: 1> newton_damp_lb: 1e-08 newton_maxsteps: 0 newton_ss_check: False sens_ss_check: True interpolation_type: <InterpolationType.hermite: 1> ism: <InternalSensitivityMethod.simultaneous: 1> nlsol_iter: <NonlinearSolverIteration.newton: 2> stability_limit: True state_ordering: 0 > ```
- Loading branch information
Showing
3 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters