Changeset 181 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Jul 30, 2008 7:07:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r163 r181 7 7 ! Actual revisions: 8 8 ! ----------------- 9 ! Bugfix: zero assignments to tendency arrays in case of restarts 9 10 ! Further amendments to and modifications in the initialisation of the plant 10 11 ! canopy model 11 12 ! Allocation of hom_sum moved to parin, initialization of spectrum_x|y directly 12 13 ! after allocating theses arrays, 13 ! read data for recycling added as new initialization option 14 ! read data for recycling added as new initialization option, 15 ! dummy allocation for diss 14 16 ! 15 17 ! Former revisions: … … 235 237 IF ( use_sgs_for_particles ) THEN 236 238 ALLOCATE ( diss(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) ) 239 ELSE 240 ALLOCATE ( diss(2,2,2) ) ! required because diss is used as a 241 ! formal parameter 237 242 ENDIF 238 243 … … 1046 1051 IF ( humidity .OR. passive_scalar ) q_p = q 1047 1052 IF ( ocean ) sa_p = sa 1053 1054 ! 1055 !-- Allthough tendency arrays are set in prognostic_equations, they have 1056 !-- have to be predefined here because they are used (but multiplied with 0) 1057 !-- there before they are set. 1058 IF ( timestep_scheme(1:5) == 'runge' ) THEN 1059 te_m = 0.0; tpt_m = 0.0; tu_m = 0.0; tv_m = 0.0; tw_m = 0.0 1060 IF ( humidity .OR. passive_scalar ) tq_m = 0.0 1061 IF ( ocean ) tsa_m = 0.0 1062 ENDIF 1048 1063 1049 1064 ELSE
Note: See TracChangeset
for help on using the changeset viewer.