/[MITgcm]/MITgcm/pkg/gridalt/gridalt_initialise.F
ViewVC logotype

Contents of /MITgcm/pkg/gridalt/gridalt_initialise.F

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


Revision 1.6 - (show annotations) (download)
Mon May 23 20:51:09 2005 UTC (18 years, 11 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint58w_post, checkpoint57m_post, checkpoint57s_post, checkpoint63p, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint57k_post, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint58r_post, checkpoint57i_post, checkpoint57y_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58h_post, checkpoint57y_pre, 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, checkpoint58f_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_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, 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, checkpoint58m_post, checkpoint57l_post
Changes since 1.5: +9 -1 lines
New diagnostic - delta pressure on alternate (fizhi for now) grid

1 C $Header: /u/gcmpack/MITgcm/pkg/gridalt/gridalt_initialise.F,v 1.5 2004/05/05 00:39:21 edhill Exp $
2 C $Name: $
3
4 subroutine gridalt_initialise (myThid)
5 c-----------------------------------------------------------------------
6 c Routine to initialise the gridalt package.
7 c
8 c Input: myThid - Process number calling this routine
9 c
10 c Notes:
11 c When used with fizhi, this routine is the interface
12 c to make_phys_grid
13 c Calls: make_phys_grid (define the physics grid and mappings)
14 c when diagnostics are used, call gridalt_diagnostics_init
15 c-----------------------------------------------------------------------
16 implicit none
17 #include "PACKAGES_CONFIG.h"
18 #include "CPP_OPTIONS.h"
19 #include "SIZE.h"
20 #include "EEPARAMS.h"
21 #include "PARAMS.h"
22 #include "GRID.h"
23 #include "fizhi_SIZE.h"
24 #include "gridalt_mapping.h"
25 #include "SURFACE.h"
26
27 integer myThid
28
29 integer nlph
30 integer bi, bj
31 integer im1, im2, jm1, jm2, idim1, idim2, jdim1, jdim2
32
33 im1 = 1-OLx
34 im2 = sNx+OLx
35 jm1 = 1-OLy
36 jm2 = sNy+OLy
37 idim1 = 1
38 idim2 = sNx
39 jdim1 = 1
40 jdim2 = sNy
41
42 #ifdef ALLOW_FIZHI
43 if(usefizhi) then
44 do bj = myByLo(myThid), myByHi(myThid)
45 do bi = myBxLo(myThid), myBxHi(myThid)
46
47 call make_phys_grid(drF,hfacC,im1,im2,jm1,jm2,Nr,Nsx,Nsy,
48 . 1,sNx,1,sNy,bi,bj,Nrphys,ksurfC,dpphys0,nlph,nlperdyn)
49
50 if( NrPhys.ne.nlph ) then
51 print *,' ERROR CONDITION - Model has been brought down '
52 print *,' Physics dimension in fizhi_size is ',Nrphys,
53 . ' New grid has ',nlph,' levels '
54 stop
55 endif
56
57 enddo
58 enddo
59 endif
60
61 #ifdef ALLOW_DIAGNOSTICS
62 if ( useDiagnostics ) then
63 call gridalt_diagnostics_init( myThid )
64 endif
65 #endif
66
67 #endif
68
69 return
70 end

  ViewVC Help
Powered by ViewVC 1.1.22