Changeset 4331 for palm/trunk/SOURCE/surface_mod.f90
- Timestamp:
- Dec 10, 2019 6:25:02 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_mod.f90
r4329 r4331 26 26 ! ----------------- 27 27 ! $Id$ 28 ! -pt_2m - array is moved to diagnostic_output_quantities 29 ! 30 ! 4329 2019-12-10 15:46:36Z motisi 28 31 ! Renamed wall_flags_0 to wall_flags_static_0 29 32 ! … … 289 292 290 293 REAL(wp), DIMENSION(:), ALLOCATABLE :: pt_10cm !< near surface air potential temperature at distance 10 cm from the surface (K) 291 REAL(wp), DIMENSION(:), ALLOCATABLE :: pt_2m !< near surface air potential temperature at distance 2 m from the surface (K)292 294 293 295 REAL(wp), DIMENSION(:,:), ALLOCATABLE :: alpha_vg !< coef. of Van Genuchten … … 1281 1283 !-- Salinity surface flux 1282 1284 IF ( ocean_mode ) DEALLOCATE ( surfaces%sasws ) 1283 !1284 !-- 2-m potential temperature (for output quantity theta_2m*)1285 IF ( do_output_at_2m ) DEALLOCATE ( surfaces%pt_2m )1286 1285 1287 1286 END SUBROUTINE deallocate_surface_attributes_h … … 1412 1411 !-- Salinity surface flux 1413 1412 IF ( ocean_mode ) ALLOCATE ( surfaces%sasws(1:surfaces%ns) ) 1414 !1415 !-- 2-m potential temperature (for output quantity theta_2m*)1416 IF ( do_output_at_2m ) THEN1417 ALLOCATE ( surfaces%pt_2m(1:surfaces%ns) )1418 surfaces%pt_2m = -9999.0_wp !< output array (for theta_2m*) must be initialized here,1419 !< otherwise simulation crash at do2d_at_begin with spinup=.F.1420 ENDIF1421 1413 1422 1414 END SUBROUTINE allocate_surface_attributes_h
Note: See TracChangeset
for help on using the changeset viewer.