/[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.5 - (show annotations) (download)
Tue Jan 9 22:27:12 2007 UTC (17 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59, checkpoint58y_post, checkpoint58w_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59i, checkpoint59h, checkpoint58v_post, checkpoint58x_post, checkpoint58u_post
Changes since 1.4: +2 -3 lines
improve description comments

1 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_debug.F,v 1.4 2005/12/15 01:12:17 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 print passive tracers stats
15
16 C !USES: ===============================================================
17 IMPLICIT NONE
18 #include "SIZE.h"
19 #include "EEPARAMS.h"
20 #include "PTRACERS_SIZE.h"
21 #include "PTRACERS.h"
22
23 C !INPUT PARAMETERS: ===================================================
24 C myThid :: thread number
25 INTEGER myThid
26
27 C !OUTPUT PARAMETERS: ==================================================
28 C none
29
30 #ifdef ALLOW_PTRACERS
31 #ifdef ALLOW_DEBUG
32
33 C !LOCAL VARIABLES: ====================================================
34 C i,j,k,bi,bj,iTracer :: loop indices
35 INTEGER iTracer
36 CHARACTER*(9) strng
37 CEOP
38
39 C Loop over tracers
40 DO iTracer=1,PTRACERS_num
41
42 WRITE(strng(1:9),'(a7,i2.2)') 'PTRACER',iTracer
43 CALL DEBUG_STATS_RL(Nr,
44 & pTracer(1-Olx,1-Oly,1,1,1,iTracer),strng,myThid)
45 WRITE(strng(1:9),'(a7,i2.2)') 'GTRACER',iTracer
46 CALL DEBUG_STATS_RL(Nr,
47 & gPtr(1-Olx,1-Oly,1,1,1,iTracer),strng,myThid)
48 WRITE(strng(1:9),'(a7,i2.2)') 'GNm1TRC',iTracer
49 CALL DEBUG_STATS_RL(Nr,
50 & gPtrNm1(1-Olx,1-Oly,1,1,1,iTracer),strng,myThid)
51
52 C end of tracer loop
53 ENDDO
54
55 #endif
56 #endif /* ALLOW_PTRACERS */
57
58 RETURN
59 END

  ViewVC Help
Powered by ViewVC 1.1.22