Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 1511

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: vtkRungeKutta45 Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkRungeKutta45 Class Reference</h1><!-- doxytag: class="vtkRungeKutta45" --><!-- doxytag: inherits="vtkInitialValueProblemSolver" --><code>#include &lt;<a class="el" href="a03918.html">vtkRungeKutta45.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkRungeKutta45:</div>
<div class="dynsection">
<p><center><img src="a14266.png" border="0" usemap="#a14267" alt="Inheritance graph"></center>
<map name="a14267">
<area shape="rect" href="a00896.html" title="Integrate a set of ordinary differential equations (initial value problem) in time..." alt="" coords="5,155,203,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="64,80,144,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="49,5,159,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkRungeKutta45:</div>
<div class="dynsection">
<p><center><img src="a14268.png" border="0" usemap="#a14269" alt="Collaboration graph"></center>
<map name="a14269">
<area shape="rect" href="a00896.html" title="Integrate a set of ordinary differential equations (initial value problem) in time..." alt="" coords="45,264,243,291"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="87,96,167,123"><area shape="rect" href="a00570.html" title="Abstract interface for sets of functions." alt="" coords="148,173,260,200"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="5,5,115,32"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="139,5,248,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a14270.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Integrate an initial value problem using 5th order Runge-Kutta method with adaptive stepsize control. 
<p>
This is a concrete sub-class of <a class="el" href="a00896.html" title="Integrate a set of ordinary differential equations (initial value problem) in time...">vtkInitialValueProblemSolver</a>. It uses a 5th order Runge-Kutta method with stepsize control to obtain the values of a set of functions at the next time step. The stepsize is adjusted by calculating an estimated error using an embedded 4th order Runge-Kutta formula: Press, W. H. et al., 1992, Numerical Recipes in Fortran, Second Edition, Cambridge University Press Cash, J.R. and Karp, A.H. 1990, ACM Transactions on Mathematical Software, vol 16, pp 201-222<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00896.html" title="Integrate a set of ordinary differential equations (initial value problem) in time...">vtkInitialValueProblemSolver</a> <a class="el" href="a01507.html" title="Integrate an initial value problem using 4th order Runge-Kutta method.">vtkRungeKutta4</a> <a class="el" href="a01506.html" title="Integrate an initial value problem using 2nd order Runge-Kutta method.">vtkRungeKutta2</a> <a class="el" href="a00570.html" title="Abstract interface for sets of functions.">vtkFunctionSet</a></dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_14.html#c2_vtk_t_vtkRungeKutta45">vtkRungeKutta45 (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a03918.html#l00042">42</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br>
<a class="el" href="a00896.html">vtkInitialValueProblemSolver</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#a453e6c82a5035c164f8c4a89d592f62">Superclass</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#ec50d8973366083a3d4c2ea312469cd3">GetClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#c41520dfedbb7e48fae3dd018990c0ed">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#c505d5b9a6707780886c7750876fa0fd">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#d0b2aa358474f7acdb9e4a72b643de9f">ComputeNextStep</a> (double *xprev, double *xnext, double t, double &amp;delT, double maxError, double &amp;error)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#b58d895cc8f1806e8cf4a5a3acd52b15">ComputeNextStep</a> (double *xprev, double *dxprev, double *xnext, double t, double &amp;delT, double maxError, double &amp;error)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#c3a82d03d61728f57b5cdafd3c7c3aa0">ComputeNextStep</a> (double *xprev, double *xnext, double t, double &amp;delT, double &amp;delTActual, double minStep, double maxStep, double maxError, double &amp;error)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#7adfd83da92164a211dcaa6c04eebadd">ComputeNextStep</a> (double *xprev, double *dxprev, double *xnext, double t, double &amp;delT, double &amp;delTActual, double minStep, double maxStep, double maxError, double &amp;error)</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#4eae2aa0d2c5dac98d6377256f803357">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01508.html">vtkRungeKutta45</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#18980a01e616fcfc9dbd410b6117ef8e">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01508.html">vtkRungeKutta45</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#c4879ece7c123d2659310a861d6743ec">New</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#5b8e5ea782f79d7a9fe3cdd755f04812">vtkRungeKutta45</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#08495679108c1481162371d8a0ca40fc">~vtkRungeKutta45</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#4247111544ba23d6d63b064b4d56b0cb">Initialize</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#f93038b2d9e51f22ce9ad58c26e8b4e9">ComputeAStep</a> (double *xprev, double *dxprev, double *xnext, double t, double &amp;delT, double &amp;error)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#1d3251d6f2a41cda84a59847e30af535">NextDerivs</a> [6]</td></tr>

<tr><td colspan="2"><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#0e84edc32cde913c01c247005668da6f">A</a> [5]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#87a001cac8cf7275c13432ac84fc8688">B</a> [5][5]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#bf0fa4c5aac134b4f4a8e1facc8be6b6">C</a> [6]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01508.html#e129035438e146e61a3eb8459e3a8d02">DC</a> [6]</td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="a453e6c82a5035c164f8c4a89d592f62"></a><!-- doxytag: member="vtkRungeKutta45::Superclass" ref="a453e6c82a5035c164f8c4a89d592f62" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a00896.html">vtkInitialValueProblemSolver</a> <a class="el" href="a00896.html">vtkRungeKutta45::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00896.html#a23d4970e1d9271746440c082439640d">vtkInitialValueProblemSolver</a>.</p>

<p>Definition at line <a class="el" href="a03918.html#l00045">45</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="5b8e5ea782f79d7a9fe3cdd755f04812"></a><!-- doxytag: member="vtkRungeKutta45::vtkRungeKutta45" ref="5b8e5ea782f79d7a9fe3cdd755f04812" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkRungeKutta45::vtkRungeKutta45           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="08495679108c1481162371d8a0ca40fc"></a><!-- doxytag: member="vtkRungeKutta45::~vtkRungeKutta45" ref="08495679108c1481162371d8a0ca40fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkRungeKutta45::~vtkRungeKutta45           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="ec50d8973366083a3d4c2ea312469cd3"></a><!-- doxytag: member="vtkRungeKutta45::GetClassName" ref="ec50d8973366083a3d4c2ea312469cd3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkRungeKutta45::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00896.html#5fe52c26a43172c1131053a1386c774d">vtkInitialValueProblemSolver</a>.</p>

</div>
</div><p>
<a class="anchor" name="4eae2aa0d2c5dac98d6377256f803357"></a><!-- doxytag: member="vtkRungeKutta45::IsTypeOf" ref="4eae2aa0d2c5dac98d6377256f803357" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkRungeKutta45::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a00896.html#373c8121cdb4a91fcc43859bfe8d2722">vtkInitialValueProblemSolver</a>.</p>

</div>
</div><p>
<a class="anchor" name="c41520dfedbb7e48fae3dd018990c0ed"></a><!-- doxytag: member="vtkRungeKutta45::IsA" ref="c41520dfedbb7e48fae3dd018990c0ed" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkRungeKutta45::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a00896.html#21ffa509bc6c453223511ff1888555d5">vtkInitialValueProblemSolver</a>.</p>

</div>
</div><p>
<a class="anchor" name="18980a01e616fcfc9dbd410b6117ef8e"></a><!-- doxytag: member="vtkRungeKutta45::SafeDownCast" ref="18980a01e616fcfc9dbd410b6117ef8e" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01508.html">vtkRungeKutta45</a>* vtkRungeKutta45::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00896.html#6c67594cda5a3f0516f1b3b72101d31d">vtkInitialValueProblemSolver</a>.</p>

</div>
</div><p>
<a class="anchor" name="c505d5b9a6707780886c7750876fa0fd"></a><!-- doxytag: member="vtkRungeKutta45::PrintSelf" ref="c505d5b9a6707780886c7750876fa0fd" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkRungeKutta45::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. 
<p>Reimplemented from <a class="el" href="a00896.html#912bb660a8b123a17d2a03fecdd9f3e5">vtkInitialValueProblemSolver</a>.</p>

</div>
</div><p>
<a class="anchor" name="c4879ece7c123d2659310a861d6743ec"></a><!-- doxytag: member="vtkRungeKutta45::New" ref="c4879ece7c123d2659310a861d6743ec" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01508.html">vtkRungeKutta45</a>* vtkRungeKutta45::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a <a class="el" href="a01508.html" title="Integrate an initial value problem using 5th order Runge-Kutta method with adaptive...">vtkRungeKutta45</a> with no initial FunctionSet. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="d0b2aa358474f7acdb9e4a72b643de9f"></a><!-- doxytag: member="vtkRungeKutta45::ComputeNextStep" ref="d0b2aa358474f7acdb9e4a72b643de9f" args="(double *xprev, double *xnext, double t, double &amp;delT, double maxError, double &amp;error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkRungeKutta45::ComputeNextStep           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xprev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xnext</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>delT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>maxError</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>error</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given initial values, xprev , initial time, t and a requested time interval, delT calculate values of x at t+delTActual (xnext). Possibly delTActual != delT. This may occur because this solver supports adaptive stepsize control. It tries to change to stepsize such that the (estimated) error of the integration is less than maxError. The solver will not set the stepsize smaller than minStep or larger than maxStep (note that maxStep and minStep should both be positive, whereas delT can be negative). Also note that delT is an in/out argument. <a class="el" href="a01508.html" title="Integrate an initial value problem using 5th order Runge-Kutta method with adaptive...">vtkRungeKutta45</a> will modify delT to reflect the best (estimated) size for the next integration step. An estimated value for the error is returned (by reference) in error. This is the norm of the error vector if there are more than one function to be integrated. This method returns an error code representing the nature of the failure: OutOfDomain = 1, NotInitialized = 2, UnexpectedValue = 3 
<p>Reimplemented from <a class="el" href="a00896.html#cc612bf025e902636510bc04ae83a168">vtkInitialValueProblemSolver</a>.</p>

<p>Definition at line <a class="el" href="a03918.html#l00067">67</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="b58d895cc8f1806e8cf4a5a3acd52b15"></a><!-- doxytag: member="vtkRungeKutta45::ComputeNextStep" ref="b58d895cc8f1806e8cf4a5a3acd52b15" args="(double *xprev, double *dxprev, double *xnext, double t, double &amp;delT, double maxError, double &amp;error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkRungeKutta45::ComputeNextStep           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xprev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>dxprev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xnext</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>delT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>maxError</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>error</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given initial values, xprev , initial time, t and a requested time interval, delT calculate values of x at t+delTActual (xnext). Possibly delTActual != delT. This may occur because this solver supports adaptive stepsize control. It tries to change to stepsize such that the (estimated) error of the integration is less than maxError. The solver will not set the stepsize smaller than minStep or larger than maxStep (note that maxStep and minStep should both be positive, whereas delT can be negative). Also note that delT is an in/out argument. <a class="el" href="a01508.html" title="Integrate an initial value problem using 5th order Runge-Kutta method with adaptive...">vtkRungeKutta45</a> will modify delT to reflect the best (estimated) size for the next integration step. An estimated value for the error is returned (by reference) in error. This is the norm of the error vector if there are more than one function to be integrated. This method returns an error code representing the nature of the failure: OutOfDomain = 1, NotInitialized = 2, UnexpectedValue = 3 
<p>Reimplemented from <a class="el" href="a00896.html#72d6dd03a0b1877fa75c668bc68d88e9">vtkInitialValueProblemSolver</a>.</p>

<p>Definition at line <a class="el" href="a03918.html#l00076">76</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="c3a82d03d61728f57b5cdafd3c7c3aa0"></a><!-- doxytag: member="vtkRungeKutta45::ComputeNextStep" ref="c3a82d03d61728f57b5cdafd3c7c3aa0" args="(double *xprev, double *xnext, double t, double &amp;delT, double &amp;delTActual, double minStep, double maxStep, double maxError, double &amp;error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkRungeKutta45::ComputeNextStep           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xprev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xnext</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>delT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>delTActual</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>minStep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>maxStep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>maxError</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>error</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given initial values, xprev , initial time, t and a requested time interval, delT calculate values of x at t+delTActual (xnext). Possibly delTActual != delT. This may occur because this solver supports adaptive stepsize control. It tries to change to stepsize such that the (estimated) error of the integration is less than maxError. The solver will not set the stepsize smaller than minStep or larger than maxStep (note that maxStep and minStep should both be positive, whereas delT can be negative). Also note that delT is an in/out argument. <a class="el" href="a01508.html" title="Integrate an initial value problem using 5th order Runge-Kutta method with adaptive...">vtkRungeKutta45</a> will modify delT to reflect the best (estimated) size for the next integration step. An estimated value for the error is returned (by reference) in error. This is the norm of the error vector if there are more than one function to be integrated. This method returns an error code representing the nature of the failure: OutOfDomain = 1, NotInitialized = 2, UnexpectedValue = 3 
<p>Reimplemented from <a class="el" href="a00896.html#9729cd6515eca03e37c0a90d28eba8af">vtkInitialValueProblemSolver</a>.</p>

<p>Definition at line <a class="el" href="a03918.html#l00086">86</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7adfd83da92164a211dcaa6c04eebadd"></a><!-- doxytag: member="vtkRungeKutta45::ComputeNextStep" ref="7adfd83da92164a211dcaa6c04eebadd" args="(double *xprev, double *dxprev, double *xnext, double t, double &amp;delT, double &amp;delTActual, double minStep, double maxStep, double maxError, double &amp;error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkRungeKutta45::ComputeNextStep           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xprev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>dxprev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xnext</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>delT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>delTActual</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>minStep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>maxStep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>maxError</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>error</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given initial values, xprev , initial time, t and a requested time interval, delT calculate values of x at t+delTActual (xnext). Possibly delTActual != delT. This may occur because this solver supports adaptive stepsize control. It tries to change to stepsize such that the (estimated) error of the integration is less than maxError. The solver will not set the stepsize smaller than minStep or larger than maxStep (note that maxStep and minStep should both be positive, whereas delT can be negative). Also note that delT is an in/out argument. <a class="el" href="a01508.html" title="Integrate an initial value problem using 5th order Runge-Kutta method with adaptive...">vtkRungeKutta45</a> will modify delT to reflect the best (estimated) size for the next integration step. An estimated value for the error is returned (by reference) in error. This is the norm of the error vector if there are more than one function to be integrated. This method returns an error code representing the nature of the failure: OutOfDomain = 1, NotInitialized = 2, UnexpectedValue = 3 
<p>Implements <a class="el" href="a00896.html#de9128ffcfd3e334146578ca939143d6">vtkInitialValueProblemSolver</a>.</p>

</div>
</div><p>
<a class="anchor" name="4247111544ba23d6d63b064b4d56b0cb"></a><!-- doxytag: member="vtkRungeKutta45::Initialize" ref="4247111544ba23d6d63b064b4d56b0cb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkRungeKutta45::Initialize           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00896.html#2c253895c597dfe4f64ae58c267649a6">vtkInitialValueProblemSolver</a>.</p>

</div>
</div><p>
<a class="anchor" name="f93038b2d9e51f22ce9ad58c26e8b4e9"></a><!-- doxytag: member="vtkRungeKutta45::ComputeAStep" ref="f93038b2d9e51f22ce9ad58c26e8b4e9" args="(double *xprev, double *dxprev, double *xnext, double t, double &amp;delT, double &amp;error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkRungeKutta45::ComputeAStep           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xprev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>dxprev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>xnext</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>delT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>error</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="0e84edc32cde913c01c247005668da6f"></a><!-- doxytag: member="vtkRungeKutta45::A" ref="0e84edc32cde913c01c247005668da6f" args="[5]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01508.html#0e84edc32cde913c01c247005668da6f">vtkRungeKutta45::A</a>[5]<code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03918.html#l00107">107</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="87a001cac8cf7275c13432ac84fc8688"></a><!-- doxytag: member="vtkRungeKutta45::B" ref="87a001cac8cf7275c13432ac84fc8688" args="[5][5]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01508.html#87a001cac8cf7275c13432ac84fc8688">vtkRungeKutta45::B</a>[5][5]<code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03918.html#l00108">108</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="bf0fa4c5aac134b4f4a8e1facc8be6b6"></a><!-- doxytag: member="vtkRungeKutta45::C" ref="bf0fa4c5aac134b4f4a8e1facc8be6b6" args="[6]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01508.html#bf0fa4c5aac134b4f4a8e1facc8be6b6">vtkRungeKutta45::C</a>[6]<code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03918.html#l00109">109</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e129035438e146e61a3eb8459e3a8d02"></a><!-- doxytag: member="vtkRungeKutta45::DC" ref="e129035438e146e61a3eb8459e3a8d02" args="[6]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a01508.html#e129035438e146e61a3eb8459e3a8d02">vtkRungeKutta45::DC</a>[6]<code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03918.html#l00110">110</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1d3251d6f2a41cda84a59847e30af535"></a><!-- doxytag: member="vtkRungeKutta45::NextDerivs" ref="1d3251d6f2a41cda84a59847e30af535" args="[6]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* <a class="el" href="a01508.html#1d3251d6f2a41cda84a59847e30af535">vtkRungeKutta45::NextDerivs</a>[6]<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03918.html#l00112">112</a> of file <a class="el" href="a03918.html">vtkRungeKutta45.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Common/<a class="el" href="a03918.html">vtkRungeKutta45.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:32:27 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>