Changeset 2056 for LMDZ5/branches/testing/libf/phydev
- Timestamp:
- Jun 11, 2014, 3:46:46 PM (11 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1998,2000-2023,2025-2029,2032,2034,2036-2049,2051-2055
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phydev/iophy.F90
r1910 r2056 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/branches/testing/libf/phydev/physiq.F90
r1910 r2056 8 8 & flxmass_w, & 9 9 & d_u, d_v, d_t, d_qx, d_ps & 10 & , dudyn & 11 & , PVteta) 10 & , dudyn) 12 11 13 12 USE dimphy, only : klon,klev … … 21 20 22 21 #ifdef CPP_XIOS 22 USE xios, ONLY: xios_update_calendar 23 23 USE wxios, only: wxios_add_vaxis, wxios_set_timestep, wxios_closedef, & 24 wxios_update_calendar,histwrite_phy24 histwrite_phy 25 25 #endif 26 26 … … 58 58 real,intent(out) :: d_ps(klon) ! physics tendency on surface pressure 59 59 real,intent(in) :: dudyn(iim+1,jjmp1,klev) ! Not used 60 !FH! REAL PVteta(klon,nbteta)61 ! REAL PVteta(klon,1)62 real,intent(in) :: PVteta(klon,3) ! Not used ; should match definition63 ! in calfis.F64 60 65 61 integer,save :: itau=0 ! counter to count number of calls to physics … … 137 133 #ifdef CPP_XIOS 138 134 !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: 135 ! Declare available vertical axes to be used in output files: 136 !CALL wxios_add_vaxis("presnivs", "dummy-not-used", klev, presnivs) 137 CALL wxios_add_vaxis("presnivs", klev, presnivs) 138 139 ! Declare time step length (in s): 143 140 CALL wxios_set_timestep(dtime) 144 141 145 !Finali sation du contexte:142 !Finalize the context: 146 143 CALL wxios_closedef() 147 144 #endif … … 187 184 !$OMP MASTER 188 185 !Increment XIOS time 189 CALL wxios_update_calendar(itau)186 CALL xios_update_calendar(itau) 190 187 !$OMP END MASTER 191 188 !$OMP BARRIER 192 189 193 !Send fields to XIOS: 190 !Send fields to XIOS: (NB these fields must also be defined as 191 ! <field id="..." /> in iodef.xml to be correctly used 194 192 CALL histwrite_phy("temperature",t) 193 CALL histwrite_phy("temp_newton",temp_newton) 195 194 CALL histwrite_phy("u",u) 196 195 CALL histwrite_phy("v",v)
Note: See TracChangeset
for help on using the changeset viewer.