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

Event Output Functions

c



+ Font mai mare | - Font mai mic



Event Output Functions

Table 11 lists the event output functions. These functions allow you to retrieve the events after they occur. Note that event handling requires a Butcher Table that has dense output.

Table 11 Event Output Functions.



Function

Description

GetEventTimes

Returns the times at which each event occurred.

GetEventStates

Returns the state vector for each event.

GetEventIndex

Returns the index value which lists which event occurred at each time.

GetEventTimes

Usage

cvTE = pInteg->GetEventTimes();

Arguments

None.

Return Value

Type

Description

colvec

All of the times at which events have occurred.

Notes

This function returns a list of all the event times that have been logged by the integrator. There should be one corresponding event state vector for each of these times. These values will be repeated in the output returned by GetTOut( if OutputEventsInYOut() has been called.

GetEventStates

Usage

mxYE = pInteg->GetEventStates();

Arguments

None.

Return Value

Type

Description

matrix

Values of the state vector at each of the event times processed so far.

Notes

This function returns a matrix with all of the logged event values of the state vector. Each column of the matrix is a column vector with the computed state values at each event that has been logged so far. These values will be repeated in the output returned by GetYOut( if OutputEventsInYOut() has been called.

GetEventIndex

Usage

cvIE = pInteg->GetEventIndex();

Arguments

None.

Return Value

Type

Description

CColumnVector<int,int>

Index of which event has occurred at each event time.

Notes

This function returns a list of all the event indices for the event times that have been logged by the integrator. Each element of the vector is an integer corresponding to which event has occurred (see Section for a discussion of event states). This allows you to track which events occurred at which time, and what those events were.



Politica de confidentialitate | Termeni si conditii de utilizare



DISTRIBUIE DOCUMENTUL

Comentarii


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