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

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

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


Revision 1.8 - (hide annotations) (download)
Wed Sep 26 18:09:16 2001 UTC (22 years, 9 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint43a-release1mods, release1_b1, checkpoint43, release1-branch_tutorials, release1-branch-end, ecco-branch-mod1, release1_beta1, checkpoint42, checkpoint41, release1-branch_branchpoint
Branch point for: release1-branch, release1, ecco-branch, release1_coupled
Changes since 1.7: +36 -8 lines
Bringing comments up to data and formatting for document extraction.

1 cnh 1.8 C $Header: /u/gcmpack/models/MITgcmUV/model/src/packages_init_variables.F,v 1.7 2001/07/30 20:39:18 heimbach Exp $
2     C $Name: $
3 adcroft 1.2
4     #include "CPP_OPTIONS.h"
5    
6 cnh 1.8 CBOP
7     C !ROUTINE: PACKAGES_INIT_VARIABLES
8     C !INTERFACE:
9 adcroft 1.2 SUBROUTINE PACKAGES_INIT_VARIABLES( myThid )
10 cnh 1.8
11     C !DESCRIPTION: \bv
12     C *==========================================================*
13     C | SUBROUTINE PACKAGES_INIT_VARIABLES
14     C | o Does initialisation of package-related variable data
15     C *==========================================================*
16     C \ev
17    
18     C !CALLING SEQUENCE:
19     C PACKAGES_INIT_VARIABLES
20     C |
21     C |-- GMREDI_INIT
22     C |
23     C |-- KPP_INIT
24     C |-- KPP_OPEN_DIAGS
25     C |
26     C |-- OBCS_INIT_VARIABLES
27     C |
28     C |-- AIM_INIT
29     C |
30     C |-- CTRL_MAP_INI
31     C |
32     C |-- COST_INIT
33     C |
34     C |-- ECCO_INIT
35     C |
36     C |-- INI_FORCING
37    
38     C !USES:
39 adcroft 1.2 IMPLICIT NONE
40     C === Global variables ===
41     #include "SIZE.h"
42     #include "EEPARAMS.h"
43     #include "PARAMS.h"
44    
45 cnh 1.8 C !INPUT/OUTPUT PARAMETERS:
46 adcroft 1.2 C === Routine arguments ===
47     C myThid - Number of this instances
48     INTEGER myThid
49 cnh 1.8 CEOP
50 adcroft 1.2
51     #ifdef ALLOW_GMREDI
52     C-- Initialize GM/Redi parameterization
53     IF (useGMRedi) CALL GMREDI_INIT( myThid )
54     #endif
55    
56     #ifdef ALLOW_KPP
57     C-- Initialize KPP vertical mixing scheme.
58     IF (useKPP) THEN
59     CALL KPP_INIT( myThid )
60     CALL KPP_OPEN_DIAGS( myThid )
61     ENDIF
62     #endif
63    
64     #ifdef ALLOW_OBCS
65     C-- Open boundaries data
66     IF (useOBCS) THEN
67     CALL OBCS_INIT_VARIABLES( myThid )
68     ENDIF
69 jmc 1.4 #endif
70    
71     #ifdef ALLOW_AIM
72     IF ( useAIM ) CALL AIM_INIT( mythid )
73 adcroft 1.2 #endif
74    
75 heimbach 1.6 #ifdef ALLOW_ADJOINT_RUN
76 heimbach 1.5 c-- Map the control variables onto the model state.
77     call ctrl_map_ini( mythid )
78     _BARRIER
79     c-- Initialise the cost function.
80     call cost_init( mythid )
81     _BARRIER
82     #endif
83    
84 adcroft 1.2 #ifdef INCLUDE_ECCO_PACKAGE
85     IF (useECCO) THEN
86     CALL ECCO_INIT( myThid )
87     ENDIF
88     #else
89     CALL INI_FORCING( myThid )
90     #endif
91    
92     RETURN
93     END

  ViewVC Help
Powered by ViewVC 1.1.22