--- trunk/libf/dyn3d/etat0_lim.f90 2008/02/27 13:16:39 3 +++ trunk/dyn3d/ce0l.f 2018/12/10 15:54:30 313 @@ -1,19 +1,37 @@ -PROGRAM etat0_lim +PROGRAM ce0l ! This program sets the initial and boundary values. - use comconst, only: initialize + use comdissnew, only: read_comdissnew use conf_gcm_m, only: conf_gcm - use etat0_mod, only: etat0 + use dimensions, only: iim, jjm + use dimphy, only: klon + use dynetat0_chosen_m, only: read_serre + use etat0_m, only: etat0 + use grilles_gcm_netcdf_sub_m, only: grilles_gcm_netcdf_sub + use indicesol, only: nbsrf use limit_mod, only: limit + use unit_nml_m, only: unit_nml, set_unit_nml implicit none + REAL phis(iim + 1, jjm + 1) ! surface geopotential, in m2 s-2 + + REAL pctsrf(klon, nbsrf) + ! ("pctsrf(i, :)" is the composition of the surface at horizontal + ! position "i") + !------------------------------------- - call initialize + call set_unit_nml + open(unit_nml, file="used_namelists.txt", status="replace", action="write") CALL conf_gcm - CALL etat0 - CALL limit + call read_comdissnew + call read_serre + CALL etat0(phis, pctsrf) + CALL limit(pctsrf) + CALL grilles_gcm_netcdf_sub(phis) + close(unit_nml) + print *, "ce0l: done" -END PROGRAM etat0_lim +END PROGRAM ce0l