| 1 | 
gforget | 
1.1 | 
C $Header: /u/gcmpack/MITgcm/verification/lab_sea/code_ad/autodiff_inadmode_unset_ad.F,v 1.1 2006/12/15 18:11:58 heimbach Exp $ | 
| 2 | 
  | 
  | 
 | 
| 3 | 
  | 
  | 
#include "AUTODIFF_OPTIONS.h" | 
| 4 | 
  | 
  | 
 | 
| 5 | 
  | 
  | 
      subroutine adautodiff_inadmode_unset( myThid ) | 
| 6 | 
  | 
  | 
      IMPLICIT NONE | 
| 7 | 
  | 
  | 
C     /==========================================================\ | 
| 8 | 
  | 
  | 
C     | SUBROUTINE autodiff_inadmode_unset                       | | 
| 9 | 
  | 
  | 
C     |==========================================================| | 
| 10 | 
  | 
  | 
C     == Global variables === | 
| 11 | 
  | 
  | 
 | 
| 12 | 
  | 
  | 
#include "SIZE.h" | 
| 13 | 
  | 
  | 
#include "EEPARAMS.h" | 
| 14 | 
  | 
  | 
#include "PARAMS.h" | 
| 15 | 
  | 
  | 
 | 
| 16 | 
  | 
  | 
C     == Routine arguments == | 
| 17 | 
  | 
  | 
C     myThid - Thread number for this instance of the routine. | 
| 18 | 
  | 
  | 
      integer myThid | 
| 19 | 
  | 
  | 
 | 
| 20 | 
  | 
  | 
      inAdMode = inAdFALSE | 
| 21 | 
  | 
  | 
 | 
| 22 | 
  | 
  | 
      useKPP = .TRUE. | 
| 23 | 
  | 
  | 
      useGMREDI = .TRUE. | 
| 24 | 
  | 
  | 
 | 
| 25 | 
  | 
  | 
      end | 
| 26 | 
  | 
  | 
 | 
| 27 | 
  | 
  | 
 | 
| 28 | 
  | 
  | 
 | 
| 29 | 
  | 
  | 
 | 
| 30 | 
  | 
  | 
 | 
| 31 | 
  | 
  | 
 | 
| 32 | 
  | 
  | 
 | 
| 33 | 
  | 
  | 
 | 
| 34 | 
  | 
  | 
 |