/[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.10 by heimbach, Thu Jan 17 16:55:25 2002 UTC revision 1.14 by heimbach, Tue Nov 12 20:45:41 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       |-- OBCS_INIT_VARIABLES  C       |-- SEAICE_INIT
25  C       |  C       |
26  C       |-- AIM_INIT  C       |-- OBCS_INIT_VARIABLES
27  C       |  C       |
28  C       |-- CTRL_MAP_INI  C       |-- CTRL_MAP_INI
29  C       |  C       |
# Line 61  C--   Initialize KPP vertical mixing sch Line 59  C--   Initialize KPP vertical mixing sch
59        ENDIF        ENDIF
60  #endif  #endif
61    
62    #ifdef ALLOW_SEAICE
63    C--   Initialize SEAICE model.
64          IF (useSEAICE) CALL SEAICE_INIT( myThid )
65    #endif
66    
67  #ifdef ALLOW_OBCS  #ifdef ALLOW_OBCS
68  C--   Open boundaries data  C--   Open boundaries data
69        IF (useOBCS) THEN        IF (useOBCS) THEN
# Line 68  C--   Open boundaries data Line 71  C--   Open boundaries data
71        ENDIF        ENDIF
72  #endif  #endif
73    
74  #ifdef ALLOW_AIM  #ifdef ALLOW_PTRACERS
75        IF ( useAIM ) CALL AIM_INIT( mythid )        IF ( usePTRACERS ) CALL PTRACERS_INIT( mythid )
76  #endif  #endif
77    
78  #if (defined (ALLOW_ADJOINT_RUN) || defined (ALLOW_TANGENTLINEAR_RUN))  #if (defined (ALLOW_ADJOINT_RUN) || defined (ALLOW_TANGENTLINEAR_RUN))
79  c--   Map the control variables onto the model state.  c--   Map the control variables onto the model state.
80        call ctrl_map_ini( mythid )        call ctrl_map_ini( mythid )
81        _BARRIER        _BARRIER
 c--   Initialise the cost function.  
       call cost_init( mythid )  
       _BARRIER  
82  #endif  #endif
83    
84  #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE  #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE
# Line 91  c--   Initialise the cost function. Line 91  c--   Initialise the cost function.
91        IF (useECCO) THEN        IF (useECCO) THEN
92         CALL ECCO_INIT( myThid )         CALL ECCO_INIT( myThid )
93        ENDIF        ENDIF
94    #else
95    # ifdef ALLOW_COST
96    c--   Initialise the cost function.
97          call cost_init( mythid )
98          _BARRIER
99    # endif
100  #endif  #endif
101    
102        RETURN        RETURN

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.22