- Timestamp:
- 2019-12-09T18:42:54+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r12114_ticket_2263/src/OCE/SBC/fldread.F90
r12116 r12127 132 132 CONTAINS 133 133 134 SUBROUTINE fld_read( kt, kn_fsbc, sd, kit, kt_offset )134 SUBROUTINE fld_read( kt, kn_fsbc, sd, kit, pt_offset ) 135 135 !!--------------------------------------------------------------------- 136 136 !! *** ROUTINE fld_read *** … … 148 148 TYPE(FLD), INTENT(inout), DIMENSION(:) :: sd ! input field related variables 149 149 INTEGER , INTENT(in ), OPTIONAL :: kit ! subcycle timestep for timesplitting option 150 INTEGER , INTENT(in ), OPTIONAL :: kt_offset ! provide fields at time other than "now" 151 ! ! kt_offset = -1 => fields at "before" time level 152 ! ! kt_offset = +1 => fields at "after" time level 153 ! ! etc. 150 REAL(wp) , INTENT(in ), OPTIONAL :: pt_offset ! provide fields at time other than "now" 154 151 !! 155 152 INTEGER :: imf ! size of the structure sd … … 168 165 ELSE ; zt_offset = 0. 169 166 ENDIF 170 IF( PRESENT( kt_offset) ) zt_offset = REAL( kt_offset, wp )167 IF( PRESENT(pt_offset) ) zt_offset = pt_offset 171 168 172 169 ! Note that all varibles starting by nsec_* are shifted time by +1/2 time step to be centrered
Note: See TracChangeset
for help on using the changeset viewer.