/[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.21 by heimbach, Mon Jun 23 22:32:02 2003 UTC revision 1.26 by heimbach, Mon Oct 27 22:32:55 2003 UTC
# Line 1  Line 1 
1    C $Header$
2    C $Name$
3    
4    #include "PACKAGES_CONFIG.h"
5  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
6    
7  CBOP  CBOP
# Line 83  cph      ENDIF Line 86  cph      ENDIF
86  cph#endif  cph#endif
87    
88  #ifdef ALLOW_PTRACERS  #ifdef ALLOW_PTRACERS
89        IF ( usePTRACERS ) CALL PTRACERS_INIT( mythid )  # ifndef ALLOW_AUTODIFF_TAMC
90          IF ( usePTRACERS ) THEN
91    # endif
92             CALL PTRACERS_INIT( mythid )
93    #ifdef ALLOW_GCHEM
94             CALL GCHEM_INIT_VARI( mythid )
95    #endif
96    # ifndef ALLOW_AUTODIFF_TAMC
97          ENDIF
98    # endif
99  #endif  #endif
100    
101  #ifdef ALLOW_LAND  #ifdef ALLOW_LAND
102        IF ( useLAND ) CALL LAND_INI_VARS( mythid )        IF ( useLAND ) CALL LAND_INI_VARS( mythid )
103  #endif  #endif
104    
105  #if (defined (ALLOW_ADJOINT_RUN) || \  #ifdef ALLOW_AUTODIFF
      defined (ALLOW_TANGENTLINEAR_RUN) || \  
      defined (ALLOW_ECCO_OPTIMIZATION))  
106  c--   Initialise auxiliary xx_ fields  c--   Initialise auxiliary xx_ fields
107        CALL CTRL_INIT_VARIABLES ( mythid )        CALL CTRL_INIT_VARIABLES ( mythid )
108  c--   Map the control variables onto the model state.  c--   Map the control variables onto the model state.
# Line 108  c--   Map the control variables onto the Line 118  c--   Map the control variables onto the
118    
119  #ifdef ALLOW_COST  #ifdef ALLOW_COST
120  c--   Initialise the cost function.  c--   Initialise the cost function.
121    ceh3 needs an IF ( useCOST ) THEN
122        CALL COST_INITVARIA( mythid )        CALL COST_INITVARIA( mythid )
123        _BARRIER        _BARRIER
124  #endif  #endif

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.22