Changeset 2444 for branches/nemo_v3_3_beta/NEMOGCM/NEMO/OFF_SRC/stpctl.F90
- Timestamp:
- 2010-11-29T15:30:48+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nemo_v3_3_beta/NEMOGCM/NEMO/OFF_SRC/stpctl.F90
r2287 r2444 2 2 !!====================================================================== 3 3 !! *** MODULE stpctl *** 4 !! Ocean run control : gross check of the ocean time stepping4 !! Ocean run control : Off-line case, only save the time step in numstp 5 5 !!====================================================================== 6 6 !! History : OPA ! 1991-03 (G. Madec) Original code … … 23 23 PRIVATE 24 24 25 PUBLIC stp_ctl ! routine called by step.F90 25 PUBLIC stp_ctl ! routine called by opa.F90 26 26 27 !!---------------------------------------------------------------------- 27 28 !! NEMO/OFF 3.3 , NEMO Consortium (2010) 28 29 !! $Id$ 29 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)30 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 30 31 !!---------------------------------------------------------------------- 31 32 32 CONTAINS 33 33 … … 39 39 !! 40 40 !! ** Method : - Save the time step in numstp 41 !! - Print it each 50 time steps42 41 !! 43 42 !! ** Actions : 'time.step' file containing the last ocean time-step 44 !!45 43 !!---------------------------------------------------------------------- 46 INTEGER, INTENT( in ) :: kt! ocean time-step index47 INTEGER, INTENT( inout) :: kindic ! indicator of solver convergence44 INTEGER, INTENT(in ) :: kt ! ocean time-step index 45 INTEGER, INTENT(inout) :: kindic ! indicator of solver convergence 48 46 !!---------------------------------------------------------------------- 49 47 ! 50 48 IF( kt == nit000 .AND. lwp ) THEN 51 49 WRITE(numout,*) … … 55 53 CALL ctl_opn( numstp, 'time.step', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea ) 56 54 ENDIF 57 55 ! 58 56 IF(lwp) WRITE ( numstp, '(1x, i8)' ) kt !* save the current time step in numstp 59 57 IF(lwp) REWIND( numstp ) ! -------------------------- 60 61 58 ! 62 59 END SUBROUTINE stp_ctl
Note: See TracChangeset
for help on using the changeset viewer.