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

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

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


Revision 1.5 - (show annotations) (download)
Mon Nov 5 18:48:04 2007 UTC (16 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62c, checkpoint62q, checkpoint62p, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint60, checkpoint61, checkpoint62, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59k, checkpoint62b, checkpoint61f, checkpoint61n, checkpoint59j, checkpoint61q, checkpoint61e, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.4: +3 -2 lines
split PTRACERS.h in 2 header files: PTRACERS_FIELDS.h & PTRACERS_PARAMS.h

1 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_convect.F,v 1.4 2007/01/09 22:27:12 jmc Exp $
2 C $Name: $
3
4 #include "PTRACERS_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: PTRACERS_CONVECT
8
9 C !INTERFACE: ==========================================================
10 SUBROUTINE PTRACERS_CONVECT( bi,bj,k,weightA,weightB,myThid )
11
12 C !DESCRIPTION:
13 C do passive tracers convection
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_FIELDS.h"
22
23 C !INPUT PARAMETERS: ===================================================
24 C bi,bj,k :: tile indices
25 C weightA :: weight for level K-1
26 C weightB :: weight for level K
27 C myThid :: thread number
28 INTEGER bi,bj,k
29 _RL weightA(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
30 _RL weightB(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
31 INTEGER myThid
32
33 C !OUTPUT PARAMETERS: ==================================================
34 C none
35
36 #ifdef ALLOW_PTRACERS
37
38 C !LOCAL VARIABLES: ====================================================
39 C iTracer :: tracer index
40 INTEGER iTracer
41 CEOP
42
43 C Loop over tracers
44 DO iTracer=1,PTRACERS_numInUse
45
46 CALL CONVECTIVELY_MIXTRACER(
47 I bi,bj,k,weightA,weightB,
48 U pTracer(1-Olx,1-Oly,1,1,1,iTracer),
49 I myThid)
50
51 C End of tracer loop
52 ENDDO
53
54 #endif /* ALLOW_PTRACERS */
55
56 RETURN
57 END

  ViewVC Help
Powered by ViewVC 1.1.22