MRKISS 2025-09-10
A tiny library with zero dependencies that aims to make it easy to use & experiment with explicit Runge-Kutta methods.
Loading...
Searching...
No Matches
mrkiss_config Module Reference

Configuration for MRKISS == MR RK KISS == Mitch Richling's Runge-Kutta Keep It Simple Stupid. More...

Variables

Real type used for computations
integer, parameter, public rk = c_double
 Real kind used across the library.
ab initio frmat specificaiton constants
integer, parameter, public fmt_d_ai = 15
 Real print format: digits to the right of decimal.
integer, parameter, public fmt_w_ai = 25
 Numeric print format: total width.
integer, parameter, public fmt_e_ai = 4
 Real print format: digits in exponent.
Constants related to istats
integer, parameter, public istats_size = 16
 Number of elements in istats(:)
integer, parameter, public istats_max_idx = 10
 Number of used elements in istats(:)
integer, parameter, public isi_num_pts = 1
 istats index num_pts
integer, parameter, public isi_one_reg = 2
 istats index one_step_norm
integer, parameter, public isi_all_norm = 3
 istats index one_etab_norm
integer, parameter, public isi_one_y_err = 4
 istats index one_step_y_delta_err
integer, parameter, public isi_all_y_err = 5
 istats index one_stab_y_delta_err
integer, parameter, public isi_one_y_len = 6
 istats index one_step_y_delta_len
integer, parameter, public isi_one_spp_td = 7
 istats index one_step_stepp_t_delta
integer, parameter, public isi_sdf_step = 8
 istats index one_step_sdf_bisection
integer, parameter, public isi_bic_max = 9
 istats index bisect_fail_max
integer, parameter, public isi_bic_bnd = 10
 istats index bisect_fail_containment
Constants related to istats messages
integer, parameter, public istats_str_lng = 62
 Length of istats content message.
character(len=istats_str_lng), dimension(istats_size), parameter, public istats_strs = [ "Computed solution points ", "step_one call count not caused by an event ", "step_all call count not caused by an event ", "step_one call count caused by y_delta error constraint ", "step_all call count caused by y_delta error constraint ", "step_one call count caused by y_delta length constraint ", "step_one call count caused by step processing with new t_delta", "step_one call count caused by SDF bisection ", "Bisection failures due to max_bisect_o ", "Bisection failures due to target containment ", " ", " ", " ", " ", " ", " " ]
 Array of istats descriptions.
Absolute constants
real(kind=rk), parameter, public zero_epsilon = 1.0e-12_rk
 Used to test for zero.
real(kind=rk), parameter, public t_delta_tiny = tiny(zero_epsilon) * 1.0e18_rk
 Smallest value for t_delta.
ab initio parameters for defaults when we know nothing
real(kind=rk), parameter, public t_delta_ai = 1.0e-4_rk
 t_delta ai default
real(kind=rk), parameter, public error_tol_abs_ai = 1.0e-5_rk
 error_tol_abs ai default
real(kind=rk), parameter, public error_tol_rel_ai = 1.0e-3_rk
 error_tol_rel ai default
integer, parameter, public max_bisect_ai = 1000
 max_bisect ai default
real(kind=rk), parameter, public t_delta_fac_min_ai = 0.5_rk
 t_delta_fac_min ai default
real(kind=rk), parameter, public t_delta_fac_max_ai = 2.0_rk
 t_delta_fac_max ai default
real(kind=rk), parameter, public t_delta_fac_fdg_ai = 0.5_rk
 t_delta_fac_fdg ai default
real(kind=rk), parameter, public sdf_tol_ai = 1.0e-3
 sdf_tol ai default
real(kind=rk), parameter, public t_delta_min_ai = t_delta_tiny
 t_delta_min ai default

Detailed Description

Configuration for MRKISS == MR RK KISS == Mitch Richling's Runge-Kutta Keep It Simple Stupid.

Variable Documentation

◆ rk

integer, parameter, public mrkiss_config::rk = c_double

Real kind used across the library.

Definition at line 46 of file mrkiss_config.f90.

◆ fmt_d_ai

integer, parameter, public mrkiss_config::fmt_d_ai = 15

Real print format: digits to the right of decimal.

Definition at line 51 of file mrkiss_config.f90.

◆ fmt_w_ai

integer, parameter, public mrkiss_config::fmt_w_ai = 25

Numeric print format: total width.

Definition at line 52 of file mrkiss_config.f90.

◆ fmt_e_ai

integer, parameter, public mrkiss_config::fmt_e_ai = 4

Real print format: digits in exponent.

Definition at line 53 of file mrkiss_config.f90.

◆ istats_size

integer, parameter, public mrkiss_config::istats_size = 16

Number of elements in istats(:)

Definition at line 58 of file mrkiss_config.f90.

◆ istats_max_idx

integer, parameter, public mrkiss_config::istats_max_idx = 10

Number of used elements in istats(:)

Definition at line 59 of file mrkiss_config.f90.

◆ isi_num_pts

integer, parameter, public mrkiss_config::isi_num_pts = 1

istats index num_pts

Definition at line 61 of file mrkiss_config.f90.

◆ isi_one_reg

integer, parameter, public mrkiss_config::isi_one_reg = 2

istats index one_step_norm

Definition at line 62 of file mrkiss_config.f90.

◆ isi_all_norm

integer, parameter, public mrkiss_config::isi_all_norm = 3

istats index one_etab_norm

Definition at line 63 of file mrkiss_config.f90.

◆ isi_one_y_err

integer, parameter, public mrkiss_config::isi_one_y_err = 4

istats index one_step_y_delta_err

Definition at line 64 of file mrkiss_config.f90.

◆ isi_all_y_err

integer, parameter, public mrkiss_config::isi_all_y_err = 5

istats index one_stab_y_delta_err

Definition at line 65 of file mrkiss_config.f90.

◆ isi_one_y_len

integer, parameter, public mrkiss_config::isi_one_y_len = 6

istats index one_step_y_delta_len

Definition at line 66 of file mrkiss_config.f90.

◆ isi_one_spp_td

integer, parameter, public mrkiss_config::isi_one_spp_td = 7

istats index one_step_stepp_t_delta

Definition at line 67 of file mrkiss_config.f90.

◆ isi_sdf_step

integer, parameter, public mrkiss_config::isi_sdf_step = 8

istats index one_step_sdf_bisection

Definition at line 68 of file mrkiss_config.f90.

◆ isi_bic_max

integer, parameter, public mrkiss_config::isi_bic_max = 9

istats index bisect_fail_max

Definition at line 69 of file mrkiss_config.f90.

◆ isi_bic_bnd

integer, parameter, public mrkiss_config::isi_bic_bnd = 10

istats index bisect_fail_containment

Definition at line 70 of file mrkiss_config.f90.

◆ istats_str_lng

integer, parameter, public mrkiss_config::istats_str_lng = 62

Length of istats content message.

Definition at line 75 of file mrkiss_config.f90.

◆ istats_strs

character(len=istats_str_lng), dimension(istats_size), parameter, public mrkiss_config::istats_strs = [ "Computed solution points ", "step_one call count not caused by an event ", "step_all call count not caused by an event ", "step_one call count caused by y_delta error constraint ", "step_all call count caused by y_delta error constraint ", "step_one call count caused by y_delta length constraint ", "step_one call count caused by step processing with new t_delta", "step_one call count caused by SDF bisection ", "Bisection failures due to max_bisect_o ", "Bisection failures due to target containment ", " ", " ", " ", " ", " ", " " ]

Array of istats descriptions.

Definition at line 78 of file mrkiss_config.f90.

78 character(len=istats_str_lng), parameter, public :: istats_strs(istats_size) = [ &
79! SS-BEGIN:istats_strings:
80 "Computed solution points ", & ! istats( 1)
81 "step_one call count not caused by an event ", & ! istats( 2)
82 "step_all call count not caused by an event ", & ! istats( 3)
83 "step_one call count caused by y_delta error constraint ", & ! istats( 4)
84 "step_all call count caused by y_delta error constraint ", & ! istats( 5)
85 "step_one call count caused by y_delta length constraint ", & ! istats( 6)
86 "step_one call count caused by step processing with new t_delta", & ! istats( 7)
87 "step_one call count caused by SDF bisection ", & ! istats( 8)
88 "Bisection failures due to max_bisect_o ", & ! istats( 9)
89 "Bisection failures due to target containment ", & ! istats(10)
90 " ", & ! istats(11)
91 " ", & ! istats(12)
92 " ", & ! istats(13)
93 " ", & ! istats(14)
94 " ", & ! istats(15)
95 " " ]

◆ zero_epsilon

real(kind=rk), parameter, public mrkiss_config::zero_epsilon = 1.0e-12_rk

Used to test for zero.

Definition at line 101 of file mrkiss_config.f90.

◆ t_delta_tiny

real(kind=rk), parameter, public mrkiss_config::t_delta_tiny = tiny(zero_epsilon) * 1.0e18_rk

Smallest value for t_delta.

Definition at line 102 of file mrkiss_config.f90.

◆ t_delta_ai

real(kind=rk), parameter, public mrkiss_config::t_delta_ai = 1.0e-4_rk

t_delta ai default

Definition at line 107 of file mrkiss_config.f90.

◆ error_tol_abs_ai

real(kind=rk), parameter, public mrkiss_config::error_tol_abs_ai = 1.0e-5_rk

error_tol_abs ai default

Definition at line 108 of file mrkiss_config.f90.

◆ error_tol_rel_ai

real(kind=rk), parameter, public mrkiss_config::error_tol_rel_ai = 1.0e-3_rk

error_tol_rel ai default

Definition at line 109 of file mrkiss_config.f90.

◆ max_bisect_ai

integer, parameter, public mrkiss_config::max_bisect_ai = 1000

max_bisect ai default

Definition at line 110 of file mrkiss_config.f90.

◆ t_delta_fac_min_ai

real(kind=rk), parameter, public mrkiss_config::t_delta_fac_min_ai = 0.5_rk

t_delta_fac_min ai default

Definition at line 111 of file mrkiss_config.f90.

◆ t_delta_fac_max_ai

real(kind=rk), parameter, public mrkiss_config::t_delta_fac_max_ai = 2.0_rk

t_delta_fac_max ai default

Definition at line 112 of file mrkiss_config.f90.

◆ t_delta_fac_fdg_ai

real(kind=rk), parameter, public mrkiss_config::t_delta_fac_fdg_ai = 0.5_rk

t_delta_fac_fdg ai default

Definition at line 113 of file mrkiss_config.f90.

◆ sdf_tol_ai

real(kind=rk), parameter, public mrkiss_config::sdf_tol_ai = 1.0e-3

sdf_tol ai default

Definition at line 114 of file mrkiss_config.f90.

◆ t_delta_min_ai

real(kind=rk), parameter, public mrkiss_config::t_delta_min_ai = t_delta_tiny

t_delta_min ai default

Definition at line 115 of file mrkiss_config.f90.