Scrigroup - Documente si articole

Username / Parola inexistente      

Home Documente Upload Resurse Alte 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



DOCUMENTE SIMILARE

Trimite pe Messenger
Scalability in .NET
Strange operators
Constants - Integer constants
Error Tolerance Information Functions
The BooleanSwitch Class
Multiple Threads in Applications - STA Threading Model
Types, Operators and Expressions: Variable Names
Unions
Getting User Feedback--Adding Dialog Boxes to Your Application
Declaration of variables


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



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 337
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 2021 . All rights reserved

Distribuie URL

Adauga cod HTML in site