Changeset 1433


Ignore:
Timestamp:
May 28, 2015, 2:50:02 PM (10 years ago)
Author:
aslmd
Message:

commit 1431 removed important initializations. this is corrected. only modifications in moldiff_red were kept from 1431.

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

Legend:

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

    r1431 r1433  
    1111                               klon_mpi_begin ! start indes of columns (on local mpi grid)
    1212
    13 !use comgeomphy, only : initcomgeomphy, &
    14 !                       airephy, & ! physics grid area (m2)
    15 !                       cuphy, & ! cu coeff. (u_covariant = cu * u)
    16 !                       cvphy, & ! cv coeff. (v_covariant = cv * v)
    17 !                       rlond, & ! longitudes
    18 !                       rlatd ! latitudes
     13use comgeomphy, only : initcomgeomphy, &
     14                       airephy, & ! physics grid area (m2)
     15                       cuphy, & ! cu coeff. (u_covariant = cu * u)
     16                       cvphy, & ! cv coeff. (v_covariant = cv * v)
     17                       rlond, & ! longitudes
     18                       rlatd ! latitudes
    1919use infotrac, only : nqtot ! number of advected tracers
    2020use comgeomfi_h, only: ini_fillgeom
     
    116116
    117117
    118 !!$OMP PARALLEL
    119 !! Now generate local lon/lat/cu/cv/area arrays
    120 !call initcomgeomphy
    121 !
    122 !!!!!$OMP PARALLEL PRIVATE(ibegin,iend)
    123 !!!!$OMP+         SHARED(parea,pcu,pcv,plon,plat)
    124 !
    125 !offset=klon_mpi_begin-1
    126 !airephy(1:klon_omp)=airefi(offset+klon_omp_begin:offset+klon_omp_end)
    127 !cuphy(1:klon_omp)=cufi(offset+klon_omp_begin:offset+klon_omp_end)
    128 !cvphy(1:klon_omp)=cvfi(offset+klon_omp_begin:offset+klon_omp_end)
    129 !rlond(1:klon_omp)=lonfi(offset+klon_omp_begin:offset+klon_omp_end)
    130 !rlatd(1:klon_omp)=latfi(offset+klon_omp_begin:offset+klon_omp_end)
     118!$OMP PARALLEL
     119! Now generate local lon/lat/cu/cv/area arrays
     120call initcomgeomphy
     121
     122!!!!$OMP PARALLEL PRIVATE(ibegin,iend)
     123!!!$OMP+         SHARED(parea,pcu,pcv,plon,plat)
     124     
     125offset=klon_mpi_begin-1
     126airephy(1:klon_omp)=airefi(offset+klon_omp_begin:offset+klon_omp_end)
     127cuphy(1:klon_omp)=cufi(offset+klon_omp_begin:offset+klon_omp_end)
     128cvphy(1:klon_omp)=cvfi(offset+klon_omp_begin:offset+klon_omp_end)
     129rlond(1:klon_omp)=lonfi(offset+klon_omp_begin:offset+klon_omp_end)
     130rlatd(1:klon_omp)=latfi(offset+klon_omp_begin:offset+klon_omp_end)
    131131
    132132! copy some fundamental parameters to physics
     
    134134call phys_state_var_init(klon_omp,nlayer,nqtot, &
    135135                         punjours,ptimestep,prad,pg,pr,pcpp)
    136 !call ini_fillgeom(klon_omp,rlatd,rlond,airephy)
     136call ini_fillgeom(klon_omp,rlatd,rlond,airephy)
    137137call conf_phys(klon_omp,nlayer,nqtot)
    138138
  • trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/newstart.F

    r1431 r1433  
    2929      use phyredem, only: physdem0, physdem1
    3030      use iostart, only: open_startphy
    31 !      use comgeomphy, only: initcomgeomphy
     31      use comgeomphy, only: initcomgeomphy
    3232!      use planete_h
    3333      use dimradmars_mod, only: tauscaling
     
    182182! initialize "serial/parallel" related stuff
    183183      CALL init_phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/))
    184       !call initcomgeomphy
     184      call initcomgeomphy
    185185
    186186! Load tracer number and names:
  • trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/start2archive.F

    r1431 r1433  
    2323      use surfdat_h, only: ini_surfdat_h, qsurf
    2424      use comsoil_h, only: ini_comsoil_h
    25 !      use comgeomphy, only: initcomgeomphy
     25      use comgeomphy, only: initcomgeomphy
    2626      use filtreg_mod, only: inifilr
    2727      use control_mod, only: planet_type
     
    118118! initialize "serial/parallel" related stuff
    119119      CALL init_phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/))
    120       !call initcomgeomphy
     120      call initcomgeomphy
    121121      planet_type='mars'
    122122
  • trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F

    r1431 r1433  
    1313      use control_mod, only: day_step
    1414      use phyredem, only: physdem0,physdem1
    15 !      use comgeomphy, only: initcomgeomphy
     15      use comgeomphy, only: initcomgeomphy
    1616      use planete_h, only: year_day, periheli, aphelie, peri_day,
    1717     &                     obliquit, emin_turb, lmixmin
     
    117117!      CALL init_phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/))
    118118      CALL init_phys_lmdz(iim,jjm+1,llm,1,(/(jjm-1)*iim+2/))
    119       !call initcomgeomphy
     119      call initcomgeomphy
    120120
    121121c ------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.