/[MITgcm]/MITgcm/model/src/packages_init_variables.F
ViewVC logotype

Contents of /MITgcm/model/src/packages_init_variables.F

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


Revision 1.24 - (show annotations) (download)
Thu Oct 9 04:19:18 2003 UTC (20 years, 8 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint51l_post, checkpoint51l_pre, checkpoint51i_post, checkpoint51m_post
Branch point for: tg2-branch
Changes since 1.23: +4 -0 lines
 o first check-in for the "branch-genmake2" merge
 o verification suite as run on shelley (gcc 3.2.2):

Wed Oct  8 23:42:29 EDT 2003
                T           S           U           V
G D M    c        m  s        m  s        m  s        m  s
E p a R  g  m  m  e  .  m  m  e  .  m  m  e  .  m  m  e  .
N n k u  2  i  a  a  d  i  a  a  d  i  a  a  d  i  a  a  d
2 d e n  d  n  x  n  .  n  x  n  .  n  x  n  .  n  x  n  .

OPTFILE=NONE

Y Y Y Y 13 16 16 16  0 16 16 16 16 16 16 16 16 13 12  0  0 pass  adjustment.128x64x1
Y Y Y Y 16 16 16 16  0 16 16 16 16 16 16  0  0 16 16  0  0 pass  adjustment.cs-32x32x1
Y Y Y Y 16 16 16 16  0 16 16 16 16 16 16 22  0 16 16 22  0 pass  adjust_nlfs.cs-32x32x1
Y Y Y Y -- 13 13 16 16 13 13 13 13 16 16 16 16 16 16 16 16 N/O   advect_cs
Y Y Y Y -- 22 16 16 16 16 16 16 13 16 16 16 16 16 16 16 16 N/O   advect_xy
Y Y Y Y -- 13 16 13 16 16 16 16 16 16 16 22 16 16 16 16 16 N/O   advect_xz
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  aim.5l_cs
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 16 16 16 16 13 16 pass  aim.5l_Equatorial_Channel
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 13 16 16 13 13 16 pass  aim.5l_LatLon
Y Y Y Y 13 16 16 16 16 16 16 16 16 16 13 12 13 13 16 13 16 pass  exp0
Y Y Y Y 14 16 16 16 16 16 16 16 22 16 16 16 13 16 16 22 16 pass  exp1
Y Y Y Y 13 13 16 13 16 16 16 16 16 13 13 16 16 13 13 13 13 pass  exp2
Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass  exp4
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 22 16 16 16 22 16 pass  exp5
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  front_relax
Y Y Y Y 14 16 16 13 13 16 16 13 13 16 13 13 16 12 13 13 16 pass  global_ocean.90x40x15
Y Y Y Y 10 16 16 13 13 16 13 16 16 13 13 13 13 16 16 13 16 FAIL  global_ocean.cs32x15
Y Y Y Y  6 11 12 13 13 12 13 16 13  9  9  9  9 10  9  9 11 FAIL  global_ocean_pressure
Y Y Y Y 14 16 16 13 16 16 16 13 13 13 13 13 16 12 16 13 16 pass  global_with_exf
Y Y Y Y 14 16 16 16 16 16 16 16 16 11 13 22 13 16 16  9 16 pass  hs94.128x64x5
Y Y Y Y 13 16 16 16 16 16 16 16 16 11 16 16 16 13 16 22 13 pass  hs94.1x64x5
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 13 13 16 16 22 13 pass  hs94.cs-32x32x5
Y Y Y Y 10 10 16 13 13 16 16 16 22 16 13 13 13 13 13 22 13 FAIL  ideal_2D_oce
Y Y Y Y  8 16 16 16 16 16 16 16 16 13 13  8 16 16 16 16 16 FAIL  internal_wave
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 13 22 13 13 13 22 16 pass  inverted_barometer
Y Y Y Y 12 16 16 16 16 16 16 16 16 16 13 12 13 13 13 13 13 FAIL  lab_sea
Y Y Y Y 11 16 16 16 16 16 16 16 13 13 13 12 13 16 13 12 13 FAIL  natl_box
Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass  plume_on_slope
Y Y Y Y 13 16 16 16 16 13 16 16 16 16 16 16 16 13 16 16 16 pass  solid-body.cs-32x32x1

1 C $Header: /u/u3/gcmpack/MITgcm/model/src/packages_init_variables.F,v 1.22.2.1 2003/10/02 18:10:45 edhill Exp $
2 C $Name: $
3
4 #include "PACKAGES_CONFIG.h"
5 #include "CPP_OPTIONS.h"
6
7 CBOP
8 C !ROUTINE: PACKAGES_INIT_VARIABLES
9 C !INTERFACE:
10 SUBROUTINE PACKAGES_INIT_VARIABLES( myThid )
11
12 C !DESCRIPTION: \bv
13 C *==========================================================*
14 C | SUBROUTINE PACKAGES_INIT_VARIABLES
15 C | o Does initialisation of package-related variable data
16 C *==========================================================*
17 C \ev
18
19 C !CALLING SEQUENCE:
20 C PACKAGES_INIT_VARIABLES
21 C |
22 C |-- GMREDI_INIT
23 C |
24 C |-- KPP_INIT
25 C |-- KPP_OPEN_DIAGS
26 C |
27 C |-- SEAICE_INIT
28 C |
29 C |-- OBCS_INIT_VARIABLES
30 C |
31 C |-- PTRACERS_INIT
32 C |
33 C |-- LAND_INI_VARS
34 C |
35 C |-- CTRL_MAP_INI
36 C |
37 C |-- EXF_INIT
38 C |
39 C |-- INI_FORCING
40 C |
41 C |-- ECCO_INIT
42 C |
43 C |-- COST_INIT
44 C |
45 C |-- BULKF_INIT
46 C |
47 C |-- ICE_INIT
48
49 C !USES:
50 IMPLICIT NONE
51 C === Global variables ===
52 #include "SIZE.h"
53 #include "EEPARAMS.h"
54 #include "PARAMS.h"
55
56 C !INPUT/OUTPUT PARAMETERS:
57 C === Routine arguments ===
58 C myThid - Number of this instances
59 INTEGER myThid
60 CEOP
61
62 #ifdef ALLOW_GMREDI
63 C-- Initialize GM/Redi parameterization
64 IF (useGMRedi) CALL GMREDI_INIT( myThid )
65 #endif
66
67 #ifdef ALLOW_KPP
68 C-- Initialize KPP vertical mixing scheme.
69 IF (useKPP) THEN
70 CALL KPP_INIT( myThid )
71 CALL KPP_OPEN_DIAGS( myThid )
72 ENDIF
73 #endif
74
75 #ifdef ALLOW_SEAICE
76 C-- Initialize SEAICE model.
77 IF (useSEAICE) CALL SEAICE_INIT( myThid )
78 #endif
79
80 cph-- moved further down
81 cph#ifdef ALLOW_OBCS
82 cphC-- Open boundaries data
83 cph IF (useOBCS) THEN
84 cph CALL OBCS_INIT_VARIABLES( myThid )
85 cph ENDIF
86 cph#endif
87
88 #ifdef ALLOW_PTRACERS
89 # ifndef ALLOW_AUTODIFF_TAMC
90 IF ( usePTRACERS ) THEN
91 # endif
92 CALL PTRACERS_INIT( mythid )
93 #ifdef ALLOW_GCHEM
94 CALL GCHEM_INIT_VARI( mythid )
95 #endif
96 # ifndef ALLOW_AUTODIFF_TAMC
97 ENDIF
98 # endif
99 #endif
100
101 #ifdef ALLOW_LAND
102 IF ( useLAND ) CALL LAND_INI_VARS( mythid )
103 #endif
104
105 #if (defined (ALLOW_ADJOINT_RUN) || \
106 defined (ALLOW_TANGENTLINEAR_RUN) || \
107 defined (ALLOW_ECCO_OPTIMIZATION))
108 c-- Initialise auxiliary xx_ fields
109 CALL CTRL_INIT_VARIABLES ( mythid )
110 c-- Map the control variables onto the model state.
111 CALL CTRL_MAP_INI( mythid )
112 _BARRIER
113 #endif
114
115 #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE
116 CALL EXF_INIT( mythid )
117 #else
118 CALL INI_FORCING( mythid )
119 #endif
120
121 #ifdef ALLOW_COST
122 c-- Initialise the cost function.
123 ceh3 needs an IF ( useCOST ) THEN
124 CALL COST_INITVARIA( mythid )
125 _BARRIER
126 #endif
127
128 #ifdef ALLOW_OBCS
129 C-- Open boundaries data
130 IF (useOBCS) CALL OBCS_INIT_VARIABLES( myThid )
131 #endif
132
133 cswdblk -- begin add ---
134 #ifdef ALLOW_BULK_FORCE
135 IF (useBulkForce) call BULKF_INIT( mythid)
136 #endif
137 cswdblk ---end add ---
138
139 cswdice ---begin add ---
140 #ifdef ALLOW_THERM_SEAICE
141 IF (useThermSeaIce) call ICE_INIT( mythid)
142 #endif
143 cswdice ---end add ---
144
145
146 RETURN
147 END

  ViewVC Help
Powered by ViewVC 1.1.22