Home »
Public Forums »
archive »
Re: Need help combining LSODE with newton
Re: Need help combining LSODE with newton [message #42386] |
Wed, 26 January 2005 13:51 |
Chris Lee
Messages: 101 Registered: August 2003
|
Senior Member |
|
|
In article <3404f51b.0501260535.3f5886ca@posting.google.com>, "Morten
Stejner" <msp@phys.au.dk> wrote:
> Hi
> My local guru can't help me with this, so I was hoping one of you could.
> I am trying to solve a set of differential equations using the "newton"
> procedure to solve for the proper boundary conditions and LSODE to
> advance the solution (shooting to a fitting point).
> .....
> % NEWTON: File expression not allowed in this context: <No name>.
> Can anyone explain why this happens and how to avoid it. Any help at all
I get a different error
!version={ x86 linux unix linux 6.1.1 Oct 11 2004 32 64}
Internal error: Bad variable type encountered in no_name_var()
Which only happens if LSODE is called within NEWTON. Since both functions
are dealing with pointers to functions (presumably, IDL doesn't use
CALL_FUNCTION internally) I'm guessing there's either a bug in there or a
shared global variable. The error happens in NEWTON after the call to
the call to the user function.
You should probably tell RSI. Your code is small enough for them to run
quickly and hopfully find a solution.
Chris.
> ....
> Thanks
> Morten Stejner
> Department of Physics and Astronomy, University of Aarhus FUNCTION
|
|
|
Current Time: Wed Oct 08 17:25:04 PDT 2025
Total time taken to generate the page: 0.00554 seconds