- Timestamp:
- 2016-11-22T18:43:11+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_CNRS_AGRIF_2016/NEMOGCM/NEMO/SAS_SRC/step.F90
r6140 r7309 24 24 USE diawri ! Standard run outputs (dia_wri routine) 25 25 USE bdy_par ! clem: mandatory for LIM3 26 #if defined key_bdy27 26 USE bdydta ! clem: mandatory for LIM3 28 #endif29 27 USE stpctl ! time stepping control (stp_ctl routine) 30 28 ! … … 38 36 #endif 39 37 38 #if defined key_agrif 39 USE agrif_oce, ONLY: lk_agrif_debug !clem 40 #endif 41 40 42 IMPLICIT NONE 41 43 PRIVATE … … 70 72 #if defined key_agrif 71 73 kstp = nit000 + Agrif_Nb_Step() 74 IF ( lk_agrif_debug ) THEN 75 IF ( Agrif_Root() .and. lwp) Write(*,*) '---' 76 IF (lwp) Write(*,*) 'Grid Number',Agrif_Fixed(),' time step ',kstp, 'int tstep',Agrif_NbStepint() 77 ENDIF 78 79 IF ( kstp == (nit000 + 1) ) lk_agrif_fstep = .FALSE. 80 72 81 # if defined key_iomput 73 82 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap( cxios_context ) 74 83 # endif 75 84 #endif 85 indic = 0 ! although indic is not changed in stp_ctl 86 ! need to keep the same interface 76 87 IF( kstp == nit000 ) CALL iom_init( cxios_context ) ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 77 88 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) … … 90 101 CALL dia_wri( kstp ) ! ocean model: outputs 91 102 92 indic = 0 ! although indic is not changed in stp_ctl 93 ! need to keep the same interface 103 #if defined key_agrif 104 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 105 ! AGRIF 106 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 107 CALL Agrif_Integrate_ChildGrids( stp ) 108 #endif 109 110 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 111 ! Control 112 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 94 113 CALL stp_ctl( kstp, indic ) 114 IF( indic < 0 ) THEN 115 CALL ctl_stop( 'step: indic < 0' ) 116 CALL dia_wri_state( 'output.abort', kstp ) 117 ENDIF 118 IF( kstp == nit000 ) CALL iom_close( numror ) ! close input ocean restart file (clem: not sure...) 119 95 120 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 96 121 ! Coupled mode
Note: See TracChangeset
for help on using the changeset viewer.