[
https://issues.apache.org/jira/browse/MATH-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sindeev Sergey updated MATH-979:
--------------------------------
Summary: Stop integration in handleStep method (was: Stop integration
insight handleStep)
> 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