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

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

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


Revision 1.13 - (hide annotations) (download)
Tue Jan 9 22:24:29 2007 UTC (17 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59, checkpoint58y_post, checkpoint60, checkpoint61, checkpoint58w_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint58v_post, checkpoint61f, checkpoint58x_post, checkpoint61n, checkpoint59j, checkpoint61q, checkpoint61e, checkpoint58u_post, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61r, checkpoint61p
Changes since 1.12: +2 -2 lines
comments: always spell tendency the same way (easier to grep for)

1 jmc 1.13 C $Header: /u/gcmpack/MITgcm/model/src/timestep_tracer.F,v 1.12 2004/12/04 00:12:14 jmc Exp $
2 adcroft 1.2 C $Name: $
3 adcroft 1.1
4     #include "CPP_OPTIONS.h"
5    
6 cnh 1.8 CBOP
7     C !ROUTINE: TIMESTEP_TRACER
8     C !INTERFACE:
9 adcroft 1.2 SUBROUTINE TIMESTEP_TRACER(
10 adcroft 1.4 I bi, bj, iMin, iMax, jMin, jMax, K,
11     I advection_scheme,
12     I tracer, gTracer,
13 adcroft 1.2 I myIter, myThid )
14 cnh 1.8 C !DESCRIPTION: \bv
15     C *==========================================================*
16     C | S/R TIMESTEP_TRACER
17     C | o Step model tracer field forward in time
18     C *==========================================================*
19     C \ev
20    
21     C !USES:
22 adcroft 1.2 IMPLICIT NONE
23     C == Global variables ===
24 adcroft 1.1 #include "SIZE.h"
25     #include "EEPARAMS.h"
26     #include "PARAMS.h"
27 adcroft 1.2
28 cnh 1.8 C !INPUT/OUTPUT PARAMETERS:
29 adcroft 1.1 C == Routine Arguments ==
30     INTEGER bi,bj,iMin,iMax,jMin,jMax,K
31 adcroft 1.4 INTEGER advection_scheme
32 adcroft 1.1 _RL tracer (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
33     _RL gTracer(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
34     INTEGER myIter, myThid
35 cnh 1.8
36     C !LOCAL VARIABLES:
37 adcroft 1.1 C == Local variables ==
38     INTEGER i,j
39 cnh 1.8 CEOP
40 adcroft 1.1
41 jmc 1.5 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
42    
43 jmc 1.13 C- Extrapolate tendencies to mid-time level (n+1/2)
44 jmc 1.5 DO j=jMin,jMax
45     DO i=iMin,iMax
46 adcroft 1.7 gTracer(i,j,k,bi,bj)=tracer(i,j,k,bi,bj)
47 jmc 1.12 & +dTtracerLev(k)*gTracer(i,j,k,bi,bj)
48 jmc 1.5 ENDDO
49     ENDDO
50 adcroft 1.1
51     RETURN
52     END

  ViewVC Help
Powered by ViewVC 1.1.22