- Timestamp:
- 2016-10-20T16:16:29+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/SAS_SRC/step.F90
r5510 r7060 43 43 #endif 44 44 45 #if defined key_agrif 46 USE agrif_oce, ONLY: lk_agrif_debug !clem 47 #endif 48 45 49 IMPLICIT NONE 46 50 PRIVATE … … 78 82 #if defined key_agrif 79 83 kstp = nit000 + Agrif_Nb_Step() 84 IF ( lk_agrif_debug ) THEN 85 IF ( Agrif_Root() .and. lwp) Write(*,*) '---' 86 IF (lwp) Write(*,*) 'Grid Number',Agrif_Fixed(),' time step ',kstp, 'int tstep',Agrif_NbStepint() 87 ENDIF 88 89 IF ( kstp == (nit000 + 1) ) lk_agrif_fstep = .FALSE. 90 80 91 # if defined key_iomput 81 92 IF( Agrif_Nbstepint() == 0 ) CALL iom_swap( cxios_context ) 82 93 # endif 83 94 #endif 95 indic = 0 ! although indic is not changed in stp_ctl 96 ! need to keep the same interface 84 97 IF( kstp == nit000 ) CALL iom_init( cxios_context ) ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 85 98 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) … … 98 111 CALL dia_wri( kstp ) ! ocean model: outputs 99 112 100 indic = 0 ! although indic is not changed in stp_ctl 101 ! need to keep the same interface 113 #if defined key_agrif 114 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 115 ! AGRIF 116 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 117 CALL Agrif_Integrate_ChildGrids( stp ) 118 #endif 119 120 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 121 ! Control 122 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 102 123 CALL stp_ctl( kstp, indic ) 124 IF( indic < 0 ) THEN 125 CALL ctl_stop( 'step: indic < 0' ) 126 CALL dia_wri_state( 'output.abort', kstp ) 127 ENDIF 128 IF( kstp == nit000 ) CALL iom_close( numror ) ! close input ocean restart file (clem: not sure...) 129 103 130 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 104 131 ! Coupled mode
Note: See TracChangeset
for help on using the changeset viewer.