Changeset 569
- Timestamp:
- 10/12/17 17:52:17 (7 years ago)
- Location:
- codes/icosagcm/devel/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/src/output/write_etat0.f90
r533 r569 5 5 CONTAINS 6 6 7 SUBROUTINE write_etat0(it,f_ps,f_phis,f_theta_rhodz,f_u, f_q )7 SUBROUTINE write_etat0(it,f_ps,f_phis,f_theta_rhodz,f_u, f_q, f_geopot, f_W) 8 8 USE icosa 9 9 USE restart_mod … … 20 20 TYPE(t_field),POINTER :: f_u(:) 21 21 TYPE(t_field),POINTER :: f_q(:) 22 TYPE(t_field),POINTER, OPTIONAL :: f_geopot(:) 23 TYPE(t_field),POINTER, OPTIONAL :: f_W(:) 22 24 23 25 TYPE(t_field),POINTER,SAVE :: f_ulon(:) … … 41 43 CALL transfert_request(f_u,req_e1_vect) 42 44 CALL un2ulonlat(f_u, f_ulon, f_ulat) 43 44 CALL write_restart(it,f_ps,f_phis,f_theta_rhodz_1d,f_u, f_ulon, f_ulat, f_q)45 45 46 IF(hydrostatic) THEN 47 CALL write_restart(it,f_ps,f_phis,f_theta_rhodz_1d,f_u, f_ulon, f_ulat, f_q) 48 ELSE 49 CALL write_restart(it,f_ps,f_phis,f_theta_rhodz_1d,f_u, f_ulon, f_ulat, f_q, f_geopot, f_W) 50 END IF 46 51 CALL deallocate_field(f_ulon) 47 52 CALL deallocate_field(f_ulat) -
codes/icosagcm/devel/src/time/timeloop_gcm.f90
r533 r569 219 219 END IF 220 220 221 IF (write_start) CALL write_etat0(itau0,f_ps, f_phis,f_theta_rhodz,f_u,f_q) ! FIXME : write_start undefined 221 ! IF (write_start) CALL write_etat0(itau0,f_ps, f_phis,f_theta_rhodz,f_u,f_q) 222 IF (write_start) CALL write_etat0(itau0,f_ps, f_phis,f_theta_rhodz,f_u,f_q, f_geopot, f_W) 222 223 223 224 CALL write_output_fields_basic(.TRUE., f_phis, f_ps, f_mass, f_geopot, f_theta_rhodz, f_u, f_W, f_q) … … 337 338 END DO 338 339 339 CALL write_etat0(itau0+itaumax,f_ps, f_phis,f_theta_rhodz,f_u,f_q) 340 ! CALL write_etat0(itau0+itaumax,f_ps, f_phis,f_theta_rhodz,f_u,f_q) 341 CALL write_etat0(itau0+itaumax,f_ps, f_phis,f_theta_rhodz,f_u,f_q, f_geopot, f_W) 340 342 341 343 CALL check_conserve_detailed(it, AAM_dyn, &
Note: See TracChangeset
for help on using the changeset viewer.