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

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

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


Revision 1.6 - (show annotations) (download)
Fri Jul 13 14:26:57 2001 UTC (22 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre3, checkpoint40pre7, checkpoint40pre6, checkpoint40pre9, checkpoint40pre8, checkpoint40pre2, checkpoint40pre4, checkpoint40pre5, checkpoint40
Changes since 1.5: +14 -4 lines
o Added grdchk package handling
o Added passive tracer handling

1 C $Header: /u/gcmpack/models/MITgcmUV/model/src/packages_readparms.F,v 1.5 2001/05/29 14:01:37 adcroft Exp $
2 C $Name: checkpoint40pre1 $
3
4 #include "CPP_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE PACKAGES_READPARMS(myThid)
8 C /==========================================================\
9 C | SUBROUTINE PACKAGES_READPARMS |
10 C | o Read runtime package configuration parameters |
11 C |==========================================================|
12 C | Packages can have internal runtime configuration |
13 C | parameters. A package provides a routine |
14 C | ${PKGNAME}_READ_PARMS to read these parameters. In |
15 C | general this routine should read parameters from a file|
16 C | called data.${pkgname}. |
17 C | This routine (S/R PACKAGES_READPARMS) calls per-package|
18 C | parameter reading routines. |
19 C \==========================================================/
20 IMPLICIT NONE
21
22 C == Global variables ==
23 #include "SIZE.h"
24 #include "EEPARAMS.h"
25 #include "PARAMS.h"
26
27 C == Routine arguments ==
28 INTEGER myThid
29 CEndOfInterface
30
31 C == Local variables ==
32
33 #ifdef ALLOW_GMREDI
34 C-- Initialize GM/Redi parameters
35 IF (useGMRedi) CALL GMREDI_READPARMS( myThid )
36 #endif
37
38 #ifdef ALLOW_KPP
39 C-- Initialize KPP parameters
40 IF (useKPP) CALL KPP_READPARMS( myThid )
41 #endif
42
43 #ifdef ALLOW_SHAP_FILT
44 IF (useSHAP_FILT) CALL SHAP_FILT_READPARMS( myThid )
45 #endif
46
47 #ifdef ALLOW_OBCS
48 IF (useOBCS) CALL OBCS_READPARMS( myThid )
49 #endif
50
51 #ifdef ALLOW_AIM
52 c-- Read in AIM package parameters
53 C Currently AIM does not have any runtime parameters
54 C IF (useAIM) CALL AIM_READPARMS ( myThid )
55 #endif
56
57 #ifdef ALLOW_ADJOINT_RUN
58
59 C-- Initialise the cost function.
60 call cost_readparms( mythid )
61 _BARRIER
62
63 C-- Initialise the control vector.
64 CALL ctrl_init( myThid )
65 _BARRIER
66 C-- Initialise the optim. parameters.
67 call optim_readparms( myThid )
68 _BARRIER
69
70 #ifdef ALLOW_GRADIENT_CHECK
71 C-- Initialise gradient check parameters
72 if (useGrdchk) call grdchk_readparms( myThid )
73 #endif
74
75 #endif /* ALLOW_ADJOINT_RUN */
76
77 #ifdef INCLUDE_ECCO_PACKAGE
78 c-- Initialize ECCO package parameters
79 IF (useECCO) CALL ECCO_READPARMS ( myThid )
80 #endif
81
82 END

  ViewVC Help
Powered by ViewVC 1.1.22