--- trunk/libf/dyn3d/etat0_lim.f90 2012/01/30 12:54:02 57 +++ trunk/dyn3d/ce0l.f 2014/09/18 19:56:46 113 @@ -1,22 +1,29 @@ -PROGRAM etat0_lim +PROGRAM ce0l ! This program sets the initial and boundary values. use conf_gcm_m, only: conf_gcm + use dimens_m, only: iim, jjm use etat0_mod, only: etat0 + use grilles_gcm_netcdf_sub_m, only: grilles_gcm_netcdf_sub use jumble, only: new_unit use limit_mod, only: limit + use serre, only: read_serre use unit_nml_m, only: unit_nml implicit none + REAL phis(iim + 1, jjm + 1) ! surface geopotential, in m2 s-2 + !------------------------------------- call new_unit(unit_nml) - open(unit_nml, file="used_namelists", status="replace", action="write") + open(unit_nml, file="used_namelists.txt", status="replace", action="write") CALL conf_gcm - CALL etat0 + call read_serre + CALL etat0(phis) CALL limit + CALL grilles_gcm_netcdf_sub(phis) close(unit_nml) -END PROGRAM etat0_lim +END PROGRAM ce0l