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-979) Stop integration in handleStep method
Date Sat, 25 May 2013 18:49:20 GMT

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

Luc Maisonobe resolved MATH-979.
--------------------------------

    Resolution: Implemented

This feature is already implemented using event handlers, and JIRA is not a place for questions.
                
> Stop integration in handleStep method
> -------------------------------------
>
>                 Key: MATH-979
>                 URL: https://issues.apache.org/jira/browse/MATH-979
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Sindeev Sergey
>            Priority: Minor
>
> I use ClassicalRungeKutta integrator to solve ODE system. in handleStep method every
step value is plotted on chart. integration lasts until stop button is clicked. I need a method
to stop integration in handleStep like:
> public void handleStep(StepInterpolator interpolator, boolean isLast) {
> ...
> if (stopButton.isSelected()){
>    getIntegrator().stop();
> }
> ...
> }
> Is this possible ? or there is a better way for this ?

--
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