Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
ArticlesDiving DestinationsLearning Scuba DivingMarine LifeMiscellaneous
Discussion GroupsGeneralScuba EquipmentScuba LocationsAustralian ScubaUK Scuba
DirectoryScuba Clubs

Scuba Forum / General / January 2004

Tip: Looking for answers? Try searching our database.

Eric Baker's Decompression code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harrison - 21 Jan 2004 18:02 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.

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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.