Re: Yet again, The Sky is Falling! [message #52859 is a reply to message #52858] |
Thu, 08 March 2007 11:58   |
yp
Messages: 42 Registered: February 2005
|
Member |
|
|
On Mar 8, 7:30 pm, "R.G. Stockwell" <n...@email.please> wrote:
> "yp" <Yaswant.Prad...@gmail.com> wrote in message
>
> news:1173381505.441539.306710@c51g2000cwc.googlegroups.com.. .
> ...
>
>
>
>>> sza = 45.0D ;C (static)
>>> vza = 1.078D ;D (static)
>>> dphi = 0.0D ;E (static)
>>> int_LUT, wave, nwave, 0.0D, 0.0D, 0.0D, chl[i], foq0 ;Case1
>>> int_LUT, wave, nwave, sza[i], vza[i], dphi[i], chl[i], foq
> ...
>> Case#1
>> FOQ0 = 0.090099994 0.094999995 0.10729999
>> 0.11370000 0.11999999 0.11940000 0.11990000
>
>> Case#2
>> FOQ0 = 0.090071241 0.094978428 0.10727842
>> 0.11366406 0.11996405 0.11935687 0.11985687
>
> I am jumping in late, and don't really follow what you think the
> problem is.
>
> BUT, in 'case 1 you are passing zeros, and in case 2 you are passing
> 45,1.078, 0.
>
> Cheers,
> bob
Hi Bob,
> BUT, in 'case 1 you are passing zeros, and in case 2 you are passing
> 45,1.078, 0.
Not really.
In Case 1 the arguments are passed by value (which is shown in the
code)
in Case 2 (comment the line left to Case1 and uncomment the line left
to Case2) the arguments are passed by regerence.
|
|
|