/[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.11 by adcroft, Mon Mar 4 17:26:41 2002 UTC revision 1.18 by dimitri, Sat Dec 28 10:11:10 2002 UTC
# Line 1  Line 1 
 C $Header$  
 C $Name$  
1    
2  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
3    
# Line 23  C       | Line 21  C       |
21  C       |-- KPP_INIT  C       |-- KPP_INIT
22  C       |-- KPP_OPEN_DIAGS  C       |-- KPP_OPEN_DIAGS
23  C       |  C       |
24    C       |-- SEAICE_INIT
25    C       |
26  C       |-- OBCS_INIT_VARIABLES  C       |-- OBCS_INIT_VARIABLES
27  C       |  C       |
28  C       |-- AIM_INIT  C       |-- PTRACERS_INIT
29  C       |  C       |
30  C       |-- CTRL_MAP_INI  C       |-- CTRL_MAP_INI
31  C       |  C       |
32  C       |-- COST_INIT  C       |-- EXF_INIT
33    C       |
34    C       |-- INI_FORCING
35  C       |  C       |
36  C       |-- ECCO_INIT  C       |-- ECCO_INIT
37  C       |  C       |
38  C       |-- INI_FORCING  C       |-- COST_INIT
39    C       |
40    C       |-- BULKF_INIT
41    C       |
42    C       |-- ICE_INIT
43    
44  C     !USES:  C     !USES:
45        IMPLICIT NONE        IMPLICIT NONE
# Line 61  C--   Initialize KPP vertical mixing sch Line 67  C--   Initialize KPP vertical mixing sch
67        ENDIF        ENDIF
68  #endif  #endif
69    
70    #ifdef ALLOW_SEAICE
71    C--   Initialize SEAICE model.
72          IF (useSEAICE) CALL SEAICE_INIT( myThid )
73    #endif
74    
75  #ifdef ALLOW_OBCS  #ifdef ALLOW_OBCS
76  C--   Open boundaries data  C--   Open boundaries data
77        IF (useOBCS) THEN        IF (useOBCS) THEN
# Line 68  C--   Open boundaries data Line 79  C--   Open boundaries data
79        ENDIF        ENDIF
80  #endif  #endif
81    
 #ifdef ALLOW_AIM  
       IF ( useAIM ) CALL AIM_INIT( mythid )  
 #endif  
   
82  #ifdef ALLOW_PTRACERS  #ifdef ALLOW_PTRACERS
83        IF ( usePTRACERS ) CALL PTRACERS_INIT( mythid )        IF ( usePTRACERS ) CALL PTRACERS_INIT( mythid )
84  #endif  #endif
# Line 80  C--   Open boundaries data Line 87  C--   Open boundaries data
87  c--   Map the control variables onto the model state.  c--   Map the control variables onto the model state.
88        call ctrl_map_ini( mythid )        call ctrl_map_ini( mythid )
89        _BARRIER        _BARRIER
 c--   Initialise the cost function.  
       call cost_init( mythid )  
       _BARRIER  
90  #endif  #endif
91    
92  #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE  #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE
# Line 95  c--   Initialise the cost function. Line 99  c--   Initialise the cost function.
99        IF (useECCO) THEN        IF (useECCO) THEN
100         CALL ECCO_INIT( myThid )         CALL ECCO_INIT( myThid )
101        ENDIF        ENDIF
102    #else
103    # ifdef ALLOW_COST
104    c--   Initialise the cost function.
105          call cost_init( mythid )
106          _BARRIER
107    # endif
108  #endif  #endif
109    
110    cswdblk -- begin add ---
111    #ifdef ALLOW_BULK_FORCE
112          IF (useBulkForce) call BULKF_INIT( mythid)
113    #endif
114    cswdblk ---end add ---
115    
116    cswdice ---begin add ---
117    #ifdef ALLOW_THERM_SEAICE
118          IF (useThermSeaIce) call ICE_INIT( mythid)
119    #endif
120    cswdice ---end add ---
121    
122    
123        RETURN        RETURN
124        END        END

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.22