- Timestamp:
- 2015-11-12T15:52:57+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/icebergs_restart_single_file/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90
r5865 r5879 673 673 CHARACTER(LEN=256) :: clname ! file name 674 674 CHARACTER(LEN=1) :: clrankpv, cldmspc ! 675 LOGICAL :: ll_depth_spec ! T => if kstart, kcount present then *only* use values for 3rd spatial dimension. 675 676 !--------------------------------------------------------------------- 676 677 ! … … 719 720 ! update idom definition... 720 721 ! Identify the domain in case of jpdom_auto(glo/dta) definition 722 IF( idom == jpdom_autoglo_xy ) THEN 723 ll_depth_spec = .TRUE. 724 idom = jpdom_autoglo 725 ELSE 726 ll_depth_spec = .FALSE. 727 ENDIF 721 728 IF( idom == jpdom_autoglo .OR. idom == jpdom_autodta ) THEN 722 729 IF( idom == jpdom_autoglo ) THEN ; idom = jpdom_global … … 772 779 istart(idmspc+1) = itime 773 780 774 IF( PRESENT(kstart) .AND. idom /= jpdom_autoglo_xy) THEN ; istart(1:idmspc) = kstart(1:idmspc) ; icnt(1:idmspc) = kcount(1:idmspc)781 IF( PRESENT(kstart) .AND. .NOT. ll_depth_spec ) THEN ; istart(1:idmspc) = kstart(1:idmspc) ; icnt(1:idmspc) = kcount(1:idmspc) 775 782 ELSE 776 783 IF( idom == jpdom_unknown ) THEN ; icnt(1:idmspc) = idimsz(1:idmspc) … … 798 805 IF( PRESENT(pv_r3d) ) THEN 799 806 IF( idom == jpdom_data ) THEN ; icnt(3) = jpkdta 800 ELSE IF( idom == jpdom_autoglo_xy .AND. PRESENT(kstart) ) THEN; istart(3) = kstart(3); icnt(3) = kcount(3)807 ELSE IF( ll_depth_spec .AND. PRESENT(kstart) ) THEN ; istart(3) = kstart(3); icnt(3) = kcount(3) 801 808 ELSE ; icnt(3) = jpk 802 809 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.