/[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.7 - (show annotations) (download)
Fri Apr 15 14:06:14 2005 UTC (19 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57m_post, checkpoint57s_post, checkpoint58b_post, checkpoint57g_post, checkpoint57y_post, checkpoint57r_post, checkpoint57i_post, checkpoint58, checkpoint58f_post, checkpoint57n_post, checkpoint58d_post, checkpoint58a_post, checkpoint57z_post, checkpoint58t_post, checkpoint58m_post, checkpoint57l_post, checkpoint57t_post, checkpoint57v_post, checkpoint57h_pre, checkpoint57h_post, checkpoint57y_pre, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58e_post, mitgcm_mapl_00, checkpoint58r_post, checkpoint58n_post, checkpoint57p_post, checkpint57u_post, checkpoint57q_post, checkpoint58k_post, checkpoint58l_post, checkpoint57h_done, checkpoint57j_post, checkpoint58g_post, checkpoint58h_post, checkpoint58j_post, checkpoint57o_post, checkpoint57k_post, checkpoint57w_post, checkpoint58i_post, checkpoint57x_post, checkpoint58c_post, checkpoint58s_post
Changes since 1.6: +11 -9 lines
do not refer to gxNm1 if unnecessary (to work also with AB-3)

1 C $Header: /u/gcmpack/MITgcm/model/src/cycle_tracer.F,v 1.6 2002/10/07 16:24:45 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: CYCLE_TRACER
8 C !INTERFACE:
9 SUBROUTINE CYCLE_TRACER(
10 I bi, bj, k,
11 U tracer, gTracer,
12 I myTime, myIter, myThid )
13 C !DESCRIPTION: \bv
14 C *==========================================================*
15 C | S/R CYCLE_TRACER
16 C *==========================================================*
17 C | o Cycles the time-stepping arrays for a tracer field
18 C *==========================================================*
19 C \ev
20 C !USES:
21 IMPLICIT NONE
22 C Common
23 #include "SIZE.h"
24 #include "EEPARAMS.h"
25 #include "PARAMS.h"
26 C !INPUT/OUTPUT PARAMETERS:
27 C == Routine Arguments ==
28 C bi,bj,k,iMin,iMax,jMin,jMax :: Loop counters
29 C tracer, gTracer, gTrNm1 :: Tracer field, with tendencies
30 C myTime :: Current simulation time for this instance.
31 C myIter :: Current time-step number
32 C myThid :: Instance number for
33 C this call to S/R CORRECTION_STEP
34 INTEGER bi,bj,k
35 c INTEGER iMin,iMax,jMin,jMax
36 _RL tracer (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
37 _RL gTracer(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
38 c _RL gTrNm1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
39 _RL myTime
40 INTEGER myIter, myThid
41
42 C !LOCAL VARIABLES:
43 C == Local variables ==
44 INTEGER i,j
45 CEOP
46
47 C Rotate tracer/gTracer/gTrNm1
48 c DO j=jMin,jMax
49 c DO i=iMin,iMax
50 DO j=1-OLy,sNy+OLy
51 DO i=1-OLx,sNx+OLx
52 tracer(i,j,k,bi,bj)=gTracer(i,j,k,bi,bj)
53 ENDDO
54 ENDDO
55
56 RETURN
57 END

  ViewVC Help
Powered by ViewVC 1.1.22