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

Home » Public Forums » archive » Re: change values of structure variable
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: change values of structure variable [message #81931 is a reply to message #81930] Thu, 08 November 2012 20:37 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
There is no common block in the program read2datmos.pro as you wrote it below. The COMMON statement must be in every program that uses its variables or it will not "work".

> FUNCTION read2datmos, fileName, BFILE=Bfile
>
> Nx = 0L & Nz = 0L & NHydr = 0L
>
>
>
> openr, unit, fileName, /GET_LUN, /XDR
>
>
>
> readu, unit, Nx, Nz, NHydr
>
> point_lun, unit, 0
>
>
>
> atmos = {Nx: Nx, Nz: Nz, NHydr: NHydr, $
>
> boundary: lonarr(3), dx: dblarr(Nx), z: dblarr(Nz), $
>
> T: dblarr(Nx, Nz), n_elec: dblarr(Nx, Nz), $
>
> vturb: dblarr(Nx, Nz), vx: dblarr(Nx, Nz), $
>
> vz: dblarr(Nx, Nz), $
>
> nH: dblarr(Nx, Nz, NHydr)}
>
>
>
> test1 (I have called the program here).
>
>
>
> But still it is not working.
>
>
>
> Will please let me know if there is any mistake.
>
> thanking you
>
> sid
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: attractive base map for animation
Next Topic: Re: Save some plots

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

Current Time: Sun Oct 12 02:39:54 PDT 2025

Total time taken to generate the page: 1.35813 seconds