Changeset 2942 for palm/trunk/SOURCE
- Timestamp:
- Apr 3, 2018 1:51:09 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_mod.f90
r2940 r2942 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Bugfix in assigning surface element data after restart 29 ! 30 ! 2940 2018-04-03 11:22:42Z suehring 28 31 ! Bugfix in reading restart data of vertical surface elements 29 32 ! … … 3928 3931 DO m = surf_h(l)%start_index(j,i), & 3929 3932 surf_h(l)%end_index(j,i) 3930 CALL restore_surface_elements( surf_def_h(l), & 3931 mm, surf_h(l), m ) 3933 IF ( surf_def_h(l)%end_index(jc,ic) >= mm ) & 3934 CALL restore_surface_elements( surf_def_h(l), & 3935 mm, surf_h(l), m ) 3932 3936 mm = mm + 1 3933 3937 ENDDO … … 3938 3942 DO m = surf_h(l)%start_index(j,i), & 3939 3943 surf_h(l)%end_index(j,i) 3940 CALL restore_surface_elements( surf_lsm_h, & 3941 mm, surf_h(l), m ) 3944 IF ( surf_lsm_h%end_index(jc,ic) >= mm ) & 3945 CALL restore_surface_elements( surf_lsm_h, & 3946 mm, surf_h(l), m ) 3942 3947 mm = mm + 1 3943 3948 ENDDO … … 3948 3953 DO m = surf_h(l)%start_index(j,i), & 3949 3954 surf_h(l)%end_index(j,i) 3950 CALL restore_surface_elements( surf_usm_h, & 3951 mm, surf_h(l), m ) 3955 IF ( surf_usm_h%end_index(jc,ic) >= mm ) & 3956 CALL restore_surface_elements( surf_usm_h, & 3957 mm, surf_h(l), m ) 3952 3958 mm = mm + 1 3953 3959 ENDDO … … 3977 3983 DO m = surf_v(l)%start_index(j,i), & 3978 3984 surf_v(l)%end_index(j,i) 3979 CALL restore_surface_elements( surf_def_v(l), & 3980 mm, surf_v(l), m ) 3985 IF ( surf_def_v(l)%end_index(jc,ic) >= mm ) & 3986 CALL restore_surface_elements( surf_def_v(l), & 3987 mm, surf_v(l), m ) 3981 3988 mm = mm + 1 3982 3989 ENDDO … … 3987 3994 DO m = surf_v(l)%start_index(j,i), & 3988 3995 surf_v(l)%end_index(j,i) 3989 CALL restore_surface_elements( surf_lsm_v(l), & 3990 mm, surf_v(l), m ) 3996 IF ( surf_lsm_v(l)%end_index(jc,ic) >= mm ) & 3997 CALL restore_surface_elements( surf_lsm_v(l), & 3998 mm, surf_v(l), m ) 3991 3999 mm = mm + 1 3992 4000 ENDDO … … 3997 4005 DO m = surf_v(l)%start_index(j,i), & 3998 4006 surf_v(l)%end_index(j,i) 3999 CALL restore_surface_elements( surf_usm_v(l), & 4000 mm, surf_v(l), m ) 4007 IF ( surf_usm_v(l)%end_index(jc,ic) >= mm ) & 4008 CALL restore_surface_elements( surf_usm_v(l), & 4009 mm, surf_v(l), m ) 4001 4010 mm = mm + 1 4002 4011 ENDDO … … 4027 4036 TYPE( surf_type ) :: surf_target !< target surface type 4028 4037 TYPE( surf_type ) :: surf_file !< surface type on file 4038 4029 4039 4030 4040 IF ( INDEX( restart_string(1:length), '%us' ) /= 0 ) THEN
Note: See TracChangeset
for help on using the changeset viewer.