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/comgeomphy.F90

    r1130 r1541  
    11module comgeomphy
    2    real,save,allocatable :: airephy(:)
    3    real,save,allocatable :: cuphy(:)
    4    real,save,allocatable :: cvphy(:)
    5    real,save,allocatable :: rlatd(:)
    6    real,save,allocatable :: rlond(:)
    7 !$OMP THREADPRIVATE(airephy,cuphy,cvphy,rlatd,rlond)
     2   real,save,allocatable :: cell_area(:) ! airephy(:)
     3   real,save,allocatable :: dx(:) !cuphy(:)
     4   real,save,allocatable :: dy(:) !cvphy(:)
     5   real,save,allocatable :: latitude(:) !rlatd(:)
     6   real,save,allocatable :: longitude(:) !rlond(:)
     7!$OMP THREADPRIVATE(cell_area,dx,dy,latitude,longitude)
    88contains
    99 
     
    1313   
    1414 
    15     allocate(airephy(klon_omp))
    16     allocate(cuphy(klon_omp))
    17     allocate(cvphy(klon_omp))
    18     allocate(rlatd(klon_omp))
    19     allocate(rlond(klon_omp))
     15    allocate(cell_area(klon_omp))
     16    allocate(dx(klon_omp))
     17    allocate(dy(klon_omp))
     18    allocate(latitude(klon_omp))
     19    allocate(longitude(klon_omp))
    2020
    2121  end subroutine initcomgeomphy
Note: See TracChangeset for help on using the changeset viewer.