13 |
|
|
14 |
contains |
contains |
15 |
|
|
16 |
SUBROUTINE etat0 |
SUBROUTINE etat0(phis) |
17 |
|
|
18 |
! From "etat0_netcdf.F", version 1.3, 2005/05/25 13:10:09 |
! From "etat0_netcdf.F", version 1.3, 2005/05/25 13:10:09 |
19 |
|
|
46 |
use q_sat_m, only: q_sat |
use q_sat_m, only: q_sat |
47 |
use regr_lat_time_coefoz_m, only: regr_lat_time_coefoz |
use regr_lat_time_coefoz_m, only: regr_lat_time_coefoz |
48 |
use regr_pr_o3_m, only: regr_pr_o3 |
use regr_pr_o3_m, only: regr_pr_o3 |
|
use serre, only: alphax |
|
49 |
use startdyn, only: start_init_dyn |
use startdyn, only: start_init_dyn |
50 |
USE start_init_orog_m, only: start_init_orog, mask |
USE start_init_orog_m, only: start_init_orog, mask |
51 |
use start_init_phys_m, only: start_init_phys |
use start_init_phys_m, only: start_init_phys |
53 |
use temps, only: itau_phy, annee_ref, day_ref |
use temps, only: itau_phy, annee_ref, day_ref |
54 |
use test_disvert_m, only: test_disvert |
use test_disvert_m, only: test_disvert |
55 |
|
|
56 |
! Variables local to the procedure: |
REAL, intent(out):: phis(:, :) ! (iim + 1, jjm + 1) |
57 |
|
! surface geopotential, in m2 s-2 |
58 |
|
|
59 |
|
! Local: |
60 |
|
|
61 |
REAL latfi(klon), lonfi(klon) |
REAL latfi(klon), lonfi(klon) |
62 |
! (latitude and longitude of a point of the scalar grid identified |
! (latitude and longitude of a point of the scalar grid identified |
82 |
real seaice(klon) ! kg m-2 |
real seaice(klon) ! kg m-2 |
83 |
REAL frugs(klon, nbsrf), agesno(klon, nbsrf) |
REAL frugs(klon, nbsrf), agesno(klon, nbsrf) |
84 |
REAL rugmer(klon) |
REAL rugmer(klon) |
|
REAL phis(iim + 1, jjm + 1) ! surface geopotential, in m2 s-2 |
|
85 |
real, dimension(iim + 1, jjm + 1):: zmea_2d, zstd_2d, zsig_2d, zgam_2d |
real, dimension(iim + 1, jjm + 1):: zmea_2d, zstd_2d, zsig_2d, zgam_2d |
86 |
real, dimension(iim + 1, jjm + 1):: zthe_2d, zpic_2d, zval_2d |
real, dimension(iim + 1, jjm + 1):: zthe_2d, zpic_2d, zval_2d |
87 |
real, dimension(iim + 1, jjm + 1):: tsol_2d, qsol_2d, ps |
real, dimension(iim + 1, jjm + 1):: tsol_2d, qsol_2d, ps |
295 |
! Calcul interm\'ediaire : |
! Calcul interm\'ediaire : |
296 |
CALL massdair(p3d, masse) |
CALL massdair(p3d, masse) |
297 |
|
|
|
print *, 'ALPHAX = ', alphax |
|
|
|
|
298 |
forall (l = 1:llm) |
forall (l = 1:llm) |
299 |
masse(:, 1, l) = SUM(aire_2d(:iim, 1) * masse(:iim, 1, l)) / apoln |
masse(:, 1, l) = SUM(aire_2d(:iim, 1) * masse(:iim, 1, l)) / apoln |
300 |
masse(:, jjm + 1, l) = & |
masse(:, jjm + 1, l) = & |