<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.biouml.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.biouml.org/index.php?action=history&amp;feed=atom&amp;title=RADAU_V</id>
		<title>RADAU V - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.biouml.org/index.php?action=history&amp;feed=atom&amp;title=RADAU_V"/>
		<link rel="alternate" type="text/html" href="https://wiki.biouml.org/index.php?title=RADAU_V&amp;action=history"/>
		<updated>2026-04-13T15:20:44Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.3</generator>

	<entry>
		<id>https://wiki.biouml.org/index.php?title=RADAU_V&amp;diff=6770&amp;oldid=prev</id>
		<title>Manikitos@yandex.ru: Page for Radau5 created</title>
		<link rel="alternate" type="text/html" href="https://wiki.biouml.org/index.php?title=RADAU_V&amp;diff=6770&amp;oldid=prev"/>
				<updated>2015-11-11T08:06:46Z</updated>
		
		<summary type="html">&lt;p&gt;Page for Radau5 created&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This algorithm is ported for Java from C++ code (last updated: Nov 15, 2002), written by [mailto:bmashby@stanford.edu Blake Ashby] on the base of code RADAU5 originally written in FORTRAN  (version of July 9, 1996, latest small correction: January 18, 2002) by [mailto:ernst.hairer@math.unige.ch E. Hairer] and [mailto:gerhard.wanner@math.unige.ch G. Wanner] (Universite de Geneve, Dept. de Mathematiques Ch-1211 Geneve 24, Switzerland) and which is in details described in their book&amp;lt;ref&amp;gt;E. Hairer and G. Wanner, Solving Ordinary Differential Equations II. Stiff and Differential-Algebraic Problems. Springer Series in Computational Mathematics 14, Springer-Verlag 1991, Second Edition 1996.&amp;lt;/ref&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
This code computes the numerical solution of a differential system of first order ordinary differential equations &amp;lt;code&amp;gt;y'=f(x,y).&amp;lt;/code&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
The method used is an implicit Runge-Kutta method (RADAU IIA) of order 5 with step size control and continuous output. (See Section IV.8 of [1]). The method is designed to solve stiff systems, for non-stiff systems it is rationally to use simpler methods (requiring less computational load), e.g. [[Dormand-Prince]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background:#efefef;&amp;quot; | User-provided solver parameters&lt;br /&gt;
! style=&amp;quot;background:#efefef;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''itoler'''&lt;br /&gt;
|&lt;br /&gt;
itoler = 0: Both rtoler and atoler are scalars. The code keeps, roughly, the local error of y[i] below &amp;lt;code&amp;gt; rtoler*fabs(y[i])+atoler &amp;lt;/code&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
itoler = 1: Both rtoler and atoler are vectors. The code keeps the local error of y[i] below &amp;lt;code&amp;gt; rtoler[i]*fabs(y[i])+atoler[i] &amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''hinit'''&lt;br /&gt;
|&lt;br /&gt;
Initial step size guess;&amp;lt;br&amp;gt;&lt;br /&gt;
For stiff equations with initial transient, &amp;lt;code&amp;gt; h = 1.0/(norm of f') &amp;lt;/code&amp;gt;, usually 1.0e-3 or 1.0e-5, is good. This choice is not very&lt;br /&gt;
important, the step size is quickly adapted. (if &amp;lt;code&amp;gt; h = 0.0 &amp;lt;/code&amp;gt; on input, the code sets &amp;lt;code&amp;gt; h = 1.0e-6 &amp;lt;/code&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''hmax'''&lt;br /&gt;
|&lt;br /&gt;
Maximal step size, default (when hmax is set = 0) &amp;lt;code&amp;gt; xend - x &amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''nmax'''&lt;br /&gt;
|&lt;br /&gt;
This is the maximal number of allowed steps. The default value is 100000.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''uround'''&lt;br /&gt;
|&lt;br /&gt;
rounding unit, default 1.0e-16.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''safe'''&lt;br /&gt;
|&lt;br /&gt;
The safety factor in step size prediction, default 0.9.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''facl'''&amp;lt;br&amp;gt;&lt;br /&gt;
'''facr'''&lt;br /&gt;
|&lt;br /&gt;
Parameters for step size selection the new step size is chosen subject to the restriction &amp;lt;code&amp;gt; 1/facl &amp;lt;= hnew/hold &amp;lt;= 1/facr &amp;lt;/code&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
Default values: &amp;lt;code&amp;gt; facl = 5.0 &amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt; facr = 1.0/8.0 &amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''nit'''&lt;br /&gt;
|&lt;br /&gt;
The maximum number of Newton iterations for the solution of the implicit system in each step. The default value is 7.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''startn'''&lt;br /&gt;
|&lt;br /&gt;
If &amp;lt;code&amp;gt; startn == 0 &amp;lt;/code&amp;gt; the extrapolated collocation solution is taken as starting value for Newton's method. If &amp;lt;code&amp;gt; startn != 0 &amp;lt;/code&amp;gt; starting values are used. &amp;lt;br&amp;gt;&lt;br /&gt;
The latter is recommended if Newton's method has difficulties with convergence. (This is the case when nstep is larger than &amp;lt;code&amp;gt; naccpt + nrejct &amp;lt;/code&amp;gt;; see output parameters). Default is &amp;lt;code&amp;gt; startn = false &amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''npred'''&lt;br /&gt;
|&lt;br /&gt;
Switch for step size strategy:&amp;lt;br&amp;gt;&lt;br /&gt;
:If &amp;lt;code&amp;gt; npred == 1 &amp;lt;/code&amp;gt;:  mod. predictive controller (Gustafsson)&amp;lt;br&amp;gt;&lt;br /&gt;
:If &amp;lt;code&amp;gt; npred == 2 &amp;lt;/code&amp;gt;: classical step size control. &amp;lt;br&amp;gt;&lt;br /&gt;
The default value (for &amp;lt;code&amp;gt; npred = 0 &amp;lt;/code&amp;gt;) is &amp;lt;code&amp;gt; npred = 1 &amp;lt;/code&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
The choice &amp;lt;code&amp;gt; npred = 1 &amp;lt;/code&amp;gt; seems to produce safer results. For simple problems, the choice &amp;lt;code&amp;gt; npred == 2 &amp;lt;/code&amp;gt; produces often slightly faster runs.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''hess'''&lt;br /&gt;
|&lt;br /&gt;
If &amp;lt;code&amp;gt; hess != 0 &amp;lt;/code&amp;gt;, the code transforms the Jacobian matrix to Hessenberg form. This is particularly advantageous for large systems with full Jacobian. It does not work for banded Jacobian (&amp;lt;code&amp;gt; mljac &amp;lt; n &amp;lt;/code&amp;gt;) and not for implicit systems (&amp;lt;code&amp;gt; imas = 1 &amp;lt;/code&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''fnewt'''&lt;br /&gt;
|&lt;br /&gt;
Stopping criterion for Newton's method, usually chosen &amp;lt; 1. Smaller values of fnewt make the code slower, but safer. &amp;lt;br&amp;gt;&lt;br /&gt;
Default &amp;lt;code&amp;gt; min(0.03, sqrt(rtoler)) &amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''quot1''' &amp;lt;br&amp;gt;&lt;br /&gt;
'''quot2'''&lt;br /&gt;
|&lt;br /&gt;
If &amp;lt;code&amp;gt; quot1 &amp;lt; hnew/hold &amp;lt; quot2 &amp;lt;/code&amp;gt;, then the step size is not changed. This saves, together with a large thet, lu-decompositions and computing time for large systems. &amp;lt;br&amp;gt;&lt;br /&gt;
For small systems one may have &amp;lt;code&amp;gt; quot1 = 1.0 &amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt; quot2 = 1.2 &amp;lt;/code&amp;gt;, for large full systems &amp;lt;code&amp;gt; quot1 = 0.99 &amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt; quot2 = 2.0 &amp;lt;/code&amp;gt; might be good. Defaults &amp;lt;code&amp;gt; quot1 = 1.0 &amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt; quot2 = 1.2 &amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''thet'''&lt;br /&gt;
|&lt;br /&gt;
Decides whether the Jacobian should be recomputed. Increase thet, to 0.1 say, when Jacobian evaluations are costly. for small systems thet should be smaller (0.001, say). Negative thet forces the code to compute the Jacobian after every accepted step. Default 0.001.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Manikitos@yandex.ru</name></author>	</entry>

	</feed>