/[MITgcm]/MITgcm/pkg/mom_vecinv/mom_vi_v_grad_ke.F
ViewVC logotype

Contents of /MITgcm/pkg/mom_vecinv/mom_vi_v_grad_ke.F

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


Revision 1.4 - (show annotations) (download)
Thu Sep 10 18:08:51 2015 UTC (9 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65o, HEAD
Changes since 1.3: +10 -10 lines
- add anelastic and deep-atmosphere geometry factor in pkg/mom_vecinv ; this
  allows to use Vector-Invariant form in deep atmos and anelastic formulation

1 C $Header: /u/gcmpack/MITgcm/pkg/mom_vecinv/mom_vi_v_grad_ke.F,v 1.3 2004/07/20 17:46:38 adcroft Exp $
2 C $Name: $
3
4 #include "MOM_VECINV_OPTIONS.h"
5
6 SUBROUTINE MOM_VI_V_GRAD_KE(
7 I bi,bj,k,
8 I KE,
9 O dKEdy,
10 I myThid)
11 IMPLICIT NONE
12 C /==========================================================\
13 C | S/R MOM_V_GRAD_KE |
14 C |==========================================================|
15 C \==========================================================/
16
17 C == Global variables ==
18 #include "SIZE.h"
19 #include "EEPARAMS.h"
20 #include "GRID.h"
21
22 C == Routine arguments ==
23 INTEGER bi,bj,k
24 _RL KE(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
25 _RL dKEdy(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
26 INTEGER myThid
27
28 C == Local variables ==
29 INTEGER i,j
30
31 DO j=2-OLy,sNy+OLy
32 DO i=1-OLx,sNx+OLx
33 dKEdy(i,j)=-_recip_dyC(i,j,bi,bj)*(KE(i,j)-KE(i,j-1))
34 & *_maskS(i,j,k,bi,bj)*recip_deepFacC(k)
35 ENDDO
36 ENDDO
37
38 RETURN
39 END

  ViewVC Help
Powered by ViewVC 1.1.22