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

Contents of /MITgcm/model/src/cycle_tracer.F

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


Revision 1.3 - (show annotations) (download)
Sun Feb 4 14:38:46 2001 UTC (23 years, 3 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint40pre3, checkpoint40pre1, checkpoint40pre7, checkpoint40pre6, checkpoint40pre9, checkpoint40pre8, checkpoint38, checkpoint40pre2, checkpoint40pre4, pre38tag1, c37_adj, pre38-close, checkpoint39, checkpoint37, checkpoint36, checkpoint35, checkpoint40pre5
Branch point for: pre38
Changes since 1.2: +2 -1 lines
Made sure each .F and .h file had
the CVS keywords Header and Name at its start.
Most had header but very few currently have Name, so
lots of changes!

1 C $Header: /u/gcmpack/models/MITgcmUV/model/src/cycle_tracer.F,v 1.2 2001/02/02 21:04:48 adcroft Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 C /==========================================================\
7 C | S/R CYCLE_TRACER |
8 C |==========================================================|
9 C | o Cycles the time-stepping arrays for a tracer field |
10 C \==========================================================/
11 SUBROUTINE CYCLE_TRACER(
12 I bi, bj, iMin, iMax, jMin, jMax, K,
13 U tracer, gTracer, gTrNm1,
14 I myTime, myThid )
15 IMPLICIT NONE
16 C Common
17 #include "SIZE.h"
18 #include "EEPARAMS.h"
19 #include "PARAMS.h"
20 C == Routine Arguments ==
21 C bi,bj,iMin,iMax,jMin,jMax, K - Loop counters
22 C tracer, gTracer, gTrNm1 - Tracer field, with tendencies
23 C myThid - Instance number for
24 C this call to S/R CORRECTION_STEP
25 C myTime - Current simulation time for this instance.
26 INTEGER bi,bj,iMin,iMax,jMin,jMax,K
27 _RL tracer (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
28 _RL gTracer(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
29 _RL gTrNm1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
30 INTEGER myThid
31 _RL myTime
32
33 C == Local variables ==
34 INTEGER i,j
35
36 C Rotate tracer/gTracer/gTrNm1
37 DO j=jMin,jMax
38 DO i=iMin,iMax
39 tracer(i,j,k,bi,bj)=gTrNm1(i,j,k,bi,bj)
40 gTrNm1(i,j,k,bi,bj)=gTracer(i,j,k,bi,bj)
41 ENDDO
42 ENDDO
43
44 RETURN
45 END

  ViewVC Help
Powered by ViewVC 1.1.22