List,
Has anyone re-created the code Eric Baker wrote in his "Decolessons"
paper? I have, but my results are different than the sample he has
illistrated the the same document. I'd like to compaire dive plans
with anyone else who has written the same code.
Thanks,
Harrison
bullshark - 21 Jan 2004 19:51 GMT
>List,
>
>Has anyone re-created the code Eric Baker wrote in his "Decolessons"
>paper? I have, but my results are different than the sample he has
>illistrated the the same document. I'd like to compaire dive plans
>with anyone else who has written the same code.
Negative.
OTOH, if you are talking about Erik Baker's code then the answer is yes.
----------------------------------^
The difference may be:
1) you screwed the pooch transcribing from the PDF to text
2) your fortran compiler is initializing the FPU differently than Eriks
(MS-Fortran). g77 on intel with FPU will reproduce the schedule just fine.
3) you haven't carefully compared the subroutine PRJASC in your source
with the source that produced the sample schedule. One of them
accounts for gas elimination as well as uptake on ascent to the first
stop and the other only checks for uptake. The result is that the
first stop is 3 m deeper in one program for the (90 m sample dive)
safe diving,
bullshark
James Connell - 21 Jan 2004 21:57 GMT
> List,
>
[quoted text clipped - 5 lines]
> Thanks,
> Harrison
what did you write it in - i have a (highly modified) C version around
here somewhere. it was close to the fortran run but because of the
differences in the math lib it has some variations. not enough to make a
diff though.
Harrison - 22 Jan 2004 19:17 GMT
Fortran. It's basically a copy/paste/compile. I didn't modify his
code at all. I'm using the exact same "deco.in" file that's
illistrated in his paper, but my "deco.out" file results differ. I'd
like to do a comparison with yours.
Thanks,
Harrison
> > List,
> >
[quoted text clipped - 10 lines]
> differences in the math lib it has some variations. not enough to make a
> diff though.
James Connell - 22 Jan 2004 19:27 GMT
> Fortran. It's basically a copy/paste/compile. I didn't modify his
> code at all. I'm using the exact same "deco.in" file that's
[quoted text clipped - 18 lines]
>>differences in the math lib it has some variations. not enough to make a
>>diff though.
i have to run right now but i'll try to track it down later and get back
to you.
my guess is the difference you have is in the size of the "real"
variables - it will vary depending on the system it's run on.
Harrison - 23 Jan 2004 23:34 GMT
Thanks.
> i have to run right now but i'll try to track it down later and get back
> to you.
>
> my guess is the difference you have is in the size of the "real"
> variables - it will vary depending on the system it's run on.
Harrison - 26 Jan 2004 21:23 GMT
You've got mail!
> Thanks.
>
[quoted text clipped - 3 lines]
> > my guess is the difference you have is in the size of the "real"
> > variables - it will vary depending on the system it's run on.