Ignore:
Timestamp:
Aug 25, 2015, 5:14:59 PM (9 years ago)
Author:
Ehouarn Millour
Message:

More on physics/dynamics separation and cleanup:

  • Set things up so that all physics-related initializations are done via iniphysiq.
  • Created a "geometry_mod.F90" module in phy_common to store information on the loacl grid (i.e. replaces comgeomphy) and moreover give these variables more obvious names (e.g.: rlond => longitude, rlatd => latitude, airephy => cell_area).
  • removed obsolete comgeomphy.h and comgeomphy.F90

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3dmem/gcm.F90

    r2347 r2351  
    1010  USE parallel_lmdz
    1111  USE infotrac
    12 #ifdef CPP_PHYS
    13   USE mod_interface_dyn_phys, ONLY: init_interface_dyn_phys
    14 #endif
     12!#ifdef CPP_PHYS
     13!  USE mod_interface_dyn_phys, ONLY: init_interface_dyn_phys
     14!#endif
    1515  USE mod_hallo
    1616  USE Bands
     
    152152  call Read_Distrib
    153153
    154 #ifdef CPP_PHYS
    155   CALL Init_Phys_lmdz(iim,jjp1,llm,mpi_size,distrib_phys)
     154!#ifdef CPP_PHYS
     155!  CALL Init_Phys_lmdz(iim,jjp1,llm,mpi_size,distrib_phys)
    156156  !#endif
    157157  !      CALL set_bands
    158158  !#ifdef CPP_PHYS
    159   CALL Init_interface_dyn_phys
    160 #endif
     159!  CALL Init_interface_dyn_phys
     160!#endif
    161161  CALL barrier
    162162
     
    397397     ! Physics:
    398398#ifdef CPP_PHYS
    399      CALL iniphysiq(iim,jjm,llm,daysec,day_ini,dtphys/nsplit_phys, &
     399     CALL iniphysiq(iim,jjm,llm, &
     400          distrib_phys(mpi_rank),comm_lmdz, &
     401          daysec,day_ini,dtphys/nsplit_phys, &
    400402          rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, &
    401403          iflag_phys)
Note: See TracChangeset for help on using the changeset viewer.