From ea07cbce810a06ead6d1d2498b5dae1516e8b965 Mon Sep 17 00:00:00 2001 From: Goran Jelic-Cizmek Date: Mon, 21 Oct 2024 23:28:36 +0200 Subject: [PATCH] Update docs --- docs/contents/cvode.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/contents/cvode.rst b/docs/contents/cvode.rst index 367e160d4..6179d824c 100644 --- a/docs/contents/cvode.rst +++ b/docs/contents/cvode.rst @@ -37,20 +37,20 @@ the structure of the ``CVODE`` block is then roughly: .. code-block:: - CVODE state { + CVODE state[n] { Dx_i = f_i(x_1, ..., x_n) }{ Dx_i = Dx_i / (1 - dt * J_ii(f)) } -where ``J_ii(f)`` is the diagonal part of the Jacobian, i.e. +where ``N`` is the total number of ODEs to solve, and ``J_ii(f)`` is the +diagonal part of the Jacobian, i.e. .. math:: J_{ii}(f) = \frac{ \partial f_i(x_1, \ldots, x_n) }{\partial x_i} -As an example, consider the following ``DERIVATIVE`` -block: +As an example, consider the following ``DERIVATIVE`` block: .. code-block:: @@ -63,7 +63,7 @@ Where ``X`` is a ``STATE`` variable with some initial value, specified in the .. code-block:: - CVODE state { + CVODE state[1] { DX = - X }{ DX = DX / (1 - dt * (-1))