Ignore:
Timestamp:
Apr 22, 2016, 9:02:11 AM (9 years ago)
Author:
emillour
Message:

All models: Further adaptations to keep up with changes in LMDZ5 concerning
physics/dynamics separation:

  • dyn3d:
  • adapted gcm.F so that all physics initializations are now done in iniphysiq.
  • dyn3dpar:
  • adapted gcm.F so that all physics initializations are now done in iniphysiq.
  • updated calfis_p.F to follow up with changes.
  • copied over updated "bands.F90" from LMDZ5.
  • dynphy_lonlat:
  • calfis_p.F90, mod_interface_dyn_phys.F90, follow up of changes in phy_common/mod_* routines
  • phy_common:
  • added "geometry_mod.F90" to store information about the grid (replaces phy*/comgeomphy.F90) and give variables friendlier names: rlond => longitude , rlatd => latitude, airephy => cell_area, cuphy => dx , cvphy => dy
  • added "physics_distribution_mod.F90"
  • updated "mod_grid_phy_lmdz.F90", "mod_phys_lmdz_mpi_data.F90", "mod_phys_lmdz_para.F90", "mod_phys_lmdz_mpi_transfert.F90", "mod_grid_phy_lmdz.F90", "mod_phys_lmdz_omp_data.F90", "mod_phys_lmdz_omp_transfert.F90", "write_field_phy.F90" and "ioipsl_getin_p_mod.F90" to LMDZ5 versions.
  • phy[venus/titan/mars/std]:
  • removed "init_phys_lmdz.F90", "comgeomphy.F90"; adapted routines to use geometry_mod (longitude, latitude, cell_area, etc.)

EM

Location:
trunk/LMDZ.MARS/libf/phymars/dyn1d
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F

    r1541 r1543  
    33! to use  'getin'
    44      USE ioipsl_getincom, only: getin
     5      use dimphy, only : init_dimphy
     6      use mod_grid_phy_lmdz, only : regular_lonlat
    57      use infotrac, only: nqtot, tname
    68      use comsoil_h, only: volcapa, layer, mlayer, inertiedat, nsoilmx
     
    1214      use slope_mod, only: theta_sl, psi_sl
    1315      use phyredem, only: physdem0,physdem1
    14       use comgeomphy, only: initcomgeomphy, cell_area
     16      use geometry_mod, only: init_geometry
    1517      use planete_h, only: year_day, periheli, aphelie, peri_day,
    1618     &                     obliquit, emin_turb, lmixmin
     
    2123      USE comvert_mod, ONLY: ap,bp,aps,bps,pa,preff,sig
    2224      USE logic_mod, ONLY: hybrid
     25      use physics_distribution_mod, only: init_physics_distribution
    2326      use regular_lonlat_mod, only: init_regular_lonlat
     27      use mod_interface_dyn_phys, only: init_interface_dyn_phys
    2428      USE phys_state_var_init_mod, ONLY: phys_state_var_init
    2529      IMPLICIT NONE
     
    106110      Logical  tracerdyn
    107111      integer :: nq=1 ! number of tracers
    108       real :: latitude(1), longitude(1)
     112      real :: latitude(1), longitude(1), cell_area(1)
    109113
    110114      character*2 str2
     
    119123! initialize "serial/parallel" related stuff
    120124!      CALL init_phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/))
    121       CALL init_phys_lmdz(1,1,llm,1,(/1/))
    122       call initcomgeomphy
     125!      CALL init_phys_lmdz(1,1,llm,1,(/1/))
     126!      call initcomgeomphy
    123127
    124128c ------------------------------------------------------
     
    483487!Mars possible matter with dtphys in input and include!!!
    484488! Initializations below should mimick what is done in iniphysiq for 3D GCM
     489      call init_physics_distribution(regular_lonlat,4,
     490     &                               1,1,1,nlayer,1)
     491      call init_interface_dyn_phys
    485492      call init_regular_lonlat(1,1,longitude,latitude,
    486493     &                   (/0.,0./),(/0.,0./))
     494      call init_geometry(1,longitude,latitude,
     495     &                   (/0.,0.,0.,0./),(/0.,0.,0.,0./),
     496     &                   cell_area)
     497      call init_dimphy(1,nlayer) ! Initialize dimphy module
    487498      call phys_state_var_init(1,llm,nq,
    488499     .          day0,time,daysec,dtphys,rad,g,r,cpp)
Note: See TracChangeset for help on using the changeset viewer.