/[MITgcm]/MITgcm/pkg/ptracers/ptracers_debug.F
ViewVC logotype

Contents of /MITgcm/pkg/ptracers/ptracers_debug.F

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


Revision 1.4 - (show annotations) (download)
Thu Dec 15 01:12:17 2005 UTC (18 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58b_post, checkpoint58, checkpoint58f_post, checkpoint58d_post, checkpoint58a_post, checkpoint57z_post, checkpoint58t_post, checkpoint58m_post, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58e_post, checkpoint58r_post, checkpoint58n_post, checkpoint58k_post, checkpoint58l_post, checkpoint58g_post, checkpoint58h_post, checkpoint58j_post, checkpoint58i_post, checkpoint58c_post, checkpoint58s_post
Changes since 1.3: +2 -2 lines
remove unused variable (reduce number of warnings).

1 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_debug.F,v 1.3 2004/07/13 16:47:48 jmc Exp $
2 C $Name: $
3
4 #include "PTRACERS_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: PTRACERS_DEBUG
8
9 C !INTERFACE: ==========================================================
10 SUBROUTINE PTRACERS_DEBUG(
11 I myThid )
12
13 C !DESCRIPTION:
14 C Calculates tendancy for passive tracers and integrates forward
15 C in time.
16
17 C !USES: ===============================================================
18 IMPLICIT NONE
19 #include "SIZE.h"
20 #include "EEPARAMS.h"
21 #include "PTRACERS_SIZE.h"
22 #include "PTRACERS.h"
23
24 C !INPUT PARAMETERS: ===================================================
25 C myThid :: thread number
26 INTEGER myThid
27
28 C !OUTPUT PARAMETERS: ==================================================
29 C none
30
31 #ifdef ALLOW_PTRACERS
32 #ifdef ALLOW_DEBUG
33
34 C !LOCAL VARIABLES: ====================================================
35 C i,j,k,bi,bj,iTracer :: loop indices
36 INTEGER iTracer
37 CHARACTER*(9) strng
38 CEOP
39
40 C Loop over tracers
41 DO iTracer=1,PTRACERS_num
42
43 WRITE(strng(1:9),'(a7,i2.2)') 'PTRACER',iTracer
44 CALL DEBUG_STATS_RL(Nr,
45 & pTracer(1-Olx,1-Oly,1,1,1,iTracer),strng,myThid)
46 WRITE(strng(1:9),'(a7,i2.2)') 'GTRACER',iTracer
47 CALL DEBUG_STATS_RL(Nr,
48 & gPtr(1-Olx,1-Oly,1,1,1,iTracer),strng,myThid)
49 WRITE(strng(1:9),'(a7,i2.2)') 'GNm1TRC',iTracer
50 CALL DEBUG_STATS_RL(Nr,
51 & gPtrNm1(1-Olx,1-Oly,1,1,1,iTracer),strng,myThid)
52
53 C end of tracer loop
54 ENDDO
55
56 #endif
57 #endif /* ALLOW_PTRACERS */
58
59 RETURN
60 END

  ViewVC Help
Powered by ViewVC 1.1.22