/[MITgcm]/MITgcm/model/src/ini_cori.F
ViewVC logotype

Contents of /MITgcm/model/src/ini_cori.F

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


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed Apr 22 19:15:30 1998 UTC (26 years, 1 month ago) by cnh
Branch: cnh
CVS Tags: baseline, start
Changes since 1.1: +0 -0 lines
Imported working release

1 C $Id$
2
3 #include "CPP_EEOPTIONS.h"
4
5 CStartOfInterface
6 SUBROUTINE INI_CORI( myThid )
7 C /==========================================================\
8 C | SUBROUTINE INI_CORI |
9 C | o Initialise coriolis term. |
10 C \==========================================================/
11
12 C === Global variables ===
13 #include "SIZE.h"
14 #include "EEPARAMS.h"
15 #include "PARAMS.h"
16 #include "GRID.h"
17 #include "DYNVARS.h"
18
19 C == Routine arguments ==
20 C myThid - Number of this instance of INI_CORI
21 INTEGER myThid
22 CEndOfInterface
23
24 C == Local variables ==
25 C iG, jG - Global coordinate index
26 C bi,bj - Loop counters
27 C I,J,K
28 C facGrid - Factor for grid to meter conversion
29 INTEGER iG, jG
30 INTEGER bi, bj
31 INTEGER I, J, K
32 _RL facGrid
33
34 C-- Initialise beta plane f.
35 facGrid = 1. _d 0
36 IF ( usingSphericalPolarGrid ) facGrid = deg2rad*rSphere
37 DO bj = myByLo(myThid), myByHi(myThid)
38 DO bi = myBxLo(myThid), myBxHi(myThid)
39 DO K=1,Nz
40 DO J=1,sNy
41 DO I=1,sNx
42 fCori(i,j,bi,bj)=f0+beta*yC(i,j,bi,bj)*facGrid
43 ENDDO
44 ENDDO
45 ENDDO
46 ENDDO
47 ENDDO
48 C
49 _EXCH_XY_R4(fCori , myThid )
50
51 RETURN
52 END

  ViewVC Help
Powered by ViewVC 1.1.22