/[MITgcm]/MITgcm/pkg/fizhi/step_fizhi_fg.F
ViewVC logotype

Contents of /MITgcm/pkg/fizhi/step_fizhi_fg.F

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


Revision 1.11 - (show annotations) (download)
Fri Oct 22 14:52:14 2004 UTC (19 years, 6 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint58l_post, checkpoint64z, checkpoint57t_post, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint57o_post, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint58w_post, checkpoint57m_post, checkpoint57s_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint64, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint57b_post, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint58t_post, checkpoint58h_post, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint56c_post, checkpoint57y_pre, checkpoint57f_pre, checkpoint57a_post, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint57f_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint57c_post, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint57j_post, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post, checkpoint56a_post, HEAD
Changes since 1.10: +3 -2 lines
Change myTime from integer to real (_RL), change pressure0 calculation in ini_fixed
(Little bugs.....)

1 C $Header: /u/gcmpack/MITgcm/pkg/fizhi/step_fizhi_fg.F,v 1.10 2004/08/05 17:06:40 molod Exp $
2 C $Name: $
3
4 #include "FIZHI_OPTIONS.h"
5 subroutine step_fizhi_fg (myTime, myIter, myThid, dt)
6 c-----------------------------------------------------------------------
7 c Subroutine step_fizhi_fg - 'Wrapper' routine to advance
8 c the physics state and make a 'first guess' at the new
9 c value. At this point, increment with the physics
10 c tendency only.
11 c Also: Set up "bi, bj loop" and some timers and clocks here.
12 c Call: step_physics
13 c-----------------------------------------------------------------------
14 implicit none
15 #include "SIZE.h"
16 #include "fizhi_SIZE.h"
17 #include "fizhi_land_SIZE.h"
18 #include "fizhi_coms.h"
19 #include "gridalt_mapping.h"
20 #include "EEPARAMS.h"
21 #include "DYNVARS.h"
22 #include "GRID.h"
23
24 integer myIter, myThid
25 _RL myTime
26
27 integer bi, bj
28 integer im1, im2, jm1, jm2, idim1, idim2, jdim1, jdim2
29 _RL dt
30
31 _RL tempij(sNx,sNy)
32 integer i,j,L
33
34 idim1 = 1-OLx
35 idim2 = sNx+OLx
36 jdim1 = 1-OLy
37 jdim2 = sNy+OLy
38 im1 = 1
39 im2 = sNx
40 jm1 = 1
41 jm2 = sNy
42
43 do bj = myByLo(myThid), myByHi(myThid)
44 do bi = myBxLo(myThid), myBxHi(myThid)
45
46 c Step forward the physics state using physics tendencies
47 call step_physics(uphy,vphy,thphy,sphy,dt,idim1,idim2,
48 . jdim1,jdim2,
49 . Nrphys,Nsx,Nsy,1,sNx,1,sNy,bi,bj,duphy,dvphy,dthphy,dsphy)
50
51 if(2.eq.1 )then
52 print *,' In step fizhi fg, new fizhi fields ',bi,' dt= ',dt
53 do L = 1,Nrphys
54 do j = jm1,jm2
55 do i = im1,im2
56 tempij(i,j) = uphy(i,j,L,bi,bj)
57 enddo
58 enddo
59 c print *,' uphy at level ',l,' ',tempij
60 enddo
61 do L = 1,Nrphys
62 do j = jm1,jm2
63 do i = im1,im2
64 tempij(i,j) = vphy(i,j,L,bi,bj)
65 enddo
66 enddo
67 c print *,' vphy at level ',l,' ',tempij
68 enddo
69 do L = 1,Nrphys
70 do j = jm1,jm2
71 do i = im1,im2
72 tempij(i,j) = thphy(i,j,L,bi,bj)
73 enddo
74 enddo
75 print *,' thphy at level ',l,' ',tempij
76 enddo
77 do L = 1,Nrphys
78 do j = jm1,jm2
79 do i = im1,im2
80 tempij(i,j) = sphy(i,j,L,bi,bj)
81 enddo
82 enddo
83 print *,' sphy at level ',l,' ',tempij
84 enddo
85 endif
86
87 call qcheck (idim1,idim2,jdim1,jdim2,Nrphys,Nsx,Nsy,im1,im2,
88 . jm1,jm2,bi,bj,dpphys,sphy)
89
90 if(2.eq.1 )then
91 print *,' In step fizhi fg after qcheck ',bi
92 do L = 1,Nrphys
93 do j = jm1,jm2
94 do i = im1,im2
95 tempij(i,j) = sphy(i,j,L,bi,bj)
96 enddo
97 enddo
98 print *,' sphy after qcheck at level ',l,' ',tempij
99 enddo
100 endif
101
102 enddo
103 enddo
104
105 return
106 end

  ViewVC Help
Powered by ViewVC 1.1.22