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

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

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


Revision 1.7 - (show annotations) (download)
Thu Mar 8 17:13:31 2012 UTC (12 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint65a, checkpoint64, checkpoint65, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63k, 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
Changes since 1.6: +10 -7 lines
-only step forward tracer if PTRACERS_StepFwd(iTr)=T

1 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_cycle.F,v 1.6 2007/12/17 21:20:38 jmc Exp $
2 C $Name: $
3
4 #include "PTRACERS_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: PTRACERS_CYCLE
8
9 C !INTERFACE: ==========================================================
10 SUBROUTINE PTRACERS_CYCLE( bi,bj,myTime,myIter,myThid )
11
12 C !DESCRIPTION:
13 C Cycle time-stepping arrays
14
15 C !USES: ===============================================================
16 IMPLICIT NONE
17 #include "SIZE.h"
18 #include "EEPARAMS.h"
19 #include "PTRACERS_SIZE.h"
20 #include "PTRACERS_PARAMS.h"
21 #include "PTRACERS_START.h"
22 #include "PTRACERS_FIELDS.h"
23
24 C !INPUT PARAMETERS: ===================================================
25 C bi,bj :: tile indices
26 C myTime :: model time
27 C myIter :: time-step number
28 C myThid :: thread number
29 INTEGER bi,bj
30 _RL myTime
31 INTEGER myIter
32 INTEGER myThid
33
34 C !OUTPUT PARAMETERS: ==================================================
35 C none
36
37 #ifdef ALLOW_PTRACERS
38
39 C !LOCAL VARIABLES: ====================================================
40 C iTracer :: loop indices
41 INTEGER iTracer
42 CEOP
43
44 C Loop over passive tracers
45 DO iTracer=1,PTRACERS_numInUse
46 IF ( PTRACERS_StepFwd(iTracer) ) THEN
47
48 C Cycle time-stepping arrays
49 CALL CYCLE_TRACER(
50 I bi,bj,
51 U pTracer(1-OLx,1-OLy,1,1,1,iTracer),
52 U gPtr(1-OLx,1-OLy,1,1,1,iTracer),
53 I myTime,myIter,myThid )
54
55 C End of tracer loop
56 ENDIF
57 ENDDO
58
59 #endif /* ALLOW_PTRACERS */
60
61 RETURN
62 END

  ViewVC Help
Powered by ViewVC 1.1.22