CATEGORII DOCUMENTE |
Asp | Autocad | C | Dot net | Excel | Fox pro | Html | Java |
Linux | Mathcad | Photoshop | Php | Sql | Visual studio | Windows | Xml |
Table 14 lists the integrator reset functions. These functions allow you to reset the integrator so integration may start over, or install a new ODE or Butcher Table.
Table 14 Integrator Reset Functions.
Function |
Description |
Reset |
Reset the integrator so a new run may be made. |
InstallNewBT |
Replace the existing Butcher Table object with a new one. |
InstallNewODE |
Replace the existing ODE object with a new one. |
UpdateODE |
Set new values for step size, IC, and tolerances for the ODE. |
pInteg-Reset();
None.
None.
This function causes the integrator to reset for another integration run. All of the counters and output variables are returned to their initial values. All initial conditions, step size selection methods, etc., will be left at the values they have been set with the functions detailed in the previous sections. This routine also calls the Reset( function defined in the ODE, if there is one.
pInteg->InstallNewBT(pBT);
Variable |
Type |
Description |
pBT |
CButcherTable* |
Pointer to the new integration method object derived from CButcherTable. |
None.
This function installs a new Butcher Table object in the integrator. It calls Reset( to reset the integrator
pInteg->InstallNewODE(pODE);
Variable |
Type |
Description |
pODE |
CDifferentialEquation* |
Pointer to the ODE object derived from CDifferentialEquation. |
None.
This function installs a new ODE object in the integrator. It calls Reset( to reset the integrator.
pInteg->UpdateODE();
pInteg->UpdateODE(y0);
pInteg->UpdateODE(y0, h0);
pInteg->UpdateODE(y0, h0, atol);
pInteg->UpdateODE(y0, h0, atol, rtol);
Variable |
Type |
Description |
y0 |
colvec& |
New initial condition vector. Default: kNullVec. |
h0 |
double |
New initial step size. Default: 0.0. |
atol |
double |
New absolute tolerance. Default: -1.0. |
rtol |
double |
New relative tolerance. Default: -1.0. |
None.
This function resets the initial values of the ODE object.
It calls Reset( to reset the
integrator. This function is useful for preparing an ODE for a new
Politica de confidentialitate | Termeni si conditii de utilizare |
Vizualizari: 648
Importanta:
Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved