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 Mon, 08 Jun 2009 18:17:21 GMT

Luc,

I found my error. I had an array indexing mistake and the output was not
getting propagated properly. I appears to be working now. 

Thanks,
Angelo


Angelo Port wrote:
> 
> 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-tp23891956p23929423.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