/[MITgcm]/MITgcm/model/src/cycle_ab_tracer.F
ViewVC logotype

Annotation of /MITgcm/model/src/cycle_ab_tracer.F

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


Revision 1.3 - (hide annotations) (download)
Mon Aug 18 12:24:16 2014 UTC (9 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65c, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.2: +17 -14 lines
change argument list + description

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/model/src/cycle_ab_tracer.F,v 1.2 2014/08/14 16:49:19 jmc Exp $
2 jmc 1.1 C $Name: $
3    
4     #include "CPP_OPTIONS.h"
5    
6     CBOP
7     C !ROUTINE: CYCLE_AB_TRACER
8     C !INTERFACE:
9     SUBROUTINE CYCLE_AB_TRACER(
10     I bi, bj,
11 jmc 1.3 I tracNew,
12     U tracer,
13     O tracNm1,
14 jmc 1.1 I myTime, myIter, myThid )
15     C !DESCRIPTION: \bv
16     C *==========================================================*
17     C | S/R CYCLE_AB_TRACER
18     C *==========================================================*
19     C | o Cycles the time-stepping arrays for a tracer field
20     C *==========================================================*
21     C \ev
22     C !USES:
23     IMPLICIT NONE
24     C Common
25     #include "SIZE.h"
26     #include "EEPARAMS.h"
27     #include "PARAMS.h"
28 jmc 1.3
29 jmc 1.1 C !INPUT/OUTPUT PARAMETERS:
30 jmc 1.3 C bi, bj :: current tile indices
31     C tracNew :: next time-step tracer field
32     C tracer :: current time-step tracer field
33     C tracNm1 :: previous time-step tracer field
34     C myTime :: Current simulation time
35     C myIter :: Current time-step number
36     C myThid :: my Thread Id number
37 jmc 1.1 INTEGER bi,bj
38 jmc 1.3 _RL tracNew(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr)
39 jmc 1.2 _RL tracer (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr)
40 jmc 1.3 _RL tracNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr)
41 jmc 1.1 _RL myTime
42     INTEGER myIter, myThid
43    
44     C !LOCAL VARIABLES:
45     INTEGER i,j,k
46     CEOP
47    
48 jmc 1.3 C Rotate tracNew/tracer/tracNm1
49 jmc 1.1 DO k=1,Nr
50     DO j=1-OLy,sNy+OLy
51     DO i=1-OLx,sNx+OLx
52 jmc 1.3 tracNm1(i,j,k) = tracer(i,j,k)
53     tracer(i,j,k) = tracNew(i,j,k)
54 jmc 1.1 ENDDO
55     ENDDO
56     ENDDO
57    
58     RETURN
59     END

  ViewVC Help
Powered by ViewVC 1.1.22