Ignore:
Timestamp:
Apr 4, 2014, 2:39:54 PM (11 years ago)
Author:
Ehouarn Millour
Message:

Further cleanup concerning XIOS (mainly about axes being defined as axes and not as groups of axes).
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/iophy.F90

    r2001 r2002  
    883883                                 nid_files
    884884#ifdef CPP_XIOS
    885   USE wxios, only: wxios_write_2D
     885  USE xios, only: xios_send_field
    886886#endif
    887887
     
    952952                     write(lunout,*)'Dans iophy histwrite2D,iff,var%name ',&
    953953                                    iff,trim(var%name)                       
    954                      write(lunout,*)"histwrite2d_phy:.NOT.clef_stations(iff)and iff==iff_beg, call wxios_write_2D"
     954                     write(lunout,*)"histwrite2d_phy:.NOT.clef_stations(iff)and iff==iff_beg, call xios_send_field"
    955955                  endif
    956                   CALL wxios_write_2D(var%name, Field2d)
     956                  CALL xios_send_field(var%name, Field2d)
    957957                  firstx=.false.
    958958               ENDIF
     
    968968!                        IF (iff == iff_beg) THEN
    969969!                          if (prt_level >= 10) then
    970 !                            write(lunout,*)"histwrite2d_phy: .NOT.clef_stations(iff) and iff==iff_beg, call wxios_write_2D"
     970!                            write(lunout,*)"histwrite2d_phy: .NOT.clef_stations(iff) and iff==iff_beg, call xios_send_field"
    971971!                          endif
    972 !                          CALL wxios_write_2D(var%name, Field2d)
     972!                          CALL xios_send_field(var%name, Field2d)
    973973!                        ENDIF
    974974!#endif
     
    10191019                                 nid_files
    10201020#ifdef CPP_XIOS
    1021   USE wxios, only: wxios_write_3D
     1021  USE xios, only: xios_send_field
    10221022#endif
    10231023
     
    10851085                  write(lunout,*)'Dans iophy, histwrite3D iff nlev klev firstx', &
    10861086                                  iff,nlev,klev, firstx                       
    1087                   write(lunout,*)'histwrite3d_phy: call wxios_write_3D for ', &
     1087                  write(lunout,*)'histwrite3d_phy: call xios_send_field for ', &
    10881088                                  trim(var%name), ' with iim jjm nlevx = ', &
    10891089                                  iim,jj_nb,nlevx
    10901090                endif
    1091                 CALL wxios_write_3D(var%name, Field3d(:,:,1:nlevx))
     1091                CALL xios_send_field(var%name, Field3d(:,:,1:nlevx))
    10921092                            firstx=.false.
    10931093              ENDIF
     
    11031103!#ifdef CPP_XIOS
    11041104!                        IF (iff == 1) THEN
    1105 !                              CALL wxios_write_3D(var%name, Field3d(:,:,1:klev))
     1105!                              CALL xios_send_field(var%name, Field3d(:,:,1:klev))
    11061106!                        ENDIF
    11071107!#endif
     
    11491149                                is_sequential, klon_mpi_begin, klon_mpi_end, &
    11501150                                jj_nb, klon_mpi
    1151   USE wxios, only: wxios_write_2D
     1151  USE xios, only: xios_send_field
    11521152
    11531153
     
    11841184
    11851185
    1186         CALL wxios_write_2D(field_name, Field2d)
     1186        CALL xios_send_field(field_name, Field2d)
    11871187
    11881188    ELSE
     
    12201220                                is_sequential, klon_mpi_begin, klon_mpi_end, &
    12211221                                jj_nb, klon_mpi
    1222   USE wxios, only: wxios_write_3D
     1222  USE xios, only: xios_send_field
    12231223
    12241224
     
    12541254        ALLOCATE(index3d(iim*jj_nb*nlev))
    12551255        ALLOCATE(fieldok(iim*jj_nb,nlev))
    1256         CALL wxios_write_3D(field_name, Field3d(:,:,1:nlev))
     1256        CALL xios_send_field(field_name, Field3d(:,:,1:nlev))
    12571257                       
    12581258    ELSE
Note: See TracChangeset for help on using the changeset viewer.