/[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.23 - (show annotations) (download)
Sat Mar 20 23:51:23 2004 UTC (20 years, 2 months ago) by edhill
Branch: MAIN
Changes since 1.22: +1 -10 lines
 o move MNC init routines to initialise_fixed.F
 o flags in data.mnc for output of the pre-defined "grid types"

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

  ViewVC Help
Powered by ViewVC 1.1.22