26 #include "cvodes_interface.hpp"
33 "Interface to CVodes from the Sundials suite.\n"
35 "A call to evaluate will integrate to the end.\n"
37 "You can retrieve the entire state trajectory as follows, after the \n"
38 "evaluate call: Call reset. Then call integrate(t_i) and getOuput for a\n"
39 " series of times t_i.\n"
41 "Extra doc: https://github.com/casadi/casadi/wiki/L_228 \n"
44 ">List of available options\n"
46 "+-----------------------------+-----------+--------------------------------+\n"
47 "| Id | Type | Description |\n"
48 "+=============================+===========+================================+\n"
49 "| abstol | OT_DOUBLE | Absolute tolerence for the IVP |\n"
51 "+-----------------------------+-----------+--------------------------------+\n"
52 "| always_recalculate_jacobian | OT_BOOL | Recalculate Jacobian before |\n"
53 "| | | factorizations, even if |\n"
54 "| | | Jacobian is current [default: |\n"
56 "+-----------------------------+-----------+--------------------------------+\n"
57 "| disable_internal_warnings | OT_BOOL | Disable SUNDIALS internal |\n"
58 "| | | warning messages |\n"
59 "+-----------------------------+-----------+--------------------------------+\n"
60 "| fsens_all_at_once | OT_BOOL | Calculate all right hand sides |\n"
61 "| | | of the sensitivity equations |\n"
63 "+-----------------------------+-----------+--------------------------------+\n"
64 "| fsens_err_con | OT_BOOL | include the forward |\n"
65 "| | | sensitivities in all error |\n"
67 "+-----------------------------+-----------+--------------------------------+\n"
68 "| interpolation_type | OT_STRING | Type of interpolation for the |\n"
69 "| | | adjoint sensitivities |\n"
70 "+-----------------------------+-----------+--------------------------------+\n"
71 "| linear_multistep_method | OT_STRING | Integrator scheme: BDF|adams |\n"
72 "+-----------------------------+-----------+--------------------------------+\n"
73 "| linear_solver | OT_STRING | A custom linear solver creator |\n"
74 "| | | function [default: qr] |\n"
75 "+-----------------------------+-----------+--------------------------------+\n"
76 "| linear_solver_options | OT_DICT | Options to be passed to the |\n"
77 "| | | linear solver |\n"
78 "+-----------------------------+-----------+--------------------------------+\n"
79 "| max_krylov | OT_INT | Maximum Krylov subspace size |\n"
80 "+-----------------------------+-----------+--------------------------------+\n"
81 "| max_multistep_order | OT_INT | Maximum order for the |\n"
82 "| | | (variable-order) multistep |\n"
84 "+-----------------------------+-----------+--------------------------------+\n"
85 "| max_num_steps | OT_INT | Maximum number of integrator |\n"
87 "+-----------------------------+-----------+--------------------------------+\n"
88 "| max_order | OT_DOUBLE | Maximum order |\n"
89 "+-----------------------------+-----------+--------------------------------+\n"
90 "| max_step_size | OT_DOUBLE | Max step size [default: 0/inf] |\n"
91 "+-----------------------------+-----------+--------------------------------+\n"
92 "| min_step_size | OT_DOUBLE | Min step size [default: 0/0.0] |\n"
93 "+-----------------------------+-----------+--------------------------------+\n"
94 "| newton_scheme | OT_STRING | Linear solver scheme in the |\n"
95 "| | | Newton method: |\n"
96 "| | | DIRECT|gmres|bcgstab|tfqmr |\n"
97 "+-----------------------------+-----------+--------------------------------+\n"
98 "| nonlin_conv_coeff | OT_DOUBLE | Coefficient in the nonlinear |\n"
99 "| | | convergence test |\n"
100 "+-----------------------------+-----------+--------------------------------+\n"
101 "| nonlinear_solver_iteration | OT_STRING | Nonlinear solver type: |\n"
102 "| | | NEWTON|functional |\n"
103 "+-----------------------------+-----------+--------------------------------+\n"
104 "| quad_err_con | OT_BOOL | Should the quadratures affect |\n"
105 "| | | the step size control |\n"
106 "+-----------------------------+-----------+--------------------------------+\n"
107 "| reltol | OT_DOUBLE | Relative tolerence for the IVP |\n"
109 "+-----------------------------+-----------+--------------------------------+\n"
110 "| scale_abstol | OT_BOOL | Scale absolute tolerance by |\n"
111 "| | | nominal value |\n"
112 "+-----------------------------+-----------+--------------------------------+\n"
113 "| second_order_correction | OT_BOOL | Second order correction in the |\n"
114 "| | | augmented system Jacobian |\n"
116 "+-----------------------------+-----------+--------------------------------+\n"
117 "| sensitivity_method | OT_STRING | Sensitivity method: |\n"
118 "| | | SIMULTANEOUS|staggered |\n"
119 "+-----------------------------+-----------+--------------------------------+\n"
120 "| step0 | OT_DOUBLE | initial step size [default: |\n"
121 "| | | 0/estimated] |\n"
122 "+-----------------------------+-----------+--------------------------------+\n"
123 "| steps_per_checkpoint | OT_INT | Number of steps between two |\n"
124 "| | | consecutive checkpoints |\n"
125 "+-----------------------------+-----------+--------------------------------+\n"
126 "| stop_at_end | OT_BOOL | [DEPRECATED] Stop the |\n"
127 "| | | integrator at the end of the |\n"
129 "+-----------------------------+-----------+--------------------------------+\n"
130 "| use_preconditioner | OT_BOOL | Precondition the iterative |\n"
131 "| | | solver [default: true] |\n"
132 "+-----------------------------+-----------+--------------------------------+\n"
static const std::string meta_doc
A documentation string.