[
https://issues.apache.org/jira/browse/MATH-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luc Maisonobe updated MATH-388:
-------------------------------
Attachment: math-388.patch
Could you check whether this patch solves the problem or not ?
You should have your ODE implement ExtendedFirstOrderDifferentialEquations
instead of FirstOrderDifferentialEquations, so you would need to add an
implementation for the getMainDimension method.
I did not have the time to do any verification by myself except running
existing tests that do not use this new interface. So there may be some
problems with the patch, mainly things like ArrayIndexOutOfBoundsException, so
use this with care.
I will wait for your feedback before checking this in the subversion repository.
> ODE integrator: different size needed for state vector and tolerance error
> vector dimension
> -------------------------------------------------------------------------------------------
>
> Key: MATH-388
> URL: https://issues.apache.org/jira/browse/MATH-388
> Project: Commons Math
> Issue Type: Bug
> Reporter: Pascal Parraud
> Assignee: Luc Maisonobe
> Fix For: 2.2
>
> Attachments: math-388.patch
>
>
> The user should be allowed to chose a tolerance vector dimension different
> from the state vector dimension.
> For example, using the FirstOrderIntegratorWithJacibians, we don't want to
> set some tolerance error for the jacobian part in order to not interfere with
> the main state vector integration.
> This is really a problem with the dimension of the tolerance vector, there is
> no work-around assigning some particular value to the tolerance vector.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.