Changeset 1795 for LMDZ5/branches/testing/libf/phylmd/phyaqua.F
- Timestamp:
- Jul 18, 2013, 10:20:28 AM (11 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1747-1749,1751,1753-1767,1769,1771-1772,1774-1776,1778-1794
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phyaqua.F
r1707 r1795 16 16 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 17 17 18 usecomgeomphy, only : rlatd,rlond19 usedimphy, only : klon20 usesurface_data, only : type_ocean,ok_veget21 usepbl_surface_mod, only : pbl_surface_init18 USE comgeomphy, only : rlatd,rlond 19 USE dimphy, only : klon 20 USE surface_data, only : type_ocean,ok_veget 21 USE pbl_surface_mod, only : pbl_surface_init 22 22 USE fonte_neige_mod, only : fonte_neige_init 23 use phys_state_var_mod 24 use control_mod, only : dayref,nday,iphysiq 23 USE phys_state_var_mod 24 USE control_mod, only : dayref,nday,iphysiq 25 USE indice_sol_mod 25 26 26 27 USE IOIPSL … … 33 34 #include "clesphys.h" 34 35 #include "dimsoil.h" 35 #include "indicesol.h"36 36 #include "temps.h" 37 37 … … 89 89 integer, save:: read_climoz=0 ! read ozone climatology 90 90 91 91 ! intermediate variables to use getin 92 integer :: nbapp_rad_omp 93 real :: co2_ppm_omp,solaire_omp 94 logical :: alb_ocean_omp 95 real :: rugos_omp 92 96 !------------------------------------------------------------------------- 93 97 ! declaration pour l'appel a phyredem … … 160 164 zcufi=1. 161 165 zcvfi=1. 162 nbapp_rad=24 163 CALL getin('nbapp_rad',nbapp_rad) 166 !$OMP MASTER 167 nbapp_rad_omp=24 168 CALL getin('nbapp_rad',nbapp_rad_omp) 169 !$OMP END MASTER 170 !$OMP BARRIER 171 nbapp_rad=nbapp_rad_omp 164 172 165 173 !--------------------------------------------------------------------- … … 168 176 ! Initialisations des constantes 169 177 ! Ajouter les manquants dans planete.def... (albedo etc) 170 co2_ppm=348. 171 CALL getin('co2_ppm',co2_ppm) 172 solaire=1365. 173 CALL getin('solaire',solaire) 178 !$OMP MASTER 179 co2_ppm_omp=348. 180 CALL getin('co2_ppm',co2_ppm_omp) 181 solaire_omp=1365. 182 CALL getin('solaire',solaire_omp) 183 ! CALL getin('albedo',albedo) ! albedo is set below, depending on type_aqua 184 alb_ocean_omp=.true. 185 CALL getin('alb_ocean',alb_ocean_omp) 186 !$OMP END MASTER 187 !$OMP BARRIER 188 co2_ppm=co2_ppm_omp 189 solaire=solaire_omp 190 alb_ocean=alb_ocean_omp 191 174 192 radsol=0. 175 193 qsol_f=10. 176 ! CALL getin('albedo',albedo) ! albedo is set below, depending on type_aqua177 alb_ocean=.true.178 CALL getin('alb_ocean',alb_ocean)179 194 180 195 c Conditions aux limites: … … 208 223 endif 209 224 210 CALL getin('rugos',rugos) 225 !$OMP MASTER 226 rugos_omp=rugos 227 CALL getin('rugos',rugos_omp) 228 !$OMP END MASTER 229 !$OMP BARRIER 230 rugos=rugos_omp 211 231 zmasq(:)=pctsrf(:,is_oce) 212 232
Note: See TracChangeset
for help on using the changeset viewer.