Changeset 148 for palm/trunk
- Timestamp:
- Feb 13, 2008 4:06:08 PM (17 years ago)
- Location:
- palm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_3.5.4.html
r144 r148 404 404 software package</a> (see <a href="chapter_3.7.html">chapter 405 405 3.7</a>). Therefore user-defined spectra also require the package 406 activation via <code>mrun - 406 activation via <code>mrun -p spectra</code>.<hr> 407 407 <p style="line-height: 100%;"><br><font color="#000080"><font color="#000080"><a href="chapter_3.5.3.html"><font color="#000080"><img src="left.gif" name="Grafik1" align="bottom" border="2" height="32" width="32"></font></a><a href="index.html"><font color="#000080"><img src="up.gif" name="Grafik2" align="bottom" border="2" height="32" width="32"></font></a><a href="chapter_3.5.5.html"><font color="#000080"><img style="border: 2px solid ; width: 32px; height: 32px;" alt="" src="right.gif" name="Grafik3"></font></a></font></font></p><p style="line-height: 100%;"><i>Last 408 408 change: </i> $Id: chapter_3.5.4.html 136 2007-11-26 -
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r147 r148 49 49 Errors: 50 50 ------ 51 small bugfixes for user_interface sample code (comments): 52 - initialize ustvst with 0.0 as it is now computed only until nxr and nyn 53 - two ALLOCATE statements moved from user_read_restart_data back to user_init 54 - remove 'READ (13) u2_av' statement in user_read_restart_data 51 55 Bugfix: remove IF statement in plant_canopy_model_ij (plant_canopy_model) 52 56 Bugfix: divide sums(k,8) (e) and sums(k,34) (e*) by ngp_2dh_s_inner(k,sr) -
palm/trunk/SOURCE/user_interface.f90
r147 r148 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! small bugfixes for sample code (comments): 7 ! - initialize ustvst with 0.0 as it is now computed only until nxr and nyn 8 ! - two ALLOCATE statements moved from user_read_restart_data back to user_init 9 ! - remove 'READ (13) u2_av' statement in user_read_restart_data 6 10 ! +routines user_read_restart_data, user_spectra 7 11 ! … … 214 218 !-- Here the reading of user-defined restart data follows: 215 219 !-- Sample for user-defined output 216 ! ALLOCATE( u2(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) )217 ! ALLOCATE( ustvst(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) )218 220 ! 219 221 ! IF ( initializing_actions == 'read_restart_data' ) THEN … … 228 230 ! ENDIF 229 231 ! READ ( 13 ) tmp_3d 230 ! READ ( 13 ) u2_av231 232 ! u2_av(:,nysc-1:nync+1,nxlc-1:nxrc+1) = & 232 233 ! tmp_3d(:,nysf-1:nynf+1,nxlf-1:nxrf+1) … … 269 270 ! 270 271 !-- Here the user-defined initializing actions follow: 272 !-- Sample for user-defined output 273 ! ALLOCATE( u2(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) ) 274 ! ALLOCATE( ustvst(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) ); ustvst = 0.0 275 271 276 !-- Sample for user-defined time series 272 277 !-- For each time series quantity you have to give a label and a unit, … … 502 507 ! ENDDO 503 508 ! ENDDO 504 ! DO i = nxl-1, nxr +1505 ! DO j = nys-1, nyn +1509 ! DO i = nxl-1, nxr 510 ! DO j = nys-1, nyn 506 511 ! DO k = nzb, nzt+1 507 512 ! ustvst(k,j,i) = &
Note: See TracChangeset
for help on using the changeset viewer.