commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MATH-965) Inconsistency between the init method and the other ones in step and event handlers
Date Mon, 08 Apr 2013 14:43:16 GMT

     [ https://issues.apache.org/jira/browse/MATH-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luc Maisonobe resolved MATH-965.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Fixed in subversion repository as of r1465654.
                
> Inconsistency between the init method and the other ones in step and event handlers
> -----------------------------------------------------------------------------------
>
>                 Key: MATH-965
>                 URL: https://issues.apache.org/jira/browse/MATH-965
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Luc Maisonobe
>            Assignee: Luc Maisonobe
>             Fix For: 4.0
>
>
> The EventHandler and StepHandler interfaces allow user code to be called by ODE integrators
at some points. Both interfaces provide an "init" method which get the initial state as a
double array "y0".
> The "g" and "eventOccurred" methods also get a double array "y" corresponding to current
state. The size of the array in these two methods correspond only to the primary state whereas
in the "init" methods it holds both the primary state and the secondary states.
> It would be better to always provide the complete state (primary and secondary) in all
methods, so users can also trigger events based on secondary states.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message