Changeset 2002 for LMDZ5/trunk/libf/phydev
- Timestamp:
- Apr 4, 2014, 2:39:54 PM (11 years ago)
- Location:
- LMDZ5/trunk/libf/phydev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phydev/iophy.F90
r1907 r2002 340 340 USE mod_phys_lmdz_para, only: gather_omp, grid1Dto2D_mpi, & 341 341 jj_nb, klon_mpi 342 USE wxios, only: wxios_write_2D342 USE xios, only: xios_send_field 343 343 344 344 … … 361 361 CALL grid1Dto2D_mpi(buffer_omp,Field2d) 362 362 363 CALL wxios_write_2D(field_name, Field2d)363 CALL xios_send_field(field_name, Field2d) 364 364 !$OMP END MASTER 365 365 … … 376 376 USE mod_phys_lmdz_para, only: gather_omp, grid1Dto2D_mpi, & 377 377 jj_nb, klon_mpi 378 USE wxios, only: wxios_write_3D378 USE xios, only: xios_send_field 379 379 380 380 … … 401 401 CALL grid1Dto2D_mpi(buffer_omp,field3d) 402 402 403 CALL wxios_write_3D(field_name, Field3d(:,:,1:klev))403 CALL xios_send_field(field_name, Field3d(:,:,1:nlev)) 404 404 !$OMP END MASTER 405 405 -
LMDZ5/trunk/libf/phydev/physiq.F90
r1907 r2002 21 21 22 22 #ifdef CPP_XIOS 23 USE xios, ONLY: xios_update_calendar 23 24 USE wxios, only: wxios_add_vaxis, wxios_set_timestep, wxios_closedef, & 24 wxios_update_calendar,histwrite_phy25 histwrite_phy 25 26 #endif 26 27 … … 137 138 #ifdef CPP_XIOS 138 139 !XIOS 139 ! Déclaration de l'axe vertical du fichier: 140 CALL wxios_add_vaxis("presnivs", "histins", klev, presnivs) 141 142 !Déclaration du pas de temps: 140 ! Declare available vertical axes to be used in output files: 141 !CALL wxios_add_vaxis("presnivs", "dummy-not-used", klev, presnivs) 142 CALL wxios_add_vaxis("presnivs", klev, presnivs) 143 144 ! Declare time step length (in s): 143 145 CALL wxios_set_timestep(dtime) 144 146 145 !Finali sation du contexte:147 !Finalize the context: 146 148 CALL wxios_closedef() 147 149 #endif … … 187 189 !$OMP MASTER 188 190 !Increment XIOS time 189 CALL wxios_update_calendar(itau)191 CALL xios_update_calendar(itau) 190 192 !$OMP END MASTER 191 193 !$OMP BARRIER 192 194 193 !Send fields to XIOS: 195 !Send fields to XIOS: (NB these fields must also be defined as 196 ! <field id="..." /> in iodef.xml to be correctly used 194 197 CALL histwrite_phy("temperature",t) 198 CALL histwrite_phy("temp_newton",temp_newton) 195 199 CALL histwrite_phy("u",u) 196 200 CALL histwrite_phy("v",v)
Note: See TracChangeset
for help on using the changeset viewer.