/[MITgcm]/MITgcm/pkg/down_slope/dwnslp_init_varia.F
ViewVC logotype

Contents of /MITgcm/pkg/down_slope/dwnslp_init_varia.F

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


Revision 1.1 - (show annotations) (download)
Sun Aug 17 02:01:27 2008 UTC (15 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62e, checkpoint62d, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61c, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
pkg Down_Slope : density-driven downsloping flow parameterization.

1 C $Header: $
2 C $Name: $
3
4 #include "DWNSLP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: DWNSLP_INIT_VARIA
8 C !INTERFACE:
9 SUBROUTINE DWNSLP_INIT_VARIA( myThid )
10
11 C !DESCRIPTION: \bv
12 C *==========================================================*
13 C | SUBROUTINE DWNSLP_INIT_VARIA
14 C | o Initialize Down_Slope variables
15 C *==========================================================*
16 C \ev
17
18 C !USES:
19 IMPLICIT NONE
20
21 C === Global variables ===
22 #include "SIZE.h"
23 #include "EEPARAMS.h"
24 c#include "PARAMS.h"
25 #include "DWNSLP_SIZE.h"
26 #include "DWNSLP_PARAMS.h"
27 #include "DWNSLP_VARS.h"
28
29
30 C !INPUT/OUTPUT PARAMETERS:
31 C === Routine arguments ===
32 C myThid :: my Thread Id number
33 INTEGER myThid
34 CEOP
35
36 C !LOCAL VARIABLES:
37 C === Local variables ===
38 C msgBuf :: Informational/error meesage buffer
39 c CHARACTER*(MAX_LEN_MBUF) msgBuf
40 INTEGER n, bi, bj
41
42 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
43
44
45 DO bj = myByLo(myThid), myByHi(myThid)
46 DO bi = myBxLo(myThid), myBxHi(myThid)
47
48 C Initialize arrays in common blocks :
49 DO n=1,DWNSLP_size
50 DWNSLP_deepK (n,bi,bj) = 0
51 DWNSLP_Transp(n,bi,bj) = 0. _d 0
52 ENDDO
53
54 ENDDO
55 ENDDO
56
57 RETURN
58 END

  ViewVC Help
Powered by ViewVC 1.1.22