Ignore:
Timestamp:
May 6, 2015, 12:14:12 PM (10 years ago)
Author:
ymipsl
Message:

Reorganize geometry and grid modules. Prepare physics for unstructutured grid support. Simplify initialization of physics from dynamic.
Compiled only with dynd3dmem, but not tested for moment.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/phyetat0.F90

    r3818 r3825  
    99  USE pbl_surface_mod,  ONLY : pbl_surface_init
    1010  USE surface_data,     ONLY : type_ocean, version_ocean
     11  USE geometry_mod,         ONLY : lon_degrees, lat_degrees
    1112  USE phys_state_var_mod, ONLY : ancien_ok, clwcon, detr_therm, dtime, &
    1213       qsol, fevap, z0m, z0h, agesno, &
     
    1415       falb_dir, falb_dif, &
    1516       ftsol, pbl_tke, pctsrf, q_ancien, radpas, radsol, rain_fall, ratqs, &
    16        rlat, rlon, rnebcon, rugoro, sig1, snow_fall, solaire_etat0, sollw, sollwdown, &
     17       rnebcon, rugoro, sig1, snow_fall, solaire_etat0, sollw, sollwdown, &
    1718       solsw, t_ancien, u_ancien, v_ancien, w01, wake_cstar, wake_deltaq, &
    1819       wake_deltat, wake_delta_pbl_TKE, delta_tsurf, wake_fip, wake_pe, &
     
    135136  clesphy0(8)=tab_cntrl( 12 )
    136137
    137   ! Lecture des latitudes (coordonnees):
    138 
    139   CALL get_field("latitude", rlat)
    140 
    141   ! Lecture des longitudes (coordonnees):
    142 
    143   CALL get_field("longitude", rlon)
    144138
    145139  ! Lecture du masque terre mer
     
    845839  ! Initialize module ocean_cpl_mod for the case of coupled ocean
    846840  IF ( type_ocean == 'couple' ) THEN
    847      CALL ocean_cpl_init(dtime, rlon, rlat)
    848   ENDIF
    849 
    850   CALL init_iophy_new(rlat, rlon)
     841     CALL ocean_cpl_init(dtime, lon_degrees, lat_degrees)
     842  ENDIF
     843
     844  CALL init_iophy_new(lon_degrees, lat_degrees)
    851845
    852846  ! Initilialize module fonte_neige_mod     
Note: See TracChangeset for help on using the changeset viewer.