Changeset 1882
- Timestamp:
- Oct 3, 2013, 11:58:39 AM (11 years ago)
- Location:
- LMDZ5/trunk/libf/phydev
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phydev/physiq.F90
r1852 r1882 104 104 call ymds2ju(1979, 1, 1, 0.0, zjulian) 105 105 dtime=pdtphys 106 #ifndef CPP_NO_IOIPSL 107 ! Initialize IOIPSL output file 106 108 call histbeg_phy("histins.nc",itau0,zjulian,dtime,nhori,nid_hist) 107 108 109 #endif 109 110 110 111 !$OMP MASTER 111 112 112 113 113 #ifndef CPP_NO_IOIPSL 114 ! IOIPSL 114 115 ! define vertical coordinate 115 116 call histvert(nid_hist,"presnivs","Vertical levels","Pa",klev, & … … 130 131 ! end definition sequence 131 132 call histend(nid_hist) 132 133 #endif 134 135 #ifdef CPP_XIOS 133 136 !XIOS 134 #ifdef CPP_XIOS135 137 ! Déclaration de l'axe vertical du fichier: 136 !CALL wxios_add_vaxis("presnivs", "histins", klev, presnivs)138 CALL wxios_add_vaxis("presnivs", "histins", klev, presnivs) 137 139 138 140 !Déclaration du pas de temps: 139 !CALL wxios_set_timestep(dtime)141 CALL wxios_set_timestep(dtime) 140 142 141 143 !Finalisation du contexte: 142 !CALL wxios_closedef()144 CALL wxios_closedef() 143 145 #endif 144 146 !$OMP END MASTER 145 147 endif ! of if (debut) 146 148 147 ! increment counter itau149 ! increment local time counter itau 148 150 itau=itau+1 149 151 … … 169 171 170 172 ! write some outputs: 173 ! IOIPSL 174 #ifndef CPP_NO_IOIPSL 171 175 if (modulo(itau,iwrite_phys)==0) then 172 176 call histwrite_phy(nid_hist,.false.,"temperature",itau,t) … … 175 179 call histwrite_phy(nid_hist,.false.,"ps",itau,paprs(:,1)) 176 180 endif 181 #endif 177 182 178 183 !XIOS 179 184 #ifdef CPP_XIOS 180 185 !$OMP MASTER 181 ! On incrémente le pas de temps XIOS182 !CALL wxios_update_calendar(itau)183 184 ! Et on écrit, avec la routine histwrite dédiée:185 !CALL histwrite_phy("temperature",t)186 !CALL histwrite_phy("u",u)187 !CALL histwrite_phy("v",v)188 !CALL histwrite_phy("ps",paprs(:,1))186 !Increment XIOS time 187 CALL wxios_update_calendar(itau) 188 189 !Send fields to XIOS: 190 CALL histwrite_phy("temperature",t) 191 CALL histwrite_phy("u",u) 192 CALL histwrite_phy("v",v) 193 CALL histwrite_phy("ps",paprs(:,1)) 189 194 !$OMP END MASTER 190 195 #endif
Note: See TracChangeset
for help on using the changeset viewer.