Ignore:
Timestamp:
May 28, 2015, 10:36:35 AM (10 years ago)
Author:
aslmd
Message:

LMDZ.MARS -- commented redundant call to comgeomphy and corrected call to areas in moldiff_red

Location:
trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars
Files:
3 edited

Legend:

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

    r1428 r1431  
    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
     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
    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
     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)
    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)
     136!call ini_fillgeom(klon_omp,rlatd,rlond,airephy)
    137137call conf_phys(klon_omp,nlayer,nqtot)
    138138
  • trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/newstart.F

    r1422 r1431  
    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

    r1422 r1431  
    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
Note: See TracChangeset for help on using the changeset viewer.