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/dyn3d/gcm.F90

    r2347 r2351  
    2222  USE infotrac
    2323  USE control_mod
     24  USE mod_const_mpi, ONLY: COMM_LMDZ
    2425
    2526#ifdef INCA
     
    181182  ! A nettoyer. On ne veut qu'une ou deux routines d'interface
    182183  ! dynamique -> physique pour l'initialisation
    183 #ifdef CPP_PHYS
    184   CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/))
    185   !      call InitComgeomphy ! now done in iniphysiq
    186 #endif
     184!#ifdef CPP_PHYS
     185!  CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/))
     186!  !      call InitComgeomphy ! now done in iniphysiq
     187!#endif
    187188!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    188189  !-----------------------------------------------------------------------
     
    415416     ! Physics:
    416417#ifdef CPP_PHYS
    417      CALL iniphysiq(iim,jjm,llm,daysec,day_ini,dtphys/nsplit_phys, &
     418     CALL iniphysiq(iim,jjm,llm, &
     419          (jjm-1)*iim+2,comm_lmdz, &
     420          daysec,day_ini,dtphys/nsplit_phys, &
    418421          rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, &
    419422          iflag_phys)
Note: See TracChangeset for help on using the changeset viewer.