Ignore:
Timestamp:
Apr 18, 2016, 8:45:35 AM (9 years ago)
Author:
emillour
Message:

Generic GCM:

  • fix for 1D in writediagfi to enable writing at "ecritphy" rate.
  • move iniprint.h to "misc"
  • Some code cleanup in anticipation of future updates:
    • changed variable names in comgeomphy.F90: give them more explicit names: rlond => longitude , rlatd => latitude, airephy => cell_area, cuphy => dx , cvphy => dy
    • removed long(), lati() and area() from comgeomfi_h.F90, use longitude(), latitude() and cell_are() from comgeomphy.F90 instead

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/inifis_mod.F90

    r1538 r1542  
    1313  use datafile_mod, only: datadir
    1414  use comdiurn_h, only: sinlat, coslat, sinlon, coslon
    15   use comgeomfi_h, only: long, lati, area, totarea, totarea_planet
     15  use comgeomfi_h, only: totarea, totarea_planet
    1616  use comsoil_h, only: ini_comsoil_h, nsoilmx, lay1_soil, alpha_soil
    1717  use time_phylmdz_mod, only: ecritphy,day_step,iphysiq, &
     
    710710!     ------------------------
    711711
    712   ! ALLOCATE ARRAYS IN comgeomfi_h
    713   IF (.not. ALLOCATED(lati)) ALLOCATE(lati(ngrid))
    714   IF (.not. ALLOCATED(long)) ALLOCATE(long(ngrid))
    715   IF (.not. ALLOCATED(area)) ALLOCATE(area(ngrid))
    716 
    717   CALL SCOPY(ngrid,plon,1,long,1)
    718   CALL SCOPY(ngrid,plat,1,lati,1)
    719   CALL SCOPY(ngrid,parea,1,area,1)
    720   totarea=SSUM(ngrid,area,1)
    721   call planetwide_sumval(area,totarea_planet)
     712  ! Initializations for comgeomfi_h
     713  totarea=SSUM(ngrid,parea,1)
     714  call planetwide_sumval(parea,totarea_planet)
    722715
    723716  !! those are defined in comdiurn_h.F90
Note: See TracChangeset for help on using the changeset viewer.