File indexing completed on 2018-03-02 18:36:55 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
6d54cf9ca1 Ed H*0001 #include "PACKAGES_CONFIG.h"
1dbaea09ee Chri*0002 #include "CPP_OPTIONS.h"
924557e60a Chri*0003
9366854e02 Chri*0004
0005
0006
27bebc4ab1 Jean*0007 SUBROUTINE INITIALISE_FIXED( myThid )
924557e60a Chri*0008
9366854e02 Chri*0009
0010
d87b427b2d Jean*0011
0012
0013
9366854e02 Chri*0014
d87b427b2d Jean*0015
0016
0017
0018
0019
0020
9366854e02 Chri*0021
0022
0023
0024
0025
0026
ef55996ae3 Jean*0027
0028
cdf6d093b9 Ed H*0029
0030
347bbce579 Jean*0031
0032
cdf6d093b9 Ed H*0033
c74c95df5c Jean*0034
c83e0242d5 Ed H*0035
809bdccbfc Jean*0036
0037
2e4e265a2e Jean*0038
c74c95df5c Jean*0039
0040
9366854e02 Chri*0041
0042
0043
d87b427b2d Jean*0044
0045
ef55996ae3 Jean*0046
0047
d87b427b2d Jean*0048
0049
0050
769c28d1ef Jean*0051
0052
0053
9366854e02 Chri*0054
0055
0056
c74c95df5c Jean*0057
9366854e02 Chri*0058
aa03c27196 Jean*0059
0060
07c6b5d518 Jean*0061
81137b71a1 Jean*0062
0063
9366854e02 Chri*0064
0065
0066
0067
0068
0069
c2c21ed3a3 Alis*0070
27bebc4ab1 Jean*0071
07c6b5d518 Jean*0072
27bebc4ab1 Jean*0073
0074
0075
c2c21ed3a3 Alis*0076
ef55996ae3 Jean*0077
0078
9366854e02 Chri*0079
0080
0081 IMPLICIT NONE
924557e60a Chri*0082
0083 #include "SIZE.h"
0084 #include "EEPARAMS.h"
0085 #include "PARAMS.h"
0086
9366854e02 Chri*0087
924557e60a Chri*0088
0089 INTEGER myThid
9366854e02 Chri*0090
e5c33d9529 Alis*0091
b75fe8c753 Jean*0092 #ifdef ALLOW_DEBUG
0093 IF (debugMode) CALL DEBUG_ENTER('INITIALISE_FIXED',myThid)
0094 #endif
0095
36d9303bf2 Jean*0096
0097
0098
0099
0100
0101
0102
0103 CALL BAR_CHECK( 2, myThid )
0104
924557e60a Chri*0105
0106
0107
bb98134c53 Jean*0108 #ifdef ALLOW_DEBUG
0109 IF (debugMode) CALL DEBUG_CALL('INI_PARMS',myThid)
0110 #endif
0584c16502 Alis*0111 CALL INI_PARMS( myThid )
924557e60a Chri*0112
cdf6d093b9 Ed H*0113
bb98134c53 Jean*0114 #ifdef ALLOW_DEBUG
0115 IF (debugMode) CALL DEBUG_CALL('PACKAGES_BOOT',myThid)
0116 #endif
cdf6d093b9 Ed H*0117 CALL PACKAGES_BOOT( myThid )
0118
347bbce579 Jean*0119 #ifdef COMPONENT_MODULE
0120
0121 IF ( useCoupler ) THEN
0122 # ifdef ALLOW_DEBUG
0123 IF (debugMode) CALL DEBUG_CALL('CPL_IMPORT_CPLPARMS',myThid)
0124 # endif
0125 CALL CPL_IMPORT_CPLPARMS( myThid )
0126 ENDIF
0127 #endif /* COMPONENT_MODULE */
0128
cdf6d093b9 Ed H*0129
bb98134c53 Jean*0130 #ifdef ALLOW_DEBUG
0131 IF (debugMode) CALL DEBUG_CALL('PACKAGES_READPARMS',myThid)
0132 #endif
cdf6d093b9 Ed H*0133 CALL PACKAGES_READPARMS( myThid )
1d48290185 Ed H*0134
809bdccbfc Jean*0135
0136
bb98134c53 Jean*0137 #ifdef ALLOW_DEBUG
0138 IF (debugMode) CALL DEBUG_CALL('SET_PARMS',myThid)
0139 #endif
809bdccbfc Jean*0140 CALL SET_PARMS( myThid )
0141
c74c95df5c Jean*0142
bb98134c53 Jean*0143 #ifdef ALLOW_DEBUG
0144 IF (debugMode) CALL DEBUG_CALL('INI_MODEL_IO',myThid)
0145 #endif
2e4e265a2e Jean*0146 CALL INI_MODEL_IO( myThid )
0147
a74b31ee34 Alis*0148
0149
bb98134c53 Jean*0150 #ifdef ALLOW_DEBUG
0151 IF (debugMode) CALL DEBUG_CALL('INI_GRID',myThid)
0152 #endif
931afb889c Jean*0153 #ifdef ALLOW_OPENAD
60e3924f90 Patr*0154 CALL OpenAD_INI_GRID( myThid )
0155 #else
a74b31ee34 Alis*0156 CALL INI_GRID( myThid )
60e3924f90 Patr*0157 #endif
a74b31ee34 Alis*0158
d87b427b2d Jean*0159
bb98134c53 Jean*0160 #ifdef ALLOW_DEBUG
0161 IF (debugMode) CALL DEBUG_CALL('LOAD_REF_FILES',myThid)
0162 #endif
d87b427b2d Jean*0163 CALL LOAD_REF_FILES( myThid )
0164
a37a13034c Mart*0165
bb98134c53 Jean*0166 #ifdef ALLOW_DEBUG
0167 IF (debugMode) CALL DEBUG_CALL('INI_EOS',myThid)
0168 #endif
a37a13034c Mart*0169 CALL INI_EOS( myThid )
0170
d87b427b2d Jean*0171
bb98134c53 Jean*0172 #ifdef ALLOW_DEBUG
0173 IF (debugMode) CALL DEBUG_CALL('SET_REF_STATE',myThid)
0174 #endif
d87b427b2d Jean*0175 CALL SET_REF_STATE( myThid )
0176
0177
bb98134c53 Jean*0178 #ifdef ALLOW_DEBUG
0179 IF (debugMode) CALL DEBUG_CALL('SET_GRID_FACTORS',myThid)
0180 #endif
d87b427b2d Jean*0181 CALL SET_GRID_FACTORS( myThid )
769c28d1ef Jean*0182
924557e60a Chri*0183
bb98134c53 Jean*0184 #ifdef ALLOW_DEBUG
0185 IF (debugMode) CALL DEBUG_CALL('INI_DEPTHS',myThid)
0186 #endif
931afb889c Jean*0187 #ifdef ALLOW_OPENAD
60e3924f90 Patr*0188 CALL OpenAD_INI_DEPTHS( myThid )
0189 #else
924557e60a Chri*0190 CALL INI_DEPTHS( myThid )
60e3924f90 Patr*0191 #endif
924557e60a Chri*0192
a74b31ee34 Alis*0193
924557e60a Chri*0194
bb98134c53 Jean*0195 #ifdef ALLOW_DEBUG
0196 IF (debugMode) CALL DEBUG_CALL('INI_MASKS_ETC',myThid)
0197 #endif
931afb889c Jean*0198 #ifdef ALLOW_OPENAD
60e3924f90 Patr*0199 CALL OpenAD_INI_MASKS_ETC( myThid )
0200 #else
a74b31ee34 Alis*0201 CALL INI_MASKS_ETC( myThid )
60e3924f90 Patr*0202 #endif
06bb0cec77 Jean*0203
0204
1dbaea09ee Chri*0205 _BARRIER
924557e60a Chri*0206
fb481a83c2 Alis*0207
bb98134c53 Jean*0208 #ifdef ALLOW_DEBUG
0209 IF (debugMode) CALL DEBUG_CALL('PACKAGES_INIT_FIXED',myThid)
0210 #endif
fb481a83c2 Alis*0211 CALL PACKAGES_INIT_FIXED( myThid )
0212
aa03c27196 Jean*0213
0214 #ifdef ALLOW_DEBUG
0215 IF (debugMode) CALL DEBUG_CALL('INI_GLOBAL_DOMAIN',myThid)
0216 #endif
0217 CALL INI_GLOBAL_DOMAIN( myThid )
0218
81137b71a1 Jean*0219
bb98134c53 Jean*0220 #ifdef ALLOW_DEBUG
0221 IF (debugMode) CALL DEBUG_CALL('INI_LINEAR_PHISURF',myThid)
0222 #endif
931afb889c Jean*0223 #ifdef ALLOW_OPENAD
60e3924f90 Patr*0224 CALL OpenAD_INI_LINEAR_PHISURF( myThid )
0225 #else
81137b71a1 Jean*0226 CALL INI_LINEAR_PHISURF( myThid )
60e3924f90 Patr*0227 #endif
81137b71a1 Jean*0228
0229
bb98134c53 Jean*0230 #ifdef ALLOW_DEBUG
0231 IF (debugMode) CALL DEBUG_CALL('INI_CORI',myThid)
0232 #endif
931afb889c Jean*0233 #ifdef ALLOW_OPENAD
60e3924f90 Patr*0234 CALL OpenAD_INI_CORI( myThid )
0235 #else
81137b71a1 Jean*0236 CALL INI_CORI( myThid )
60e3924f90 Patr*0237 #endif
81137b71a1 Jean*0238
88830be691 Alis*0239
bb98134c53 Jean*0240 #ifdef ALLOW_DEBUG
0241 IF (debugMode) CALL DEBUG_CALL('INI_CG2D',myThid)
0242 #endif
931afb889c Jean*0243 #ifdef ALLOW_OPENAD
60e3924f90 Patr*0244 CALL OpenAD_INI_CG2D( myThid )
0245 #else
924557e60a Chri*0246 CALL INI_CG2D( myThid )
60e3924f90 Patr*0247 #endif
924557e60a Chri*0248
88830be691 Alis*0249 #ifdef ALLOW_NONHYDROSTATIC
0250
bb98134c53 Jean*0251 #ifdef ALLOW_DEBUG
0252 IF (debugMode) CALL DEBUG_CALL('INI_CG3D',myThid)
0253 #endif
88830be691 Alis*0254 CALL INI_CG3D( myThid )
0255 #endif
0256
27bebc4ab1 Jean*0257
bb98134c53 Jean*0258 #ifdef ALLOW_DEBUG
0259 IF (debugMode) CALL DEBUG_CALL('CONFIG_SUMMARY',myThid)
0260 #endif
0b705bf73c Patr*0261 CALL CONFIG_SUMMARY( myThid )
0584c16502 Alis*0262
27bebc4ab1 Jean*0263
bb98134c53 Jean*0264 #ifdef ALLOW_DEBUG
0265 IF (debugMode) CALL DEBUG_CALL('PACKAGES_CHECK',myThid)
0266 #endif
27bebc4ab1 Jean*0267 CALL PACKAGES_CHECK( myThid )
0268
0269
bb98134c53 Jean*0270 #ifdef ALLOW_DEBUG
0271 IF (debugMode) CALL DEBUG_CALL('CONFIG_CHECK',myThid)
0272 #endif
27bebc4ab1 Jean*0273 CALL CONFIG_CHECK( myThid )
0274
f4a7634227 Alis*0275
bb98134c53 Jean*0276 IF ( debugLevel.GE.debLevA .OR. startTime.EQ.baseTime ) THEN
0277 #ifdef ALLOW_DEBUG
0278 IF (debugMode) CALL DEBUG_CALL('WRITE_GRID',myThid)
0279 #endif
0280 CALL WRITE_GRID( myThid )
0281 ENDIF
f4a7634227 Alis*0282
c1b6df074d Jean*0283 #ifdef COMPONENT_MODULE
0284
0285
bb98134c53 Jean*0286 IF ( useCoupler ) THEN
0287 # ifdef ALLOW_DEBUG
0288 IF (debugMode) CALL DEBUG_CALL('CPL_EXCH_CONFIGS',myThid)
0289 # endif
0290 CALL CPL_EXCH_CONFIGS( myThid )
0291 ENDIF
0292 #endif /* COMPONENT_MODULE */
c1b6df074d Jean*0293
36d9303bf2 Jean*0294
0295 CALL BAR_CHECK( 3, myThid )
0296
b75fe8c753 Jean*0297 #ifdef ALLOW_DEBUG
0298 IF (debugMode) CALL DEBUG_LEAVE('INITIALISE_FIXED',myThid)
0299 #endif
0300
353773d087 Ed H*0301
0302
81137b71a1 Jean*0303 RETURN
924557e60a Chri*0304 END