/[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.18 - (show annotations) (download)
Thu Feb 12 16:01:32 2004 UTC (20 years, 3 months ago) by molod
Branch: MAIN
CVS Tags: hrcube4, checkpoint52j_pre, checkpoint52k_post, checkpoint52j_post
Changes since 1.17: +8 -1 lines
Model infrastructure changes for diagnostics package

1 C $Header: /u/u3/gcmpack/MITgcm/model/src/packages_init_fixed.F,v 1.17 2004/01/29 14:45:47 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 |-- LAND_INITIALISE
33
34 C !USES:
35 IMPLICIT NONE
36 C === Global variables ===
37 #include "SIZE.h"
38 #include "EEPARAMS.h"
39 #include "PARAMS.h"
40
41 C !INPUT/OUTPUT PARAMETERS:
42 C === Routine arguments ===
43 C myThid - Number of this instances
44 INTEGER myThid
45 CEOP
46
47 C-- Initialize fixed params for GAD
48 CALL GAD_INIT( myThid )
49
50 C-- Initialize fixed arrays for OBCS
51 #ifdef ALLOW_OBCS
52 IF (useOBCS) THEN
53 CALL OBCS_INIT_FIXED( myThid )
54 ENDIF
55 #endif
56 #ifdef ALLOW_FLT
57 C-- Initialise Float positions
58 IF (useFLT) THEN
59 CALL FLT_INIT(nIter0,startTime,myThid )
60 _BARRIER
61 ENDIF
62 #endif
63 #ifdef ALLOW_ZONAL_FILT
64 C-- Latitude circle filter initialisation
65 IF (useZONAL_FILT) THEN
66 CALL ZONAL_FILT_INIT(myThid)
67 _BARRIER
68 ENDIF
69 #endif
70
71 #ifdef ALLOW_AIM
72 C-- Initialise & Read AIM physical parameters
73 IF (useAIM) CALL AIM_INITIALISE( myThid )
74 #endif
75
76 C AMM
77 #ifdef ALLOW_GRIDALT
78 C-- Initialise GRIDALT parameters - the alternative grid
79 IF (useGRIDALT) CALL GRIDALT_INITIALISE( myThid )
80 #endif
81
82 #ifdef ALLOW_FIZHI
83 C-- Initialise & Read FIZHI physical parameters
84 IF (useFIZHI) CALL FIZHI_INIT_FIXED( myThid )
85 #endif
86 C AMM
87
88 #ifdef ALLOW_LAND
89 C-- Initialise & Read Land package parameters
90 IF (useLand) CALL LAND_INITIALISE( myThid )
91 #endif
92
93 #if (defined (ALLOW_ECCO) && defined (ALLOW_COST))
94 C-- Initialise ecco-specific cost function.
95 C-- This needs to preceed the call ctrl_init
96 C-- in order to provide the weight files
97 IF (useECCO) CALL ECCO_COST_INIT_FIXED( myThid )
98 #endif
99
100 #ifdef ALLOW_AUTODIFF
101 C-- Initialise the control variables
102 CALL CTRL_INIT( myThid )
103 _BARRIER
104 #endif
105
106 #ifdef ALLOW_PTRACERS
107 #ifdef ALLOW_GCHEM
108 IF (usePTRACERS) then
109 call GCHEM_INIT_FIXED(mythid)
110 ENDIF
111 #endif
112 #endif
113
114 CAMM
115 #ifdef ALLOW_DIAGNOSTICS
116 IF (usediagnostics) then
117 call diagnostics_init(mythid)
118 ENDIF
119 #endif
120 CAMM
121
122 RETURN
123 END

  ViewVC Help
Powered by ViewVC 1.1.22