Skip to main content

Module ode_c

Module ode_c 

Source

Structs§

DiffsolDepPair
C-compatible dependency pair used by the FFI constructors.

Functions§

diffsol_host_array_list_free
Free a list of host arrays previously returned by this library.
diffsol_ode_free
Free an ODE wrapper previously returned by this library.
diffsol_ode_get_atol
Return the absolute tolerance configured for an ODE.
diffsol_ode_get_ic_options
Return a handle to the initial-condition solver options for an ODE.
diffsol_ode_get_linear_solver
Return the linear solver enum configured for an ODE.
diffsol_ode_get_matrix_type
Return the matrix type configured for an ODE.
diffsol_ode_get_ode_solver
Return the ODE solver enum configured for an ODE.
diffsol_ode_get_options
Return a handle to the ODE solver options for an ODE.
diffsol_ode_get_rtol
Return the relative tolerance configured for an ODE.
diffsol_ode_new_external_dynamic
Construct a dynamic-library-backed ODE wrapper.
diffsol_ode_rhs
Evaluate the ODE right-hand side at a given time and state.
diffsol_ode_rhs_jac_mul
Evaluate the ODE Jacobian-vector product at a given time and state.
diffsol_ode_set_atol
Set the absolute tolerance for an ODE.
diffsol_ode_set_linear_solver
Set the linear solver enum for an ODE.
diffsol_ode_set_ode_solver
Set the ODE solver enum for an ODE.
diffsol_ode_set_rtol
Set the relative tolerance for an ODE.
diffsol_ode_solve
Solve an ODE up to a final time.
diffsol_ode_solve_dense
Solve an ODE and sample the solution at requested times.
diffsol_ode_solve_fwd_sens
Solve an ODE and sample forward sensitivities at requested times.
diffsol_ode_solve_hybrid
Solve a hybrid ODE up to a final time, automatically applying resets after roots.
diffsol_ode_solve_hybrid_dense
Solve a hybrid ODE and sample the solution at requested times.
diffsol_ode_solve_hybrid_fwd_sens
Solve a hybrid ODE with forward sensitivities at requested times.
diffsol_ode_solve_sum_squares_adj
Solve the sum-of-squares adjoint problem for an ODE.
diffsol_ode_y0
Evaluate the initial condition vector for an ODE.