Ignore:
Timestamp:
Apr 18, 2014, 11:42:36 AM (11 years ago)
Author:
emillour
Message:

Mars GCM:
Some minor fixes and cleanup.

  • allocation of qsurf() was missing in start2archive
  • 'tauscaling' was missing from argument list when calling physdem1 in testphys1d

EM

Location:
trunk/LMDZ.MARS/libf/phymars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/phyetat0.F90

    r1226 r1229  
    1010                     get_field, get_var, inquire_field, &
    1111                     inquire_dimension, inquire_dimension_length
    12   use planete_h 
    13   use comcstfi_h
    1412
    1513  implicit none
  • trunk/LMDZ.MARS/libf/phymars/physiq.F

    r1226 r1229  
    3333     &                          dtrad, fluxrad_sky, fluxrad, albedo
    3434      use turb_mod, only: q2, wstar, hfmax_th
    35       use planete_h
    36       USE comcstfi_h
     35      use planete_h, only: aphelie, periheli, year_day, peri_day,
     36     &                     obliquit
     37      USE comcstfi_h, only: r, cpp, mugaz, g, rcp, pi, rad, daysec
    3738#ifdef MESOSCALE
    3839      use comsoil_h, only: mlayer,layer
  • trunk/LMDZ.MARS/libf/phymars/start2archive.F

    r1224 r1229  
    134134! allocate arrays:
    135135      allocate(q(ip1jmp1,llm,nqtot))
     136      allocate(qsurf(ngridmx,nqtot))
    136137      allocate(qsurfS(ip1jmp1,nqtot))
    137138      call ini_surfdat_h(ngridmx,nqtot)
  • trunk/LMDZ.MARS/libf/phymars/testphys1d.F

    r1226 r1229  
    1515      use phyredem, only: physdem0,physdem1
    1616      use comgeomphy, only: initcomgeomphy
    17       use planete_h
    18       use comcstfi_h
     17      use planete_h, only: year_day, periheli, aphelie, peri_day,
     18     &                     obliquit, emin_turb, lmixmin
     19      use comcstfi_h, only: pi, rad, daysec, omeg, g, mugaz, rcp, r,
     20     &                      cpp, dtphys
     21      use dimradmars_mod, only: tauscaling
    1922      IMPLICIT NONE
    2023
     
    677680      call physdem1("startfi.nc",nsoilmx,ngrid,llm,nq,
    678681     .              dtphys,time,
    679      .              tsurf,tsoil,co2ice,emis,q2,qsurf)
     682     .              tsurf,tsoil,co2ice,emis,q2,qsurf,tauscaling)
    680683
    681684c=======================================================================
Note: See TracChangeset for help on using the changeset viewer.