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

Initial Condition (IC) Functions

c

+ Font mai mare | - Font mai mic



DOCUMENTE SIMILARE

Trimite pe Messenger
Standard File I/O
The ManualResetEvent Class
More logical expressions.
Beware of Deadlocks
Output Functions
Functions - Definition & Local Variables
Alarm Clock Specifications soft - script
Integration Functions
What is Thread Pooling
Constants - Integer constants


Initial Condition (IC) Functions

Table 7 lists the initial condition functions, which set or return the starting time and initial conditions for the integration. Note that the final integration time is set by the last value of the SetTOut( output function.




Table 7 Initial Condition Functions.

Function

Description

SetT0

Sets the integration starting time.

SetICs

Sets the initial conditions for the states.

GetT0

Returns the currently defined starting time.

GetICs

Returns the currently defined initial conditions.

SetT0

Usage

pInteg->SetT0();

pInteg->SetT0(t0);

Arguments

Variable

Type

Description

t0

double

(Optional). Initial time for the integration. Default: 0.0.

Return Value

None.

Notes

The initial starting time must be consistent with the requested output times specified in SetTOut( , which must have been called first. You can use this routine to specify a start time before the first requested output time, integrating for some period before keeping track of output (such as to allow a transient to damp out). Note that you do not need to call this routine if you wish to start at the first requested TOut t0 is set automatically for you. Also, if you call SetTOut( again, the initial time will be reset in that routine.

SetICs

Usage

pInteg->SetICs();

pInteg->SetICs(cvICs);

pInteg->SetICs(faICs, iNumICs);

Arguments

Variable



Type

Description

cvICs

colvec

Column vector of initial conditions, same size as the state vector. Default: kNullVec.

faICs

double*

Double array of initial conditions.

iNumICs

int

Number of elements in faICs.

Return Value

None.

Notes

This function sets the initial conditions for the state vector. If the size of the column vector or the number of elements in the array do not match the size of the state vector, the ODE is checked for default values. If none are available, an error is returned.

GetT0

Usage

t0 = pInteg->GetT0();

Arguments

None.

Return Value

Type

Description

double

Initial integration time.

Notes

None.

GetICs

Usage

cvICs = pInteg->GetICs();

Arguments

None.

Return Value

Type

Description

colvec

Initial conditions of the state vector.

Notes

This function returns the initial value of the state vector as a column vector, even if the array form was used to set the values.






Politica de confidentialitate



DISTRIBUIE DOCUMENTUL

Comentarii


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