/[MITgcm]/MITgcm/pkg/pp81/pp81_init.F
ViewVC logotype

Annotation of /MITgcm/pkg/pp81/pp81_init.F

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


Revision 1.2 - (hide annotations) (download)
Sun Oct 17 23:12:59 2004 UTC (19 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint57o_post, checkpoint57m_post, checkpoint57i_post, checkpoint58e_post, checkpoint57r_post, checkpoint57f_post, checkpoint57s_post, checkpoint57j_post, checkpoint58b_post, checkpoint58m_post, checkpoint57b_post, checkpoint57f_pre, checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint60, checkpoint61, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57h_pre, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint55h_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint61l, checkpoint58h_post, checkpoint57e_post, checkpoint58w_post, checkpoint56c_post, checkpoint58j_post, checkpoint57h_post, checkpoint57y_pre, checkpoint57a_post, checkpoint57v_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint57, checkpoint56, checkpoint57h_done, checkpoint58f_post, checkpoint57n_post, checkpoint58d_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58o_post, checkpoint57z_post, eckpoint57e_pre, checkpoint58c_post, checkpoint58k_post, checkpoint57c_post, checkpoint58u_post, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint58t_post, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint58q_post, checkpoint61p, checkpoint55i_post, checkpoint57l_post, checkpoint56a_post
Changes since 1.1: +2 -2 lines
allow to set a vertical profile of vertical diffusivity for T & S

1 jmc 1.2 C $Header: /u/gcmpack/MITgcm/pkg/pp81/pp81_init.F,v 1.1 2004/09/02 09:11:54 mlosch Exp $
2 mlosch 1.1 C $Name: $
3    
4     #include "PP81_OPTIONS.h"
5    
6     SUBROUTINE PP81_INIT( myThid )
7     C /==========================================================\
8     C | SUBROUTINE PP81_INIT |
9     C | o Routine to initialize PP81 parameters and variables. |
10     C |==========================================================|
11     C | Initialize PP81 parameters and variables. |
12     C \==========================================================/
13     IMPLICIT NONE
14    
15     C === Global variables ===
16     #include "SIZE.h"
17     #include "EEPARAMS.h"
18     #include "PARAMS.h"
19     #include "GRID.h"
20     #include "PP81.h"
21    
22     C === Routine arguments ===
23     C myThid - Number of this instance of PP81_INIT
24     INTEGER myThid
25    
26     #ifdef ALLOW_PP81
27    
28     C === Local variables ===
29     C i,j,k,bi,bj - Loop counters
30    
31     INTEGER i, j, k, bi, bj
32    
33     C-----------------------------------------------------------------------
34     C Initialize PP variables PPviscAr, PPdiffKrT
35     C-----------------------------------------------------------------------
36    
37     do bj = myByLo(myThid), myByHi(myThid)
38     do bi = myBxLo(myThid), myBxHi(myThid)
39     do k = 1, Nr
40     do j = 1-OLy, sNy+OLy
41     do i = 1-OLx, sNx+OLx
42     PPviscAr (i,j,k,bi,bj) = viscAr
43 jmc 1.2 PPdiffKr (i,j,k,bi,bj) = diffKrNrT(k)
44 mlosch 1.1 end do
45     end do
46     end do
47     end do
48     end do
49    
50     #endif /* ALLOW_PP81 */
51    
52     return
53     end

  ViewVC Help
Powered by ViewVC 1.1.22