commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angelo Port <angel.a.porti...@boeing.com>
Subject Re: [math] ODE integrator
Date Fri, 05 Jun 2009 19:26:01 GMT

Luc,

Hello, allow me to try each suggestion and I will get back to you.

Cheers,
Angelo


Luc Maisonobe wrote:
> 
> Angelo Port a écrit :
>> Hi,
>> 
>> I am attempting to use the "DormandPrince54Integrator". I have listed the
>> implementation steps below:
>> 
>> 1. Implement my version of the "FirstOrderDifferentialEquations"
>> interface
>> with my equations. 
>> 2. Initialize my IVP values and called the DR54 integrator
>> 
>> When I run the integrator, my output always matches my input at each time
>> step. I have probed the independent time variable  and it appears to step
>> towards my final time as expected. Did I forget a step? Any help or
>> suggestions are appreciated.
> 
> What you have done should be sufficient.
> Could you check your differential equations output non-zero values ?
> Could you chekc a simplified set of differential equations like for
> example
> 
>   public void computeDerivatives(double t, double[] y, double[] yDot) {
>     Arrays.fill(yDot, 1.0);
>   }
> 
> Did you check the value at each step using a StepHandler or did you
> check only the final values after the integrator run ?
> Could you compare your code with the junit test cases that are in the
> source tree ?
> Could you copy/paste the part of your code corresponding to the
> differential equations and the integrator call in a new message to the
> list ?
> 
> Luc
> 
>> 
>> Angelo
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-math--ODE-integrator-tp23891956p23894112.html
Sent from the Commons - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message