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

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

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

revision 1.14 by jmc, Sat Aug 3 17:40:35 2013 UTC revision 1.15 by jmc, Sat Aug 3 23:15:09 2013 UTC
# Line 59  C     == Global variables == Line 59  C     == Global variables ==
59  #include "PARAMS.h"  #include "PARAMS.h"
60    
61  c**************************************  c**************************************
62  #ifdef ALLOW_AUTODIFF  #if (defined ALLOW_AUTODIFF) && (defined ALLOW_AUTODIFF_OPENAD)
 # ifndef ALLOW_AUTODIFF_OPENAD  
63    
64  c These includes are needed for  C-- The folowing header files are included in the_main_loop.F for TAF
65  c AD-checkpointing.  C    and might be needed here (where the iloop is done) for OpenAD
66  c They provide the fields to be stored.  c#  include "AUTODIFF_MYFIELDS.h"
67    c#  include "GRID.h"
68  #  include "AUTODIFF_MYFIELDS.h"  c#  include "DYNVARS.h"
69  #  include "GRID.h"  c#  include "SURFACE.h"
70  #  include "DYNVARS.h"  c#  include "FFIELDS.h"
71  #  include "SURFACE.h"  c#  include "EOS.h"
72  #  include "FFIELDS.h"  c#  include "AUTODIFF.h"
73  #  include "EOS.h"  c#  ifdef ALLOW_GENERIC_ADVDIFF
74  #  include "AUTODIFF.h"  c#   include "GAD.h"
75    c#   include "GAD_SOM_VARS.h"
76  #  ifdef ALLOW_GENERIC_ADVDIFF  c#  endif
77  #   include "GAD.h"  c#  ifdef ALLOW_MOM_FLUXFORM
78  #   include "GAD_SOM_VARS.h"  c#   include "MOM_FLUXFORM.h"
79  #  endif  c#  endif
80  #  ifdef ALLOW_MOM_FLUXFORM  c#  ifdef ALLOW_CD_CODE
81  #   include "MOM_FLUXFORM.h"  c#   include "CD_CODE_VARS.h"
82  #  endif  c#  endif
83  #  ifdef ALLOW_CD_CODE  c#  ifdef ALLOW_EXF
84  #   include "CD_CODE_VARS.h"  c#   include "EXF_FIELDS.h"
85  #  endif  c#   ifdef ALLOW_BULKFORMULAE
86  #  ifdef ALLOW_EXF  c#    include "EXF_CONSTANTS.h"
87  #   include "EXF_FIELDS.h"  c#   endif
88  #   ifdef ALLOW_BULKFORMULAE  c#  endif /* ALLOW_EXF */
89  #    include "EXF_CONSTANTS.h"  c#  ifdef ALLOW_SEAICE
90  #   endif  c#   include "SEAICE_SIZE.h"
91  #  endif /* ALLOW_EXF */  c#   include "SEAICE.h"
92  #  ifdef ALLOW_SEAICE  c#   include "SEAICE_PARAMS.h"
93  #   include "SEAICE_SIZE.h"  c#   include "SEAICE_COST.h"
94  #   include "SEAICE.h"  c#   include "SEAICE_TRACER.h"
95  #   include "SEAICE_PARAMS.h"  c#  endif
96  #   include "SEAICE_COST.h"  c#  ifdef ALLOW_SALT_PLUME
97  #   include "SEAICE_TRACER.h"  c#   include "SALT_PLUME.h"
98  #  endif  c#  endif
99  #  ifdef ALLOW_SALT_PLUME  c#  ifdef ALLOW_THSICE
100  #   include "SALT_PLUME.h"  c#   include "THSICE_SIZE.h"
101  #  endif  c#   include "THSICE_VARS.h"
102  #  ifdef ALLOW_THSICE  c#   include "THSICE_COST.h"
103  #   include "THSICE_SIZE.h"  c#  endif
104  #   include "THSICE_VARS.h"  c#  ifdef ALLOW_EBM
105  #   include "THSICE_COST.h"  c#   include "EBM.h"
106  #  endif  c#  endif
107  #  ifdef ALLOW_EBM  c#  ifdef ALLOW_RBCS
108  #   include "EBM.h"  c#   include "RBCS_SIZE.h"
109  #  endif  c#   include "RBCS_FIELDS.h"
110  #  ifdef ALLOW_RBCS  c#  endif
111  #   include "RBCS_SIZE.h"  c#  ifdef ALLOW_OFFLINE
112  #   include "RBCS_FIELDS.h"  c#   include "OFFLINE.h"
113  #  endif  c#  endif
114  #  ifdef ALLOW_OFFLINE  c#  ifdef ALLOW_CG2D_NSA
115  #   include "OFFLINE.h"  c#   include "CG2D.h"
116  #  endif  c#  endif
117  #  ifdef ALLOW_CG2D_NSA  c# ifdef ALLOW_GGL90
118  #   include "CG2D.h"  c#  include "GGL90.h"
119  #  endif  c# endif
120  #  ifdef ALLOW_DIVIDED_ADJOINT  c# ifdef ALLOW_PROFILES
121  #   ifdef ALLOW_USE_MPI  c#  include "profiles.h"
122  #    include "mpif.h"  c# endif
123  #   endif  c# ifdef ALLOW_ECCO_EVOLUTION
124  #  endif  c#  ifdef ALLOW_ECCO
125    c#   include "ecco_cost.h"
126  #  include "tamc.h"  c#  endif
127    c# endif
 # ifdef ALLOW_GGL90  
 #  include "GGL90.h"  
 # endif  
 # ifdef ALLOW_PROFILES  
 #  include "profiles.h"  
 # endif  
   
 # ifdef ALLOW_ECCO_EVOLUTION  
 #  ifdef ALLOW_ECCO  
 #   include "ecco_cost.h"  
 #  endif  
 # endif  
   
 # endif /* undef ALLOW_AUTODIFF_OPENAD */  
128    
129  # ifdef ALLOW_CTRL  # ifdef ALLOW_CTRL
130  # include "CTRL_SIZE.h"  #  include "CTRL_SIZE.h"
131  # include "ctrl.h"  #  include "ctrl.h"
132  # include "ctrl_dummy.h"  #  include "ctrl_dummy.h"
133  # include "CTRL_GENARR.h"  #  include "CTRL_GENARR.h"
134  # endif  # endif
135  # ifdef ALLOW_COST  # ifdef ALLOW_COST
136  #  include "cost.h"  #  include "cost.h"
137  # endif  # endif
138    
139  #  ifdef ALLOW_PTRACERS  # ifdef ALLOW_PTRACERS
140  #   include "PTRACERS_SIZE.h"  #  include "PTRACERS_SIZE.h"
141  #   include "PTRACERS_FIELDS.h"  #  include "PTRACERS_FIELDS.h"
142  #   include "PTRACERS_START.h"  #  include "PTRACERS_START.h"
143  #  endif  # endif
144  # ifdef ALLOW_GCHEM  # ifdef ALLOW_GCHEM
145  #  include "GCHEM_FIELDS.h"  #  include "GCHEM_FIELDS.h"
146  # endif  # endif
# Line 188  c They provide the fields to be stored. Line 173  c They provide the fields to be stored.
173  #  include "STREAMICE_CG.h"  #  include "STREAMICE_CG.h"
174  # endif  # endif
175    
176  #endif /* ALLOW_AUTODIFF */  #endif /* ALLOW_AUTODIFF and ALLOW_AUTODIFF_OPENAD */
177  c**************************************  c**************************************
178    
179  C     !INPUT/OUTPUT PARAMETERS:  C     !INPUT/OUTPUT PARAMETERS:

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

  ViewVC Help
Powered by ViewVC 1.1.22