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

Step Size Information Functions

c

+ Font mai mare | - Font mai mic



DOCUMENTE SIMILARE

Trimite pe Messenger
Functions
Creating Single Document Interface Applications
The Enter() and Exit() Methods
The type of functions - Declaring functions
Displaying Data from an External File
Functions and Program Structure: Basics of Functions
Updating and Adding Database Records Through ADO - What Is ADO?
Structures - Linked lists and other structures
The lock Statement
An example performing input


Step Size Information Functions

Table 4 lists the step size information functions. These functions report the current and initial step sizes, the minimum and maximum allowable step sizes, whether fixed or variable step sizes are being used, which step size control method is in use, and whether the integration is proceeding forward or backward in time.




Table 4 Step Size Information Functions.

Function

Description

GetH0

Returns the initial step size.

GetHMax

Returns the maximum allowable step size.

GetHMin

Returns the minimum allowable step size.

GetHUsed

Returns the last successful step size.

GetHCurr

Returns the current value of the step size.

GetStepSize

Returns the current step size.

UsingFixedStepSize

Returns true if the integrator is using a fixed step size.

UsingVariableStepSize

Returns true if the integrator is using a variable step size.

UsingRichardsonExtrapolation

Returns true if the integrator is using Richardson Extrapolation to determine the variable step size.

UsingEmbeddedFormula

Returns true if the integrator is using the Butcher Table’s embedded formula to determine the variable step size.

IntegratingForward

Returns true if the integrator is integrating forward in time.

GetH0

Usage

h0 = pInteg->GetH0();

Arguments

None.

Return Value

Type

Description

double

Initial step size value.

Notes

None.

GetHMax

Usage

hMax = pInteg->GetHMax();

Arguments

None.

Return Value

Type

Description

double

Maximum allowed step size value.

Notes

For variable step size control, the step size will never be allowed to exceed this value.

GetHMin

Usage

hMin = pInteg->GetHMin();

Arguments

None.

Return Value

Type

Description

double

Minimum allowed step size value.

Notes

If you set the step size less than the minimum allowed an errorState_StepSizeTooSmall error will be set. However, if a variable step size selection would require a step size smaller than the minimum then an errorState_TooMuchAccuracy error will be set. In the latter case, you can use GetTolScaleFactor( to determine what you need to scale the absolute and relative tolerances by to achieve the minimum step size.

GetHUsed

Usage

hUsed = pInteg->GetHUsed();

Arguments

None.

Return Value

Type

Description

double



Step size value used on the last successful step.

Notes

This function reports the size of the step just taken. Note that when doing event finding, a Reset or Terminal event will cause the cause the reported step size to be smaller than the actual step attempted. The reported step size is limited to the time of the event.

GetHCurr

Usage

hCurr = pInteg->GetHCurr();

Arguments

None.

Return Value

Type

Description

double

Current value of the step size in the integrator.

Notes

This value may be larger than that reported in GetHUsed( .

GetStepSize

Usage

hCurr = pInteg->GetStepSize();

Arguments

None.

Return Value

Type

Description

double

Current value of the step size in the integrator.

Notes

This is a synonym for GetHCurr( .

UsingFixedStepSize

Usage

if ( pInteg->UsingFixedStepSize() )…

Arguments

None.

Return Value

Type

Description

bool

Returns true if the integrator is using a fixed step size strategy.

Notes

None.

UsingVariableStepSize

Usage

if ( pInteg->UsingVariableStepSize() )…

Arguments

None.

Return Value

Type

Description

bool

Returns true if the integrator is using a variable step size strategy.

Notes

None.

UsingRichardsonExtrapolation

Usage

if ( pInteg->UsingRichardsonExtrapolation() )…

Arguments

None.

Return Value

Type

Description

bool

Returns true if the integrator is using Richardson Extrapolation to set the variable step size in the step selection strategy.

Notes

None.

UsingEmbeddedFormula

Usage

if ( pInteg->UsingEmbeddedFormula() )…

Arguments

None.

Return Value

Type

Description

bool

Returns true if the integrator is using the embedded formula in the Butcher Table to set the variable step size in the step selection strategy.

Notes

None.

IntegratingForward

Usage

if ( pInteg->IntegratingForward() )…

Arguments

None.

Return Value

Type

Description

bool

Returns true if the integrator is integrating forward in time, false if backward.

Notes

None.






Politica de confidentialitate



DISTRIBUIE DOCUMENTUL

Comentarii


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