Changeset 3933 for palm/trunk/SOURCE/surface_mod.f90
- Timestamp:
- Apr 25, 2019 12:33:20 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_mod.f90
r3833 r3933 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Add (de)allocation of pt_2m, 29 ! bugfix: initialize pt_2m 30 ! 31 ! 3833 2019-03-28 15:04:04Z forkel 28 32 ! added USE chem_gasphase_mod (chem_modules will not transport nvar and nspec anymore) 29 33 ! … … 1321 1325 !-- Salinity surface flux 1322 1326 IF ( ocean_mode ) DEALLOCATE ( surfaces%sasws ) 1327 ! 1328 !-- 2-m potential temperature (for output quantity theta_2m*) 1329 IF ( do_output_at_2m ) DEALLOCATE ( surfaces%pt_2m ) 1323 1330 1324 1331 END SUBROUTINE deallocate_surface_attributes_h … … 1449 1456 !-- Salinity surface flux 1450 1457 IF ( ocean_mode ) ALLOCATE ( surfaces%sasws(1:surfaces%ns) ) 1458 ! 1459 !-- 2-m potential temperature (for output quantity theta_2m*) 1460 IF ( do_output_at_2m ) THEN 1461 ALLOCATE ( surfaces%pt_2m(1:surfaces%ns) ) 1462 surfaces%pt_2m = -9999.0_wp !< output array (for theta_2m*) must be initialized here, 1463 !< otherwise simulation crash at do2d_at_begin with spinup=.F. 1464 ENDIF 1451 1465 1452 1466 END SUBROUTINE allocate_surface_attributes_h
Note: See TracChangeset
for help on using the changeset viewer.