Patch to make ic2 work even with i.c. 'y(x)= (fwd)
Subject: Patch to make ic2 work even with i.c. 'y(x)= (fwd)
From: Billinghurst, David (RTATECH)
Date: Fri, 6 Feb 2009 09:29:29 +1100
> David:
> > There are only two tests of ic2 in the testsuite, and none in the
> > share/contrib/diffequations testsuite. I think we need
> more before we
> > can be sure there are no adverse effects.
>
> Indeed, there are 37 tests involving ode2 but only 2
> involving ic2. Maybe the first thing to do would be to add
> more tests calling ic2 (ideally one test of ic2 for each test
> of ode2)? Then one could go ahead with the patch. I'll see if
> I can do that.
>
> Best wishes,
>
> Christophe Deroulers
> University Paris Diderot-Paris 7
I like tests. maxima is complex and changes can have unexpected
consequences (although probably not in this case).
I don't think we need one ic2 test for each ode2 test, but we do need
to test each path through the code, and also the different ways that
the solutions can be expressed.
I also want to understand what you patch does. I have never looked at
the ic2 function before and need to step through some examples. It is
going to be an inside day tomorrow (43 C) so I will try and find time.
David
This email is confidential and may also be privileged. If you are not the intended recipient, please notify us immediately and delete this message from your system without first printing or copying it. Any personal data in this email (including any attachments) must be handled in accordance with the Rio Tinto Group Data Protection Policy and all applicable data protection laws.