/[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.8 - (show annotations) (download)
Thu Dec 11 01:36:16 2014 UTC (9 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65l, checkpoint65m, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65o, HEAD
Changes since 1.7: +12 -12 lines
fix for case with more than 99 tracers

1 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_debug.F,v 1.7 2014/08/15 19:18:12 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_PARAMS.h"
22 #include "PTRACERS_FIELDS.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 iTracer :: tracer index
36 INTEGER iTracer
37 CHARACTER*(12) strng
38 CEOP
39
40 C Loop over tracers
41 DO iTracer=1,PTRACERS_num
42
43 WRITE(strng,'(A8,I4.4)') 'PTRACER.', iTracer
44 CALL DEBUG_STATS_RL( Nr, pTracer(1-OLx,1-OLy,1,1,1,iTracer),
45 & strng, myThid )
46 WRITE(strng,'(A8,I4.4)') 'GNm1TRC.', iTracer
47 CALL DEBUG_STATS_RL( Nr, gpTrNm1(1-OLx,1-OLy,1,1,1,iTracer),
48 & strng, myThid )
49
50 C end of tracer loop
51 ENDDO
52
53 #endif /* ALLOW_DEBUG */
54 #endif /* ALLOW_PTRACERS */
55
56 RETURN
57 END

  ViewVC Help
Powered by ViewVC 1.1.22