Changeset 5592 for LMDZ6/branches/ICOLMDZISO/libf/phylmd
- Timestamp:
- Mar 26, 2025, 7:00:27 PM (8 months ago)
- Location:
- LMDZ6/branches/ICOLMDZISO/libf/phylmd
- Files:
-
- 7 edited
-
create_etat0_unstruct_mod.F90 (modified) (4 diffs)
-
fonte_neige_mod.F90 (modified) (6 diffs)
-
infotrac_phy.F90 (modified) (1 diff)
-
inifis_mod.F90 (modified) (1 diff)
-
pbl_surface_mod.F90 (modified) (3 diffs)
-
surf_land_mod.F90 (modified) (1 diff)
-
surf_landice_mod.F90 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/ICOLMDZISO/libf/phylmd/create_etat0_unstruct_mod.F90
r5204 r5592 92 92 USE geometry_mod 93 93 USE ioipsl_getin_p_mod, ONLY: getin_p 94 95 USE infotrac_phy, ONLY: niso 96 USE isotopes_routines_mod, ONLY: phyisoetat0 97 USE isotopes_mod, ONLY: iso_eau 98 USE isotopes_verif_mod, ONLY: iso_verif_egalite_vect2D,iso_verif_egalite 94 99 95 100 IMPLICIT NONE … … 112 117 REAL, DIMENSION(klon_mpi) :: cell_area_mpi 113 118 REAL, DIMENSION(klon_mpi,nbsrf) :: pctsrf_mpi 119 #ifdef ISO 120 REAL xtsnow(niso,klon, nbsrf) 121 REAL xtrun_off_lic_0(niso,klon) 122 REAL Rland_ice(niso,klon) 123 #endif 114 124 115 125 INCLUDE "compbl.h" … … 306 316 awake_s = 0. 307 317 318 308 319 CALL fonte_neige_init(run_off_lic_0) 309 320 CALL pbl_surface_init( fder, snsrf, qsurf, tsoil ) … … 314 325 END IF 315 326 ratqs_inter_ = 0.002 327 328 329 #ifdef ISO 330 ! initialise les isotopes 331 write(*,*) 'phyetat0 1069' 332 CALL phyisoetat0 (snow,run_off_lic_0, & 333 & xtsnow,xtrun_off_lic_0, & 334 & Rland_ice) 335 #ifdef ISOVERIF 336 write(*,*) 'phyetat0 1074' 337 if (iso_eau.gt.0) then 338 call iso_verif_egalite_vect2D( & 339 & xtsnow,snow, & 340 & 'phyetat0 1101a',niso,klon,nbsrf) 341 do i=1,klon 342 call iso_verif_egalite(Rland_ice(iso_eau,i),1.0, & 343 & 'phyetat0 1101b') 344 enddo 345 endif 346 write(*,*) 'phyetat0 1102' 347 #endif 348 #endif 349 350 #ifdef ISO 351 CALL fonte_neige_init_iso(xtrun_off_lic_0) 352 #endif 353 354 355 #ifdef ISO 356 CALL pbl_surface_init_iso(xtsnow,Rland_ice) 357 #endif 316 358 317 359 CALL gather_omp(cell_area,cell_area_mpi) -
LMDZ6/branches/ICOLMDZISO/libf/phylmd/fonte_neige_mod.F90
r5022 r5592 170 170 IF (error /= 0) THEN 171 171 abort_message='Pb allocation run_off_lic' 172 CALL abort_ gcm(modname,abort_message,1)172 CALL abort_physic(modname,abort_message,1) 173 173 ENDIF 174 174 … … 191 191 IF (error /= 0) THEN 192 192 abort_message='Pb allocation xtrun_off_ter' 193 CALL abort_ gcm(modname,abort_message,1)193 CALL abort_physic(modname,abort_message,1) 194 194 ENDIF 195 195 xtrun_off_ter(:,:) = 0. … … 198 198 IF (error /= 0) THEN 199 199 abort_message='Pb allocation xtrun_off_lic' 200 CALL abort_ gcm(modname,abort_message,1)200 CALL abort_physic(modname,abort_message,1) 201 201 ENDIF 202 202 xtrun_off_lic(:,:) = 0. … … 205 205 IF (error /= 0) THEN 206 206 abort_message='Pb allocation fxtfonte_global' 207 CALL abort_ gcm(modname,abort_message,1)207 CALL abort_physic(modname,abort_message,1) 208 208 ENDIF 209 209 fxtfonte_global(:,:,:) = 0.0 … … 212 212 IF (error /= 0) THEN 213 213 abort_message='Pb allocation fxtcalving_global' 214 CALL abort_ gcm(modname,abort_message,1)214 CALL abort_physic(modname,abort_message,1) 215 215 ENDIF 216 216 fxtcalving_global(:,:,:) = 0.0 … … 219 219 IF (error /= 0) THEN 220 220 abort_message='Pb allocation xtrunofflic_global' 221 CALL abort_ gcm(modname,abort_message,1)221 CALL abort_physic(modname,abort_message,1) 222 222 ENDIF 223 223 xtrunofflic_global(:,:) = 0.0 -
LMDZ6/branches/ICOLMDZISO/libf/phylmd/infotrac_phy.F90
r5200 r5592 464 464 #endif 465 465 CALL msg('end', modname) 466 466 467 467 END SUBROUTINE init_infotrac_phy 468 468 -
LMDZ6/branches/ICOLMDZISO/libf/phylmd/inifis_mod.F90
r3435 r5592 76 76 END IF 77 77 END IF 78 79 CALL init_isotopes 80 81 END SUBROUTINE inifis 78 82 79 END SUBROUTINE inifis 80 83 84 SUBROUTINE init_isotopes 85 USE infotrac_phy,ONLY : niso, nzone, ntraciso=>ntiso 86 USE isotrac_mod, ONLY: iso_traceurs_init 87 USE isotopes_mod, ONLY: iso_init 88 USE isotopes_verif_mod, ONLY: iso_verif_init 89 IMPLICIT NONE 90 91 ! C Risi: vérifier compatibilité des options isotopiques entre 92 ! dyn3dmem et physiq 93 #ifdef ISO 94 write(*,*) 'ok_isotopes,ntraciso,niso=',niso>0,ntraciso,niso 95 IF(niso <= 0) CALL abort_physic('init_isotopes','options iso incompatibles',1) 96 #ifdef ISOTRAC 97 IF(nzone <= 0) CALL abort_physic('init_isotopes','options isotrac incompatibles',1) 98 #else 99 IF(nzone > 0) CALL abort_physic('init_isotopes','options isotrac incompatibles',1) 100 #endif 101 #else 102 if(niso > 0) CALL abort_physic('init_isotopes','options iso incompatibles',1) 103 #endif 104 105 #ifdef ISO 106 ! initialisations isotopiques 107 #ifdef ISOVERIF 108 write(*,*) 'ok_isotopes=',niso > 0 109 #endif 110 if (niso > 0) call iso_init() 111 #ifdef ISOTRAC 112 IF(nzone > 0) then 113 call iso_traceurs_init() 114 endif 115 #endif 116 #ifdef ISOVERIF 117 call iso_verif_init() 118 #endif 119 #endif 120 121 END SUBROUTINE init_isotopes 122 81 123 END MODULE inifis_mod -
LMDZ6/branches/ICOLMDZISO/libf/phylmd/pbl_surface_mod.F90
r5171 r5592 226 226 227 227 ALLOCATE(xtsnow(niso,klon,nbsrf), stat=ierr) 228 IF (ierr /= 0) CALL abort_ gcm('pbl_surface_init', 'pb in allocation',1)228 IF (ierr /= 0) CALL abort_physic('pbl_surface_init', 'pb in allocation',1) 229 229 230 230 ALLOCATE(Rland_ice(niso,klon), stat=ierr) 231 IF (ierr /= 0) CALL abort_ gcm('pbl_surface_init', 'pb in allocation',1)231 IF (ierr /= 0) CALL abort_physic('pbl_surface_init', 'pb in allocation',1) 232 232 233 233 ALLOCATE(Roce(niso,klon), stat=ierr) 234 IF (ierr /= 0) CALL abort_ gcm('pbl_surface_init', 'pb in allocation',1)234 IF (ierr /= 0) CALL abort_physic('pbl_surface_init', 'pb in allocation',1) 235 235 236 236 xtsnow(:,:,:) = xtsnow_rst(:,:,:) … … 2265 2265 ELSE IF (iflag_split .ge. 1) THEN 2266 2266 #ifdef ISO 2267 call abort_ gcm('pbl_surface_mod 2149','isos pas encore dans iflag_split=1',1)2267 call abort_physic('pbl_surface_mod 2149','isos pas encore dans iflag_split=1',1) 2268 2268 #endif 2269 2269 … … 2749 2749 IF (iflag_split .GE. 1) THEN 2750 2750 #ifdef ISO 2751 call abort_ gcm('pbl_surface_mod 2607','isos pas encore dans iflag_split=1',1)2751 call abort_physic('pbl_surface_mod 2607','isos pas encore dans iflag_split=1',1) 2752 2752 #endif 2753 2753 ! -
LMDZ6/branches/ICOLMDZISO/libf/phylmd/surf_land_mod.F90
r5022 r5592 229 229 230 230 #ifdef ISO 231 CALL abort_ gcm('surf_land_mod 220','isos pas prevus dans orchidee',1)231 CALL abort_physic('surf_land_mod 220','isos pas prevus dans orchidee',1) 232 232 #endif 233 233 ! temporary for keeping same results using lwdown_m instead of lwdown -
LMDZ6/branches/ICOLMDZISO/libf/phylmd/surf_landice_mod.F90
r5196 r5592 268 268 269 269 #ifdef ISO 270 CALL abort_ gcm('surf_landice 235','isotopes pas dans INLANDSIS',1)270 CALL abort_physic('surf_landice 235','isotopes pas dans INLANDSIS',1) 271 271 #endif 272 272
Note: See TracChangeset
for help on using the changeset viewer.
