/[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.5 - (hide 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 jmc 1.5 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_debug.F,v 1.4 2005/12/15 01:12:17 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 adcroft 1.1 #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 stephd 1.2 #ifdef ALLOW_DEBUG
32 adcroft 1.1
33     C !LOCAL VARIABLES: ====================================================
34     C i,j,k,bi,bj,iTracer :: loop indices
35 jmc 1.4 INTEGER iTracer
36 adcroft 1.1 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 stephd 1.2 #endif
56 adcroft 1.1 #endif /* ALLOW_PTRACERS */
57    
58     RETURN
59     END

  ViewVC Help
Powered by ViewVC 1.1.22