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

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

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


Revision 1.6 - (hide annotations) (download)
Mon Nov 5 18:48:04 2007 UTC (16 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62u, checkpoint62t, checkpoint65b, checkpoint65a, checkpoint62c, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62w, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint64, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59k, checkpoint62b, checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint61f, checkpoint61n, checkpoint59j, checkpoint61q, checkpoint61e, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.5: +4 -3 lines
split PTRACERS.h in 2 header files: PTRACERS_FIELDS.h & PTRACERS_PARAMS.h

1 jmc 1.6 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_debug.F,v 1.5 2007/01/09 22:27:12 jmc Exp $
2 stephd 1.2 C $Name: $
3 adcroft 1.1
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 jmc 1.5 C print passive tracers stats
15 adcroft 1.1
16     C !USES: ===============================================================
17     IMPLICIT NONE
18     #include "SIZE.h"
19     #include "EEPARAMS.h"
20 jmc 1.3 #include "PTRACERS_SIZE.h"
21 jmc 1.6 #include "PTRACERS_PARAMS.h"
22     #include "PTRACERS_FIELDS.h"
23 adcroft 1.1
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 stephd 1.2 #ifdef ALLOW_DEBUG
33 adcroft 1.1
34     C !LOCAL VARIABLES: ====================================================
35     C i,j,k,bi,bj,iTracer :: loop indices
36 jmc 1.4 INTEGER iTracer
37 adcroft 1.1 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 jmc 1.6 & gpTrNm1(1-Olx,1-Oly,1,1,1,iTracer),strng,myThid)
52 adcroft 1.1
53     C end of tracer loop
54     ENDDO
55    
56 stephd 1.2 #endif
57 adcroft 1.1 #endif /* ALLOW_PTRACERS */
58    
59     RETURN
60     END

  ViewVC Help
Powered by ViewVC 1.1.22