3 |
|
|
4 |
#include "PACKAGES_CONFIG.h" |
#include "PACKAGES_CONFIG.h" |
5 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
6 |
|
#ifdef ALLOW_AUTODIFF |
7 |
|
# include "AUTODIFF_OPTIONS.h" |
8 |
|
#endif |
9 |
|
|
10 |
C-- File update_masks_etc.F: |
C-- File update_masks_etc.F: |
11 |
C-- Contents |
C-- Contents |
47 |
#include "GRID.h" |
#include "GRID.h" |
48 |
#include "SURFACE.h" |
#include "SURFACE.h" |
49 |
Cml we need optimcycle for storing the new hFaC(C/W/S) and depth |
Cml we need optimcycle for storing the new hFaC(C/W/S) and depth |
50 |
#ifdef ALLOW_AUTODIFF_TAMC |
#ifdef ALLOW_AUTODIFF |
51 |
# include "optim.h" |
# include "optim.h" |
52 |
#endif |
#endif |
53 |
|
|
242 |
ENDDO |
ENDDO |
243 |
ENDDO |
ENDDO |
244 |
ENDDO |
ENDDO |
245 |
#if ( defined (ALLOW_AUTODIFF_TAMC) && \ |
#if ( defined (ALLOW_AUTODIFF) && \ |
246 |
defined (ALLOW_AUTODIFF_MONITOR) && \ |
defined (ALLOW_AUTODIFF_MONITOR) && \ |
247 |
defined (ALLOW_DEPTH_CONTROL) ) |
defined (ALLOW_DEPTH_CONTROL) ) |
248 |
C Include call to a dummy routine. Its adjoint will be called at the proper |
C Include call to a dummy routine. Its adjoint will be called at the proper |
253 |
Cml CALL DUMMY_IN_HFAC( 'S', 0, myThid ) |
Cml CALL DUMMY_IN_HFAC( 'S', 0, myThid ) |
254 |
#endif |
#endif |
255 |
CALL EXCH_UV_XYZ_RS(hFacW,hFacS,.FALSE.,myThid) |
CALL EXCH_UV_XYZ_RS(hFacW,hFacS,.FALSE.,myThid) |
256 |
#if ( defined (ALLOW_AUTODIFF_TAMC) && \ |
#if ( defined (ALLOW_AUTODIFF) && \ |
257 |
defined (ALLOW_AUTODIFF_MONITOR) && \ |
defined (ALLOW_AUTODIFF_MONITOR) && \ |
258 |
defined (ALLOW_DEPTH_CONTROL) ) |
defined (ALLOW_DEPTH_CONTROL) ) |
259 |
C Include call to a dummy routine. Its adjoint will be called at the proper |
C Include call to a dummy routine. Its adjoint will be called at the proper |