Changeset 3055 for palm/trunk/SOURCE/surface_mod.f90
- Timestamp:
- Jun 1, 2018 5:15:08 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_mod.f90
r3026 r3055 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Initialize Obukhov length, friction velocity and momentum fluxes also 29 ! in case of restarts and cyclic fill 30 ! 31 ! 3026 2018-05-22 10:30:53Z schwenkel 28 32 ! Changed the name specific humidity to mixing ratio, since we are computing 29 33 ! mixing ratios. … … 2053 2057 ENDIF 2054 2058 ! 2055 !-- Initialization in case of constant profiles 2056 ELSEIF ( INDEX(initializing_actions, 'set_constant_profiles') /= 0& 2057 .OR. INDEX(initializing_actions, 'inifor' ) /= 0 ) THEN 2059 !-- Initialization in all other cases 2060 ELSE 2058 2061 2059 2062 surf%ol(num_h) = surf%z_mo(num_h) / zeta_min … … 2067 2070 ENDIF 2068 2071 2069 surf%rib(num_h) = 0.0_wp2072 surf%rib(num_h) = 0.0_wp 2070 2073 surf%uvw_abs(num_h) = 0.0_wp 2071 2074 … … 3321 3324 3322 3325 found = .TRUE. 3323 3324 3326 3325 3327 SELECT CASE ( restart_string(1:length) ) … … 3946 3948 3947 3949 END SELECT 3948 3949 3950 ! 3950 3951 !-- Redistribute surface elements on its respective type. … … 3952 3953 .NOT. INDEX( restart_string(1:length), '%start_index' ) /= 0 ) & 3953 3954 THEN 3955 3954 3956 ic = nxlc 3955 3957 DO i = nxlf, nxrf … … 3965 3967 surf_usm_h%start_index(jc,ic) ) & 3966 3968 .AND. l == 0 3967 3969 3968 3970 IF ( surf_match_def ) THEN 3969 3971 mm = surf_def_h(l)%start_index(jc,ic) … … 4017 4019 surf_match_usm = surf_usm_v(l)%end_index(jc,ic) >= & 4018 4020 surf_usm_v(l)%start_index(jc,ic) 4019 4021 4020 4022 IF ( surf_match_def ) THEN 4021 4023 mm = surf_def_v(l)%start_index(jc,ic)
Note: See TracChangeset
for help on using the changeset viewer.