source: trunk/procs/eos.pro @ 13

Last change on this file since 13 was 2, checked in by post_it, 17 years ago

Initial import from ~/POST_IT/

File size: 362 bytes
Line 
1FUNCTION eos, t, s
2;
3; potential density (p=0)
4;
5   sr=sqrt(abs(s))
6   r1=((((6.536332E-9*t-1.120083E-6)*t+1.001685E-4)*t $
7        -9.095290E-3)*t+6.793952E-2)*t+999.842594
8   r2=(((5.3875E-9*t-8.2467E-7)*t+7.6438E-5)*t-4.0899E-3)*t+8.24493E-1
9   r3=(-1.6546E-6*t+1.0227E-4)*t-5.72466E-3
10   rhopn = ( ( 4.8314E-4*s + r3*sr +r2)*s +r1) 
11
12   return,  rhopn
13END
Note: See TracBrowser for help on using the repository browser.