| 1 | ! |
|---|
| 2 | ! $Header$ |
|---|
| 3 | ! |
|---|
| 4 | c |
|---|
| 5 | c |
|---|
| 6 | SUBROUTINE iniphysiq(ngrid,nlayer, |
|---|
| 7 | $ punjours, |
|---|
| 8 | $ pdayref,ptimestep, |
|---|
| 9 | $ plat,plon,parea,pcu,pcv, |
|---|
| 10 | $ prad,pg,pr,pcpp) |
|---|
| 11 | USE dimphy,klon2=>klon,klon=>klon2 |
|---|
| 12 | USE comgeomphy |
|---|
| 13 | IMPLICIT NONE |
|---|
| 14 | c |
|---|
| 15 | c======================================================================= |
|---|
| 16 | c |
|---|
| 17 | c subject: |
|---|
| 18 | c -------- |
|---|
| 19 | c |
|---|
| 20 | c Initialisation for the physical parametrisations of the LMD |
|---|
| 21 | c martian atmospheric general circulation modele. |
|---|
| 22 | c |
|---|
| 23 | c author: Frederic Hourdin 15 / 10 /93 |
|---|
| 24 | c ------- |
|---|
| 25 | c |
|---|
| 26 | c arguments: |
|---|
| 27 | c ---------- |
|---|
| 28 | c |
|---|
| 29 | c input: |
|---|
| 30 | c ------ |
|---|
| 31 | c |
|---|
| 32 | c ngrid Size of the horizontal grid. |
|---|
| 33 | c All internal loops are performed on that grid. |
|---|
| 34 | c nlayer Number of vertical layers. |
|---|
| 35 | c pdayref Day of reference for the simulation |
|---|
| 36 | c firstcall True at the first call |
|---|
| 37 | c lastcall True at the last call |
|---|
| 38 | c pday Number of days counted from the North. Spring |
|---|
| 39 | c equinoxe. |
|---|
| 40 | c |
|---|
| 41 | c======================================================================= |
|---|
| 42 | c |
|---|
| 43 | c----------------------------------------------------------------------- |
|---|
| 44 | c declarations: |
|---|
| 45 | c ------------- |
|---|
| 46 | |
|---|
| 47 | cym#include "dimensions.h" |
|---|
| 48 | cym#include "dimphy.h" |
|---|
| 49 | cym#include "comgeomphy.h" |
|---|
| 50 | |
|---|
| 51 | REAL prad,pg,pr,pcpp,punjours |
|---|
| 52 | |
|---|
| 53 | INTEGER ngrid,nlayer |
|---|
| 54 | REAL plat(ngrid),plon(ngrid),parea(klon),pcu(klon),pcv(klon) |
|---|
| 55 | INTEGER pdayref |
|---|
| 56 | |
|---|
| 57 | REAL ptimestep |
|---|
| 58 | |
|---|
| 59 | IF (nlayer.NE.klev) THEN |
|---|
| 60 | PRINT*,'STOP in inifis' |
|---|
| 61 | PRINT*,'Probleme de dimensions :' |
|---|
| 62 | PRINT*,'nlayer = ',nlayer |
|---|
| 63 | PRINT*,'klev = ',klev |
|---|
| 64 | STOP |
|---|
| 65 | ENDIF |
|---|
| 66 | |
|---|
| 67 | IF (ngrid.NE.klon) THEN |
|---|
| 68 | PRINT*,'STOP in inifis' |
|---|
| 69 | PRINT*,'Probleme de dimensions :' |
|---|
| 70 | PRINT*,'ngrid = ',ngrid |
|---|
| 71 | PRINT*,'klon = ',klon |
|---|
| 72 | STOP |
|---|
| 73 | ENDIF |
|---|
| 74 | |
|---|
| 75 | airephy(1:klon2)=parea(klon_begin:klon_end) |
|---|
| 76 | cuphy(1:klon2)=pcu(klon_begin:klon_end) |
|---|
| 77 | cvphy(1:klon2)=pcv(klon_begin:klon_end) |
|---|
| 78 | rlond(1:klon2) = plon(klon_begin:klon_end) |
|---|
| 79 | rlatd(1:klon2) = plat(klon_begin:klon_end) |
|---|
| 80 | |
|---|
| 81 | call suphec |
|---|
| 82 | print*,'ATTENTION !!! TRAVAILLER SUR INIPHYSIQ' |
|---|
| 83 | print*,'CONTROLE DES LATITUDES, LONGITUDES, PARAMETRES ...' |
|---|
| 84 | |
|---|
| 85 | |
|---|
| 86 | RETURN |
|---|
| 87 | 9999 STOP'Cette version demande les fichier rnatur.dat et surf.def' |
|---|
| 88 | END |
|---|