Changeset 2342 for LMDZ5/trunk/libf/phy_common
- Timestamp:
- Aug 19, 2015, 3:21:38 PM (9 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phy_common/write_field_phy.F90
r2340 r2342 1 1 ! 2 ! $ Header$2 ! $Id$ 3 3 ! 4 4 MODULE write_field_phy 5 5 6 ! Dump a field on the global (nbp_lon by nbp_lat) physics grid 7 6 8 CONTAINS 7 9 8 10 SUBROUTINE WriteField_phy(name,Field,ll) 9 USE dimphy 10 USE mod_phys_lmdz_para 11 USE mod_grid_phy_lmdz 12 USE Write_Field 11 USE mod_phys_lmdz_para, ONLY: klon_omp, is_mpi_root, & 12 Gather 13 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, klon_glo, & 14 Grid1Dto2D_glo 15 USE Write_Field, ONLY: WriteField 13 16 14 17 IMPLICIT NONE 15 include 'dimensions.h'16 include 'paramet.h'17 18 18 character(len=*):: name19 INTEGER :: ll20 real, dimension(klon_omp,ll) :: Field21 real,save,allocatable :: Field_tmp(:,:) 19 CHARACTER(len=*),INTENT(IN) :: name 20 INTEGER,INTENT(IN) :: ll 21 REAL,INTENT(IN) :: Field(klon_omp,ll) 22 22 23 real, dimension(klon_glo,ll):: New_Field 23 real, dimension( iim,jjp1,ll):: Field_2d24 real, dimension(nbp_lon,nbp_lat,ll):: Field_2d 24 25 25 26 CALL Gather(Field,New_Field)
Note: See TracChangeset
for help on using the changeset viewer.