comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Need help combining LSODE with newton
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Need help combining LSODE with newton [message #42386] Wed, 26 January 2005 13:51
Chris Lee is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Announcement: IQM now for 16bit images too
Next Topic: iTool Example

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:25:04 PDT 2025

Total time taken to generate the page: 0.00554 seconds