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 Limit Functions

c



+ Font mai mare | - Font mai mic



Integrator Limit Functions

Table 12 lists the integrator limit functions. These functions set limits on how far the integration will be allowed to proceed to prevent a runaway condition should an error occur or if the ODE is ill conditioned.

Table 12 Integrator Limit Functions.



Function

Description

SetMaxSteps

Sets the maximum number of integration steps which will be allowed.

SetMaxRejectedSteps

Sets the maximum number of rejected steps which will be allowed for a given step.

SetMaxSteps

Usage

pInteg->SetMaxSteps();

pInteg->SetMaxSteps(iMaxSteps);

Arguments

Variable

Type

Description

iMaxSteps

int

(Optional). Maximum number of integration steps to be allowed. Default: 500.

Return Value

None.

Notes

This function limits the number of integration steps the integrator is allowed to take. This is to keep the integrator from taking too many steps because the step size becomes so small that it essentially takes forever to complete integration. This value can be set arbitrarily large for fixed step size methods or if the variable-step method is expected to be benign.

SetMaxRejectedSteps

Usage

pInteg->SetMaxRejectedSteps();

pInteg->SetMaxRejectedSteps(iMaxReject);

Arguments

Variable

Type

Description

iMaxReject

int

(Optional). Maximum allowable number of rejected step sizes for a single integration step. Default: 100.

Return Value

None.

Notes

This function limits the number of times the integrator can reject the step size selection for a given integration step. When using a variable step size method, the step size for the next step is chosen based on the error tolerance of the step. Occasionally, especially near discontinuities, the step size may have to be drastically reduced to meet the error requirements on the current step. If the function is too ill behaved, a large number of steps are rejected.



Politica de confidentialitate | Termeni si conditii de utilizare



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 589
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