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

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

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

revision 1.3 by cnh, Sun Feb 4 14:38:48 2001 UTC revision 1.12 by heimbach, Thu May 30 22:49:56 2002 UTC
# Line 1  Line 1 
 C $Header$  
 C $Name$  
1    
2  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
3    
4    CBOP
5    C     !ROUTINE: PACKAGES_INIT_VARIABLES
6    C     !INTERFACE:
7        SUBROUTINE PACKAGES_INIT_VARIABLES( myThid )        SUBROUTINE PACKAGES_INIT_VARIABLES( myThid )
 C     /==========================================================\  
 C     | SUBROUTINE PACKAGES_INIT_VARIABLES                       |  
 C     | o Does initialisation of package-related variable data   |  
 C     |==========================================================|  
 C     \==========================================================/  
       IMPLICIT NONE  
8    
9    C     !DESCRIPTION: \bv
10    C     *==========================================================*
11    C     | SUBROUTINE PACKAGES_INIT_VARIABLES                        
12    C     | o Does initialisation of package-related variable data    
13    C     *==========================================================*
14    C     \ev
15    
16    C     !CALLING SEQUENCE:
17    C     PACKAGES_INIT_VARIABLES
18    C       |
19    C       |-- GMREDI_INIT
20    C       |
21    C       |-- KPP_INIT
22    C       |-- KPP_OPEN_DIAGS
23    C       |
24    C       |-- OBCS_INIT_VARIABLES
25    C       |
26    C       |-- AIM_INIT
27    C       |
28    C       |-- CTRL_MAP_INI
29    C       |
30    C       |-- COST_INIT
31    C       |
32    C       |-- ECCO_INIT
33    C       |
34    C       |-- INI_FORCING
35    
36    C     !USES:
37          IMPLICIT NONE
38  C     === Global variables ===  C     === Global variables ===
39  #include "SIZE.h"  #include "SIZE.h"
40  #include "EEPARAMS.h"  #include "EEPARAMS.h"
41  #include "PARAMS.h"  #include "PARAMS.h"
42    
43    C     !INPUT/OUTPUT PARAMETERS:
44  C     === Routine arguments ===  C     === Routine arguments ===
45  C     myThid -  Number of this instances  C     myThid -  Number of this instances
46        INTEGER myThid        INTEGER myThid
47    CEOP
48    
49  #ifdef ALLOW_GMREDI  #ifdef ALLOW_GMREDI
50  C--   Initialize GM/Redi parameterization  C--   Initialize GM/Redi parameterization
# Line 40  C--   Open boundaries data Line 66  C--   Open boundaries data
66        ENDIF        ENDIF
67  #endif  #endif
68    
69    #ifdef ALLOW_AIM
70          IF ( useAIM ) CALL AIM_INIT( mythid )
71    #endif
72    
73    #ifdef ALLOW_PTRACERS
74          IF ( usePTRACERS ) CALL PTRACERS_INIT( mythid )
75    #endif
76    
77    #if (defined (ALLOW_ADJOINT_RUN) || defined (ALLOW_TANGENTLINEAR_RUN))
78    c--   Map the control variables onto the model state.
79          call ctrl_map_ini( mythid )
80          _BARRIER
81    #endif
82    
83    #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE
84          CALL EXF_INIT( mythid )
85    #else
86          CALL INI_FORCING( mythid )
87    #endif
88    
89  #ifdef INCLUDE_ECCO_PACKAGE  #ifdef INCLUDE_ECCO_PACKAGE
90        IF (useECCO) THEN        IF (useECCO) THEN
91         CALL ECCO_INIT( myThid )         CALL ECCO_INIT( myThid )
92        ENDIF        ENDIF
93  #else  #else
94        CALL INI_FORCING( myThid )  # ifdef ALLOW_COST
95    c--   Initialise the cost function.
96          call cost_init( mythid )
97          _BARRIER
98    # endif
99  #endif  #endif
100    
   
101        RETURN        RETURN
102        END        END

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22