/[MITgcm]/MITgcm/pkg/autodiff/autodiff_inadmode_unset_ad.F
ViewVC logotype

Contents of /MITgcm/pkg/autodiff/autodiff_inadmode_unset_ad.F

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


Revision 1.4 - (show annotations) (download)
Tue Jun 7 20:09:21 2011 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63, checkpoint62z
Changes since 1.3: +8 -16 lines
refine debugLevel criteria when printing messages

1 C $Header: /u/gcmpack/MITgcm/pkg/autodiff/autodiff_inadmode_unset_ad.F,v 1.3 2011/03/18 10:49:26 mlosch Exp $
2 C $Name: $
3
4 #include "AUTODIFF_OPTIONS.h"
5
6 SUBROUTINE ADAUTODIFF_INADMODE_UNSET( myThid )
7 C *==========================================================*
8 C | SUBROUTINE AUTODIFF_INADMODE_UNSET
9 C *==========================================================*
10
11 IMPLICIT NONE
12 C == Global variables ===
13 #include "SIZE.h"
14 #include "EEPARAMS.h"
15 #include "PARAMS.h"
16
17 C == Routine arguments ==
18 C myThid - Thread number for this instance of the routine.
19 integer myThid
20 #ifdef ALLOW_DEBUG
21 character*(MAX_LEN_MBUF) msgBuf
22 #endif
23
24 inAdMode = inAdFALSE
25
26 useKPP = useKPPinFwdMode
27 useGMredi = useGMrediInFwdMode
28 useSEAICE = useSEAICEinFwdMode
29 #ifdef ALLOW_DEBUG
30 if ( debugLevel.GE.debLevC ) then
31 write(msgBuf,'(A,L5)')
32 & 'S/R ADAUTODIFF_INADMODE_UNSET_AD: useKPP =', useKPP
33 call print_message( msgBuf, standardMessageUnit,
34 & SQUEEZE_RIGHT , myThid)
35 write(msgBuf,'(A,L5)')
36 & 'S/R ADAUTODIFF_INADMODE_UNSET_AD: useGMredi =', useGMredi
37 call print_message( msgBuf, standardMessageUnit,
38 & SQUEEZE_RIGHT , myThid)
39 write(msgBuf,'(A,L5)')
40 & 'S/R ADAUTODIFF_INADMODE_UNSET_AD: useSEAICE =', useSEAICE
41 call print_message( msgBuf, standardMessageUnit,
42 & SQUEEZE_RIGHT , myThid)
43 endif
44 #endif
45
46 return
47 end

  ViewVC Help
Powered by ViewVC 1.1.22