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

Annotation of /MITgcm/model/src/packages_readparms.F

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


Revision 1.21 - (hide annotations) (download)
Fri Jun 27 01:51:10 2003 UTC (20 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint51f_post, checkpoint51d_post, checkpoint51j_post, checkpoint51h_pre, branchpoint-genmake2, checkpoint51b_post, checkpoint51c_post, checkpoint51i_pre, checkpoint51e_post, checkpoint51f_pre, checkpoint51g_post
Branch point for: branch-genmake2
Changes since 1.20: +4 -2 lines
o disentangled ALLOW_PTRACERS using new ALLOW_GCHEM

1 adcroft 1.2
2 heimbach 1.1 #include "CPP_OPTIONS.h"
3    
4     CStartOfInterface
5 cnh 1.7 CBOP
6     C !ROUTINE: PACKAGES_READPARMS
7     C !INTERFACE:
8 heimbach 1.1 SUBROUTINE PACKAGES_READPARMS(myThid)
9 cnh 1.7
10     C !DESCRIPTION: \bv
11     C *==========================================================*
12     C | SUBROUTINE PACKAGES_READPARMS
13     C | o Read runtime package configuration parameters
14     C *==========================================================*
15     C | Packages can have internal runtime configuration
16     C | parameters. A package provides a routine
17     C | ${PKGNAME}_READ_PARMS to read these parameters. In
18     C | general this routine should read parameters from a file
19     C | called data.${pkgname}.
20     C | This routine (S/R PACKAGES_READPARMS) calls per-package
21     C | parameter reading routines.
22     C *==========================================================*
23     C \ev
24    
25     C !CALLING SEQUENCE:
26     C PACKAGES_READPARMS
27     C |
28     C |-- GMREDI_READPARMS
29     C |
30     C |-- KPP_READPARMS
31     C |
32 dimitri 1.17 C |-- SBO_READPARMS
33     C |
34 heimbach 1.14 C |-- SEAICE_READPARMS
35     C |
36 cnh 1.7 C |-- SHAP_FILT_READPARMS
37     C |
38 jmc 1.8 C |-- ZONAL_FILT_READPARMS
39     C |
40 cnh 1.7 C |-- OBCS_READPARMS
41     C |
42     C |-- COST_READPARMS
43     C |
44     C |-- CTRL_INIT
45     C |
46     C |-- OPTIM_READPARMS
47     C |
48     C |-- GRDCHK_READPARMS
49     C |
50     C |-- ECCO_READPARMS
51    
52    
53     C !USES:
54 heimbach 1.1 IMPLICIT NONE
55     C == Global variables ==
56     #include "SIZE.h"
57     #include "EEPARAMS.h"
58     #include "PARAMS.h"
59    
60     C == Routine arguments ==
61     INTEGER myThid
62 cnh 1.7 CEOP
63 heimbach 1.1
64     #ifdef ALLOW_GMREDI
65     C-- Initialize GM/Redi parameters
66     IF (useGMRedi) CALL GMREDI_READPARMS( myThid )
67     #endif
68    
69     #ifdef ALLOW_KPP
70     C-- Initialize KPP parameters
71     IF (useKPP) CALL KPP_READPARMS( myThid )
72 dimitri 1.17 #endif
73    
74     #ifdef ALLOW_SBO
75     C-- Initialize SBO parameters
76     IF (useSBO) CALL SBO_READPARMS( myThid )
77 heimbach 1.14 #endif
78    
79     #ifdef ALLOW_SEAICE
80     C-- Initialize SEAICE parameters
81     IF (useSEAICE) CALL SEAICE_READPARMS( myThid )
82 adcroft 1.5 #endif
83    
84     #ifdef ALLOW_SHAP_FILT
85     IF (useSHAP_FILT) CALL SHAP_FILT_READPARMS( myThid )
86 jmc 1.8 #endif
87    
88     #ifdef ALLOW_ZONAL_FILT
89     IF (useZONAL_FILT) CALL ZONAL_FILT_READPARMS( myThid )
90 adcroft 1.2 #endif
91    
92     #ifdef ALLOW_OBCS
93     IF (useOBCS) CALL OBCS_READPARMS( myThid )
94 adcroft 1.10 #endif
95    
96 cheisey 1.15 cswdblk -- add ---
97 cheisey 1.16 #ifdef ALLOW_BULK_FORCE
98 cheisey 1.15 C -- initialize Bulkf parameters
99 cheisey 1.16 IF (useBulkForce) call BULKF_READPARMS( myThid )
100 cheisey 1.15 #endif
101     cswdblk --- end add ---
102    
103     cswdice -- add ---
104 cheisey 1.16 #ifdef ALLOW_THERM_SEAICE
105 cheisey 1.15 C -- initialize Sea Ice parameters
106 cheisey 1.16 IF (useThermSeaIce) call ICE_READPARMS( myThid )
107 cheisey 1.15 #endif
108     cswdice --- end add ---
109    
110 adcroft 1.10 #ifdef ALLOW_PTRACERS
111     IF (usePTRACERS) CALL PTRACERS_READPARMS( myThid )
112 heimbach 1.21 #endif
113    
114 stephd 1.20 cswdptr -- add --
115 heimbach 1.21 #ifdef ALLOW_GCHEM
116 stephd 1.20 IF (usePTRACERS) CALL GCHEM_READPARMS( myThid )
117 heimbach 1.21 #endif
118 stephd 1.20 cswdptr -- end add ---
119 heimbach 1.4
120 heimbach 1.19 #if (defined (ALLOW_ADJOINT_RUN) || \
121     defined (ALLOW_TANGENTLINEAR_RUN) || \
122     defined (ALLOW_ECCO_OPTIMIZATION))
123 heimbach 1.11 C-- Initialise the optim. parameters.
124     call optim_readparms( myThid )
125 heimbach 1.19 C-- Initialise the control parameters
126     call ctrl_readparms( myThid )
127     C-- Initialise the cost parameters
128     call cost_readparms( mythid )
129 heimbach 1.6 _BARRIER
130 heimbach 1.11 #endif
131 heimbach 1.6
132     #ifdef ALLOW_GRADIENT_CHECK
133     C-- Initialise gradient check parameters
134     if (useGrdchk) call grdchk_readparms( myThid )
135 heimbach 1.1 #endif
136 heimbach 1.6
137 jmc 1.12 #ifdef ALLOW_CALENDAR
138 heimbach 1.11 C-- Initialise the calendar package.
139     call cal_readparms( myThid )
140     #endif
141    
142     C-- Custom routine to set forcing fields.
143     #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE
144     call exf_readparms ( mythid )
145     #endif
146 heimbach 1.1
147     #ifdef INCLUDE_ECCO_PACKAGE
148     c-- Initialize ECCO package parameters
149 heimbach 1.19 IF (useECCO) call ecco_readparms ( myThid )
150 heimbach 1.1 #endif
151    
152     END

  ViewVC Help
Powered by ViewVC 1.1.22