Changeset 476


Ignore:
Timestamp:
Dec 15, 2011, 4:22:43 PM (13 years ago)
Author:
emillour
Message:

Mars GCM: minor correction in aeronomars/calchim.F and aeronomars/surfacearea.F : calls to wstats should always be embeded in if (callstats) condition.
EM

Location:
trunk/LMDZ.MARS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r473 r476  
    13491349   and improved to Mars.
    13501350
     1351== 15/12/2011 == EM
     1352>> minor correction in aeronomars/calchim.F and aeronomars/surfacearea.F :
     1353   calls to wstats should always be embeded in if (callstats) condition.
  • trunk/LMDZ.MARS/libf/aeronomars/calchim.F

    r459 r476  
    493493            call writediagfi(ngridmx,'jo3','j o3->o1d',
    494494     $                       's-1',3,jo3_3d(1,1))
     495           if (callstats) then
    495496            call wstats(ngridmx,'jo3','j o3->o1d',
    496497     $                       's-1',3,jo3_3d(1,1))
     498           endif
    497499         end if ! of if (ngridmx.gt.1)
    498500      endif ! of if (output)
  • trunk/LMDZ.MARS/libf/aeronomars/surfacearea.F

    r463 r476  
    101101
    102102! write diagnostics in micron2/cm3
    103 
    104       call wstats(ngrid,"surfdust", "Dust surface area",
     103     
     104      if (callstats) then
     105        call wstats(ngrid,"surfdust", "Dust surface area",
    105106     $            "micron2 cm-3",3,surfdust*1.e6)
     107      endif
    106108      call writediagfi(ngrid,"surfdust", "Dust cloud surface area",
    107109     $            "micron2 cm-3",3,surfdust*1.e6)
    108       call wstats(ngrid,"surfice", "Ice cloud surface area",
     110      if (callstats) then
     111        call wstats(ngrid,"surfice", "Ice cloud surface area",
    109112     $            "micron2 cm-3",3,surfice*1.e6)
     113      endif
    110114      call writediagfi(ngrid,"surfice", "Ice cloud surface area",
    111115     $            "micron2 cm-3",3,surfice*1.e6)
Note: See TracChangeset for help on using the changeset viewer.