/[MITgcm]/MITgcm/pkg/ecco/sw_adtg.F
ViewVC logotype

Contents of /MITgcm/pkg/ecco/sw_adtg.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Nov 6 22:10:08 2003 UTC (20 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint53f_post, checkpoint54a_pre, checkpoint55c_post, checkpoint53b_pre, checkpoint57m_post, checkpoint52l_pre, checkpoint52e_pre, hrcube4, checkpoint58e_post, checkpoint57v_post, checkpoint52n_post, checkpoint52j_post, checkpoint57f_post, checkpoint52e_post, checkpoint57s_post, checkpoint57j_post, checkpoint58b_post, checkpoint58m_post, checkpoint57b_post, checkpoint52d_pre, checkpoint53c_post, checkpoint53d_post, checkpoint57f_pre, checkpoint57k_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57g_post, checkpoint57a_post, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57h_pre, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint52j_pre, checkpoint54a_post, branch-netcdf, checkpoint52l_post, checkpoint55h_post, checkpoint58n_post, checkpoint58x_post, checkpoint52k_post, checkpoint52b_pre, checkpoint57g_pre, checkpoint54b_post, checkpoint58h_post, checkpoint57e_post, checkpoint58w_post, checkpoint54d_post, checkpoint56c_post, checkpoint54e_post, checkpoint58j_post, checkpoint55b_post, checkpoint57h_post, checkpoint52m_post, checkpoint57y_pre, checkpoint55, checkpoint53a_post, checkpoint55a_post, checkpoint57c_pre, hrcube5, checkpoint53b_post, checkpoint57o_post, checkpoint55g_post, checkpoint57r_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint57i_post, checkpoint59b, checkpoint59h, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint54, checkpoint57, checkpoint56, checkpoint53, checkpoint52, checkpoint52d_post, checkpoint52a_post, checkpoint57h_done, checkpoint58f_post, checkpoint59c, checkpoint53g_post, checkpoint52f_post, checkpoint57n_post, checkpoint52c_post, checkpoint58d_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, ecco_c52_e35, checkpoint58o_post, checkpoint57z_post, checkpoint54f_post, eckpoint57e_pre, checkpoint58c_post, checkpoint58k_post, checkpoint57c_post, checkpoint58u_post, checkpoint58y_post, checkpoint52a_pre, checkpoint52b_post, checkpoint58v_post, checkpoint53d_pre, checkpoint58s_post, checkpoint55e_post, checkpoint54c_post, checkpoint58p_post, checkpoint52i_post, checkpoint58t_post, checkpoint58q_post, checkpoint55i_post, checkpoint57l_post, checkpoint52i_pre, checkpoint51u_post, checkpoint52h_pre, checkpoint52f_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint56a_post, checkpoint55d_post
Branch point for: netcdf-sm0
o merging from ecco-branch
o pkg/ecco now containes ecco-specific part of cost function
o top level routines the_main_loop, forward_step
  supersede those in model/src/
  previous input data.cost now in data.ecco
  (new namelist ecco_cost_nml)

1 C $Header: /u/gcmpack/MITgcm/pkg/cost/Attic/sw_adtg.F,v 1.1.2.1 2002/04/04 10:58:59 heimbach Exp $
2
3 #include "CPP_OPTIONS.h"
4
5 _RL function SW_ADTG (S,T,P)
6
7 c ==================================================================
8 c SUBROUTINE SW_ADTG
9 c ==================================================================
10 c
11 c o Calculates adiabatic temperature gradient as per UNESCO 1983 routines.
12 c
13 c started:
14 c
15 c Armin Koehl akoehl@ucsd.edu
16 c
17 c ==================================================================
18 c SUBROUTINE SW_ADTG
19 c ==================================================================
20
21 implicit none
22 _RL a0,a1,a2,a3,b0,b1,c0,c1,c2,c3,d0,d1,e0,e1,e2
23 _RL S,T,P
24 _RL sref
25
26 sref = 35. _d 0
27 a0 = 3.5803 _d -5
28 a1 = +8.5258 _d -6
29 a2 = -6.836 _d -8
30 a3 = 6.6228 _d -10
31
32 b0 = +1.8932 _d -6
33 b1 = -4.2393 _d -8
34
35 c0 = +1.8741 _d -8
36 c1 = -6.7795 _d -10
37 c2 = +8.733 _d -12
38 c3 = -5.4481 _d -14
39
40 d0 = -1.1351 _d -10
41 d1 = 2.7759 _d -12
42
43 e0 = -4.6206 _d -13
44 e1 = +1.8676 _d -14
45 e2 = -2.1687 _d -16
46
47 SW_ADTG = a0 + (a1 + (a2 + a3*T)*T)*T
48 & + (b0 + b1*T)*(S-sref)
49 & + ( (c0 + (c1 + (c2 + c3*T)*T)*T) + (d0 + d1*T)*(S-sref) )*P
50 & + ( e0 + (e1 + e2*T)*T )*P*P
51 end

  ViewVC Help
Powered by ViewVC 1.1.22