Scrigroup - Documente si articole

     

HomeDocumenteUploadResurseAlte limbi doc
AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows
WordXml

AspAutocadCDot netExcelFox proHtmlJava
LinuxMathcadPhotoshopPhpSqlVisual studioWindowsXml

Integrator Reset Functions

c



+ Font mai mare | - Font mai mic



Integrator Reset Functions

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.

Reset

Usage

pInteg-Reset();

Arguments

None.

Return Value

None.

Notes

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.

InstallNewBT

Usage

pInteg->InstallNewBT(pBT);

Arguments

Variable

Type

Description

pBT

CButcherTable*

Pointer to the new integration method object derived from CButcherTable.

Return Value

None.

Notes

This function installs a new Butcher Table object in the integrator. It calls Reset( to reset the integrator

InstallNewODE

Usage

pInteg->InstallNewODE(pODE);

Arguments

Variable

Type

Description

pODE

CDifferentialEquation*

Pointer to the ODE object derived from CDifferentialEquation.

Return Value

None.

Notes

This function installs a new ODE object in the integrator. It calls Reset( to reset the integrator.

UpdateODE

Usage

pInteg->UpdateODE();

pInteg->UpdateODE(y0);

pInteg->UpdateODE(y0, h0);

pInteg->UpdateODE(y0, h0, atol);

pInteg->UpdateODE(y0, h0, atol, rtol);

Arguments

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.

Return Value

None.

Notes

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 Monte Carlo run or supplying input after reading data from an input file.



Politica de confidentialitate | Termeni si conditii de utilizare



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 648
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved