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

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

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


Revision 1.2 - (hide annotations) (download)
Thu Dec 11 03:19:02 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52l_pre, hrcube4, hrcube5, checkpoint52j_pre, checkpoint52k_post, checkpoint54, checkpoint53, checkpoint52f_post, checkpoint52i_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint52e_pre, checkpoint52e_post, checkpoint53d_post, checkpoint54b_post, checkpoint52m_post, checkpoint52f_pre, checkpoint54a_pre, checkpoint53c_post, checkpoint54a_post, checkpoint53a_post, checkpoint52d_post, checkpoint53g_post, checkpoint52i_post, checkpoint52h_pre, checkpoint53f_post, checkpoint52j_post, checkpoint52l_post, checkpoint52n_post, checkpoint53b_pre, checkpoint53b_post, checkpoint53d_pre
Branch point for: netcdf-sm0
Changes since 1.1: +3 -3 lines
tile indices bug in argument list of "call convectively_mixtracer"

1 jmc 1.2 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_convect.F,v 1.1 2002/03/04 19:01:29 adcroft Exp $
2     C $Name: $
3 adcroft 1.1
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 Calculates tendancy for passive tracers and integrates forward
14     C in time.
15    
16     C !USES: ===============================================================
17     IMPLICIT NONE
18     #include "SIZE.h"
19     #include "EEPARAMS.h"
20     #include "PTRACERS.h"
21    
22     C !INPUT PARAMETERS: ===================================================
23     C bi,bj,k :: tile indices
24     C weightA :: weight for level K-1
25     C weightB :: weight for level K
26     C myThid :: thread number
27     INTEGER bi,bj,k
28     _RL weightA(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
29     _RL weightB(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
30     INTEGER myThid
31    
32     C !OUTPUT PARAMETERS: ==================================================
33     C none
34    
35     #ifdef ALLOW_PTRACERS
36    
37     C !LOCAL VARIABLES: ====================================================
38     C iTracer :: tracer index
39     INTEGER iTracer
40     CEOP
41    
42     C Loop over tracers
43     DO iTracer=1,PTRACERS_numInUse
44    
45     CALL CONVECTIVELY_MIXTRACER(
46     I bi,bj,k,weightA,weightB,
47 jmc 1.2 U pTracer(1-Olx,1-Oly,1,1,1,iTracer),
48 adcroft 1.1 I myThid)
49    
50     C End of tracer loop
51     ENDDO
52    
53     #endif /* ALLOW_PTRACERS */
54    
55     RETURN
56     END

  ViewVC Help
Powered by ViewVC 1.1.22