Changeset 1523 for trunk/LMDZ.TITAN/libf


Ignore:
Timestamp:
Mar 28, 2016, 5:27:51 PM (9 years ago)
Author:
emillour
Message:

All models: More updates to make planetary codes (+Earth) setups converge.

  • in dyn3d_common:
  • convmas.F => convmas.F90
  • enercin.F => enercin.F90
  • flumass.F => flumass.F90
  • massbar.F => massbar.F90
  • tourpot.F => tourpot.F90
  • vitvert.F => vitvert.F90
  • in misc:
  • move "q_sat" from "dyn3d_common" to "misc" (in Earth model, it is also called by the physics)
  • move "write_field" from "dyn3d_common" to "misc"(may be called from physics or dynamics and depends on neither).
  • in phy_common:
  • move "write_field_phy" here since it may be called from any physics package)
  • add module "regular_lonlat_mod" to store global information on lon-lat grid
  • in dynlonlat_phylonlat/phy*:
  • turn "iniphysiq.F90" into module "iniphysiq_mod.F90" (and of course adapt gcm.F[90] and 1D models accordingly)

EM

Location:
trunk/LMDZ.TITAN/libf/phytitan
Files:
1 added
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/dyn1d/rcm1d.F

    r1517 r1523  
    1111     .                       aps,bps,scaleheight,pseudoalt,
    1212     .                       disvert_type,pressure_exner
     13      USE iniphysiq_mod, ONLY: iniphysiq
    1314      IMPLICIT NONE
    1415
     
    191192
    192193      CALL init_phys_lmdz(iim,jjm,llm,1,(/1/))
    193       CALL iniphysiq(1,1,llm,daysec,day0,dtphys,
    194      .            lati,long,area,cufi,cvfi,rad,g,r,cpp,1)
    195 
    196       call ini_cpdet
    197194
    198195c   la surface de chaque maille est inutile en 1D --->
     
    201198      cufi(1)=1.E+0
    202199      cvfi(1)=1.E+0
     200
     201c Ehouarn: iniphysiq requires arrays related to (3D) dynamics grid,
     202c e.g. for cell boundaries, which are meaningless in 1D; so pad these
     203c with '0.' when necessary
     204      CALL iniphysiq(1,1,llm,daysec,day0,dtphys,
     205     &            (/lati(1),0./),(/0./),
     206     &            (/0.,0./),(/long(1),0./),
     207     &            (/ (/area,0./),(/0.,0./) /),
     208     &            (/cufi,0.,0.,0./),
     209     &            (/cvfi,0./),
     210     &            rad,g,r,cpp,1)
     211
     212      call ini_cpdet
    203213
    204214c   le geopotentiel au sol est inutile en 1D car tout est controle
Note: See TracChangeset for help on using the changeset viewer.