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

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

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


Revision 1.4 - (show annotations) (download)
Thu Jun 10 20:53:19 2004 UTC (19 years, 11 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint53d_post, checkpoint54a_pre, checkpoint54a_post, checkpoint54b_post, checkpoint54, checkpoint53g_post, checkpoint53f_post, checkpoint54c_post
Changes since 1.3: +2 -2 lines
Developing

1 C $Header: /u/gcmpack/MITgcm/pkg/fizhi/step_physics.F,v 1.3 2004/05/05 00:39:21 edhill Exp $
2 C $Name: $
3
4 subroutine step_physics(uphy,vphy,thphy,sphy,dt,
5 . im1,im2,jm1,jm2,Nrphys,Nsx,Nsy,idim1,idim2,jdim1,jdim2,bi,bj,
6 . duphy,dvphy,dthphy,dsphy)
7 c-----------------------------------------------------------------------
8 c Routine to step physics state forward using the increments
9 c
10 c-----------------------------------------------------------------------
11 implicit none
12 #include "CPP_EEOPTIONS.h"
13 integer im1,im2,jm1,jm2,idim1,idim2,jdim1,jdim2
14 integer Nrphys,Nsx,Nsy,bi,bj
15 _RL uphy(im1:im2,jm1:jm2,Nrphys,Nsx,Nsy)
16 _RL vphy(im1:im2,jm1:jm2,Nrphys,Nsx,Nsy)
17 _RL thphy(im1:im2,jm1:jm2,Nrphys,Nsx,Nsy)
18 _RL sphy(im1:im2,jm1:jm2,Nrphys,Nsx,Nsy)
19 _RL duphy(im1:im2,jm1:jm2,Nrphys,Nsx,Nsy)
20 _RL dvphy(im1:im2,jm1:jm2,Nrphys,Nsx,Nsy)
21 _RL dthphy(im1:im2,jm1:jm2,Nrphys,Nsx,Nsy)
22 _RL dsphy(im1:im2,jm1:jm2,Nrphys,Nsx,Nsy)
23 _RL dt
24 c
25 integer i,j,L
26
27 do L = 1,Nrphys
28 do j = jdim1,jdim2
29 do i = idim1,idim2
30 uphy(i,j,L,bi,bj) = uphy(i,j,L,bi,bj) + duphy(i,j,L,bi,bj) * dt
31 vphy(i,j,L,bi,bj) = vphy(i,j,L,bi,bj) + dvphy(i,j,L,bi,bj) * dt
32 thphy(i,j,L,bi,bj)=thphy(i,j,L,bi,bj) + dthphy(i,j,L,bi,bj)* dt
33 sphy(i,j,L,bi,bj) = sphy(i,j,L,bi,bj) + dsphy(i,j,L,bi,bj) * dt
34 enddo
35 enddo
36 enddo
37
38 return
39 end

  ViewVC Help
Powered by ViewVC 1.1.22