/[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.7.2.1 - (hide annotations) (download)
Tue Feb 26 16:04:47 2002 UTC (22 years, 4 months ago) by adcroft
Branch: release1
Changes since 1.7: +7 -1 lines
Merging changes on MAIN between checkpoint43 and checkpoint43a-release1mods
Command: cvs -q update -jcheckpoint43 -jcheckpoint43a-release1mods -d -P

These changes are most of the changes between c43 and c44 except those
that occured after "12:45 11 Jan 2002". As far as I can tell it is
checkpoint43 with the following mods:

  o fix bug in mom_vi_del2uv
  o select when filters are applied ; add options to zonal_filter (data.zonfilt)  o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
  o update AIM experiments (NCEP input files)
  o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
  o added some stuff for AD
  o Jamar wet-points

This update does not contain the following mods that are in checkpoint44

  o bug fix in pkg/generic_advdiff/
    - thread related bug, bi,bj arguments in vertical advection routines
  o some changes to pkg/autodiff, pkg/cost, pkg/exf, pkg/ecco,
    verification/carbon and model/src/ related to adjoint
  o some new Matlab scripts for diagnosing model density
    - utils/matlab/dens_poly3.m and ini_poly3.m

The list of exclusions is accurate based on a "cvs diff". The list of
inclusions is based on the record in doc/tag-index which may not be complete.

1 adcroft 1.7.2.1 C $Header: /u/gcmpack/MITgcm/model/src/packages_readparms.F,v 1.8 2001/12/11 14:57:34 jmc Exp $
2 cnh 1.7 C $Name: $
3 adcroft 1.2
4 heimbach 1.1 #include "CPP_OPTIONS.h"
5    
6     CStartOfInterface
7 cnh 1.7 CBOP
8     C !ROUTINE: PACKAGES_READPARMS
9     C !INTERFACE:
10 heimbach 1.1 SUBROUTINE PACKAGES_READPARMS(myThid)
11 cnh 1.7
12     C !DESCRIPTION: \bv
13     C *==========================================================*
14     C | SUBROUTINE PACKAGES_READPARMS
15     C | o Read runtime package configuration parameters
16     C *==========================================================*
17     C | Packages can have internal runtime configuration
18     C | parameters. A package provides a routine
19     C | ${PKGNAME}_READ_PARMS to read these parameters. In
20     C | general this routine should read parameters from a file
21     C | called data.${pkgname}.
22     C | This routine (S/R PACKAGES_READPARMS) calls per-package
23     C | parameter reading routines.
24     C *==========================================================*
25     C \ev
26    
27     C !CALLING SEQUENCE:
28     C PACKAGES_READPARMS
29     C |
30     C |-- GMREDI_READPARMS
31     C |
32     C |-- KPP_READPARMS
33     C |
34     C |-- SHAP_FILT_READPARMS
35     C |
36 adcroft 1.7.2.1 C |-- ZONAL_FILT_READPARMS
37     C |
38 cnh 1.7 C |-- OBCS_READPARMS
39     C |
40     C |-- AIM_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 adcroft 1.5 #endif
73    
74     #ifdef ALLOW_SHAP_FILT
75     IF (useSHAP_FILT) CALL SHAP_FILT_READPARMS( myThid )
76 adcroft 1.7.2.1 #endif
77    
78     #ifdef ALLOW_ZONAL_FILT
79     IF (useZONAL_FILT) CALL ZONAL_FILT_READPARMS( myThid )
80 adcroft 1.2 #endif
81    
82     #ifdef ALLOW_OBCS
83     IF (useOBCS) CALL OBCS_READPARMS( myThid )
84 jmc 1.3 #endif
85    
86     #ifdef ALLOW_AIM
87     c-- Read in AIM package parameters
88     C Currently AIM does not have any runtime parameters
89     C IF (useAIM) CALL AIM_READPARMS ( myThid )
90 heimbach 1.4 #endif
91    
92 heimbach 1.6 #ifdef ALLOW_ADJOINT_RUN
93    
94 heimbach 1.4 C-- Initialise the cost function.
95     call cost_readparms( mythid )
96     _BARRIER
97    
98     C-- Initialise the control vector.
99 heimbach 1.6 CALL ctrl_init( myThid )
100     _BARRIER
101     C-- Initialise the optim. parameters.
102     call optim_readparms( myThid )
103 heimbach 1.4 _BARRIER
104 heimbach 1.6
105     #ifdef ALLOW_GRADIENT_CHECK
106     C-- Initialise gradient check parameters
107     if (useGrdchk) call grdchk_readparms( myThid )
108 heimbach 1.1 #endif
109 heimbach 1.6
110     #endif /* ALLOW_ADJOINT_RUN */
111 heimbach 1.1
112     #ifdef INCLUDE_ECCO_PACKAGE
113     c-- Initialize ECCO package parameters
114     IF (useECCO) CALL ECCO_READPARMS ( myThid )
115     #endif
116    
117     END

  ViewVC Help
Powered by ViewVC 1.1.22