Changeset 2732 for trunk/LMDZ.GENERIC


Ignore:
Timestamp:
Jun 21, 2022, 11:24:13 AM (3 years ago)
Author:
aslmd
Message:

took into account unstructured grid in writediagspec*.F

Location:
trunk/LMDZ.GENERIC/libf/phystd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/writediagspecIR.F

    r1543 r2732  
    4646      use mod_phys_lmdz_para, only : is_mpi_root, is_master, gather
    4747      use mod_grid_phy_lmdz, only : klon_glo, Grid1Dto2D_glo,
    48      &                              nbp_lon, nbp_lat
     48     &                              nbp_lon, nbp_lat, grid_type,
     49     &                              unstructured
    4950      use time_phylmdz_mod, only: ecritphy, iphysiq, day_step, day_ini
    5051      use callkeys_mod, only: iradia
     
    9899      real areafi_glo(ngrid) ! mesh area on global physics grid
    99100#endif
     101      if (grid_type == unstructured) then
     102        return
     103      endif
    100104
    101105!***************************************************************
  • trunk/LMDZ.GENERIC/libf/phystd/writediagspecVI.F

    r1543 r2732  
    4646      use mod_phys_lmdz_para, only : is_mpi_root, is_master, gather
    4747      use mod_grid_phy_lmdz, only : klon_glo, Grid1Dto2D_glo,
    48      &                              nbp_lon, nbp_lat
     48     &                              nbp_lon, nbp_lat, grid_type,
     49     &                              unstructured
    4950      use time_phylmdz_mod, only: ecritphy, iphysiq, day_step, day_ini
    5051      use callkeys_mod, only: iradia
     
    9899      real areafi_glo(ngrid) ! mesh area on global physics grid
    99100#endif
     101      if (grid_type == unstructured) then
     102        return
     103      endif
    100104
    101105!***************************************************************
Note: See TracChangeset for help on using the changeset viewer.