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

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

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


Revision 1.25 - (show annotations) (download)
Wed Jul 7 22:23:12 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint54d_post, checkpoint54e_post, checkpoint54b_post, checkpoint54c_post
Changes since 1.24: +17 -3 lines
needs valid U,V in halo region for multi-Dim-Advec; do Exch(U,V) if staggerTimeStep

1 C $Header: /u/gcmpack/MITgcm/model/src/packages_init_fixed.F,v 1.24 2004/03/29 22:14:49 molod Exp $
2 C $Name: $
3
4 #include "PACKAGES_CONFIG.h"
5 #include "CPP_OPTIONS.h"
6
7 CBOP
8 C !ROUTINE: PACKAGES_INIT_FIXED
9 C !INTERFACE:
10 SUBROUTINE PACKAGES_INIT_FIXED( myThid )
11
12 C !DESCRIPTION: \bv
13 C *==========================================================*
14 C | SUBROUTINE PACKAGES_INIT_FIXED
15 C | o Does initialisation of package-related fixed fields
16 C *==========================================================*
17 C \ev
18
19 C !CALLING SEQUENCE:
20 C PACKAGES_INIT_FIXED
21 C |
22 C |-- GAD_INIT
23 C |
24 C |-- OBCS_INIT_FIXED
25 C |
26 C |-- FLT_INIT
27 C |
28 C |-- ZONAL_FILT_INIT
29 C |
30 C |-- AIM_INITIALISE
31 C |
32 C |-- GRIDALT_INITIALISE
33 C |
34 C |-- FIZHI_INIT_FIXED
35 C |
36 C |-- LAND_INITIALISE
37 C |
38 C |-- ECCO_COST_INIT_FIXED
39 C |
40 C |-- CTRL_INIT
41 C |
42 C |-- GCHEM_INIT_FIXED
43 C |
44 C |-- DIAGNOSTICS_INITIALISE
45
46 C !USES:
47 IMPLICIT NONE
48 C === Global variables ===
49 #include "SIZE.h"
50 #include "EEPARAMS.h"
51 #include "PARAMS.h"
52
53 C !INPUT/OUTPUT PARAMETERS:
54 C === Routine arguments ===
55 C myThid - Number of this instances
56 INTEGER myThid
57 CEOP
58
59 C-- Initialize fixed params for GAD
60 CALL GAD_INIT( myThid )
61
62 C-- Initialize fixed arrays for OBCS
63 #ifdef ALLOW_OBCS
64 IF (useOBCS) THEN
65 CALL OBCS_INIT_FIXED( myThid )
66 ENDIF
67 #endif
68 #ifdef ALLOW_FLT
69 C-- Initialise Float positions
70 IF (useFLT) THEN
71 CALL FLT_INIT(nIter0,startTime,myThid )
72 _BARRIER
73 ENDIF
74 #endif
75 #ifdef ALLOW_ZONAL_FILT
76 C-- Latitude circle filter initialisation
77 IF (useZONAL_FILT) THEN
78 CALL ZONAL_FILT_INIT(myThid)
79 _BARRIER
80 ENDIF
81 #endif
82
83 #ifdef ALLOW_AIM
84 C-- Initialise & Read AIM physical parameters
85 IF (useAIM) CALL AIM_INITIALISE( myThid )
86 #endif
87
88 C AMM
89 #ifdef ALLOW_GRIDALT
90 C-- Initialise GRIDALT parameters - the alternative grid
91 IF (useGRIDALT) then
92 CALL TIMER_START('GRIDALT_INITIALISE [PACKAGES_INIT_F]',mythid)
93 CALL GRIDALT_INITIALISE( myThid )
94 CALL TIMER_STOP ('GRIDALT_INITIALISE [PACKAGES_INIT_F]',mythid)
95 ENDIF
96
97 #endif
98
99 #ifdef ALLOW_FIZHI
100 C-- Initialise & Read FIZHI physical parameters
101 IF (useFIZHI) CALL FIZHI_INIT_FIXED( myThid )
102 #endif
103 C AMM
104
105 #ifdef ALLOW_LAND
106 C-- Initialise & Read Land package parameters
107 IF (useLand) CALL LAND_INITIALISE( myThid )
108 #endif
109
110 #if (defined (ALLOW_ECCO) && defined (ALLOW_COST))
111 C-- Initialise ecco-specific cost function.
112 C-- This needs to preceed the call ctrl_init
113 C-- in order to provide the weight files
114 IF (useECCO) CALL ECCO_COST_INIT_FIXED( myThid )
115 #endif
116
117 #ifdef ALLOW_AUTODIFF
118 C-- Initialise the control variables
119 CALL CTRL_INIT( myThid )
120 _BARRIER
121 #endif
122
123 #ifdef ALLOW_PTRACERS
124 IF (usePTRACERS) CALL PTRACERS_INITIALISE(mythid)
125 #endif
126
127 #ifdef ALLOW_PTRACERS
128 #ifdef ALLOW_GCHEM
129 IF (usePTRACERS) then
130 call GCHEM_INIT_FIXED(mythid)
131 ENDIF
132 #endif
133 #endif
134
135 CAMM
136 #ifdef ALLOW_DIAGNOSTICS
137 IF (usediagnostics) then
138 call diagnostics_initialise(mythid)
139 ENDIF
140 #endif
141 CAMM
142
143 RETURN
144 END

  ViewVC Help
Powered by ViewVC 1.1.22