You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2013/05/25 20:49:20 UTC

[jira] [Resolved] (MATH-979) Stop integration in handleStep method

     [ 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