Ignore:
Timestamp:
Apr 17, 2016, 10:23:21 PM (9 years ago)
Author:
emillour
Message:

Mars GCM:

  • fix for 1D in writediagfi to enable writing at "ecritphy" rate.
  • removed iniprint.h from phymars/dyn1d since it is in "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.MARS/libf/phymars/writediagsoil.F90

    r1532 r1541  
    1313
    1414use comsoil_h, only: nsoilmx, inertiedat
    15 use comgeomphy, only: airephy
     15use comgeomphy, only: cell_area
    1616use time_phylmdz_mod, only: ecritphy, day_step, iphysiq
    1717use mod_phys_lmdz_para, only : is_mpi_root, is_master, gather
     
    102102   ! Gather inertiedat() soil thermal inertia on physics grid
    103103   call Gather(inertiedat,inertiafi_glo)
    104    ! Gather airephy() mesh area on physics grid
    105    call Gather(airephy,areafi_glo)
     104   ! Gather cell_area() mesh area on physics grid
     105   call Gather(cell_area,areafi_glo)
    106106#else
    107107         inertiafi_glo(:,:)=inertiedat(:,:)
    108          areafi_glo(:)=airephy(:)
     108         areafi_glo(:)=cell_area(:)
    109109#endif
    110110
Note: See TracChangeset for help on using the changeset viewer.