- Timestamp:
- Mar 25, 2009 2:06:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_3.4.html
r197 r270 3340 3340 3341 3341 3342 <td>Two-dimensional <font color="#000000">topography3342 <td>Two-dimensional rastered <font color="#000000">topography 3343 3343 height information</font> 3344 in m.<br>3344 (in m above ground).<br><br> 3345 3345 3346 3346 … … 3348 3348 = <span style="font-style: italic;">'read_from_file'</span> 3349 3349 the subroutine <span style="font-family: Cumberland AMT;">init_grid</span> reads 3350 the topography height information in mfor each grid point in3350 the topography height information (in m above ground) for each grid point in 3351 3351 a free floating point format. The data on file are laid out naturally, 3352 3352 i.e. in W-E orientation horizontally and in S-N orientation vertically, … … 3378 3378 3379 3379 3380 < span style="font-family: Cumberland AMT;"> 3380 <big><span style="font-family: monospace;"> 3381 3381 3382 3382 N<br> 3383 3383 3384 3384 3385 (0,ny) </span><font color="#000000"><span style="font-family: Cumberland AMT;">(1,ny) 3386 </span></font><font color="#000000"><span style="font-family: Cumberland AMT;">(2,ny) 3387 ... </span></font><font color="#000000"><span style="font-family: Cumberland AMT;">(nx,ny) 3388 <span style="font-family: Times New Roman,Times,serif;"></span></span></font><font color="#000000"> top of file</font><font color="#000000"><span style="font-family: Cumberland AMT;"><span style="font-family: Times New Roman,Times,serif;"></span></span></font><br> 3389 3390 3391 <font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 3392 (0,ny-1) </span><font color="#000000"><span style="font-family: Cumberland AMT;">(1,ny-1) </span></font><font color="#000000"><span style="font-family: Cumberland AMT;">(2,ny-1) 3393 ... </span></font><font color="#000000"><span style="font-family: Cumberland AMT;">(nx,ny-1) <br> 3394 3395 3396 </span></font></font><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;">W 3397 (0,ny-2) </span><font color="#000000"><span style="font-family: Cumberland AMT;">(1,ny-2) </span></font><font color="#000000"><span style="font-family: Cumberland AMT;">(2,ny-2) 3398 ... </span></font><font color="#000000"><span style="font-family: Cumberland AMT;">(nx,ny-2) E<br> 3399 3400 3401 </span></font></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 3385 (0,ny) </span><font style="font-family: monospace;" color="#000000">(1,ny) 3386 </font><font style="font-family: monospace;" color="#000000">(2,ny) 3387 ... </font><font style="font-family: monospace;" color="#000000">(nx,ny) 3388 </font><font style="font-family: monospace;" color="#000000"> </font><small><font style="font-family: Helvetica,Arial,sans-serif;" color="#000000">top of file</font></small><br style="font-family: monospace;"><font style="font-family: monospace;" color="#000000"><font color="#000000"> 3389 (0,ny-1) <font color="#000000">(1,ny-1) </font><font color="#000000">(2,ny-1) 3390 ... </font><font color="#000000">(nx,ny-1) <br> 3391 3392 3393 </font></font></font><font style="font-family: monospace;" color="#000000"><font color="#000000">W 3394 (0,ny-2) <font color="#000000">(1,ny-2) </font><font color="#000000">(2,ny-2) 3395 ... </font><font color="#000000">(nx,ny-2) E<br> 3396 3397 3398 </font></font></font><font style="font-family: monospace;" color="#000000"><font color="#000000"> 3402 3399 3403 3400 :<br> … … 3409 3406 3410 3407 3411 </ span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 3408 </font></font><font style="font-family: monospace;" color="#000000"><font color="#000000"> 3412 3409 3413 (0,0) </span><font color="#000000"><span style="font-family: Cumberland AMT;">(1,0) 3414 </span></font><font color="#000000"><span style="font-family: Cumberland AMT;">(2,0) 3415 ... </span></font><font color="#000000"><span style="font-family: Cumberland AMT;">(nx,0) 3416 </span></font></font></font><font color="#000000"> bottom of file</font><br> 3417 3418 3419 <font color="#000000"><span style="font-family: Cumberland AMT;"> 3410 (0,0) <font color="#000000">(1,0) 3411 </font><font color="#000000">(2,0) 3412 ... </font><font color="#000000">(nx,0) 3413 </font></font></font><font style="font-family: monospace;" color="#000000"> </font><small><font style="font-family: Helvetica,Arial,sans-serif;" color="#000000">bottom of file</font></small><br style="font-family: monospace;"><font style="font-family: monospace;" color="#000000"> 3420 3414 3421 S<br></span></font> 3422 3423 3424 <br><span style="font-family: Arial;"></span><font color="#000000">Example for a 50m building surrounded by a 12.5m podium on flat ground:<br> 3425 3426 3427 <span style="font-family: Cumberland AMT;"></span><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 3415 S<br></font><br style="font-family: monospace;"><span style="font-family: monospace;"></span><small><font style="font-family: Helvetica,Arial,sans-serif;" color="#000000">Example for a 50m tall building surrounded by a 12.5m tall podium on flat ground:</font></small><font style="font-family: monospace;" color="#000000"><br> 3416 3417 3418 <font color="#000000"><font color="#000000"> 3428 3419 0 0 0 0 0 3429 3420 0 0 0 0 3430 0 0 0 0<br></ span></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 0 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 0 0 3431 </ span></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"><br></span></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> </span></font></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 0 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 0 0 3432 </ span></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"><br></span></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> </span></font></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 3421 0 0 0 0<br></font></font></font><font style="font-family: monospace;" color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 0 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 0 0 3422 </font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><br></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> </font></font></font></font></font><font style="font-family: monospace;" color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 0 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 0 0 3423 </font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><br></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> </font></font></font></font></font><font style="font-family: monospace;" color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 3433 3424 0 12.5 12.5 50 50 50 50 50 3434 3425 50 12.5 12.5 0 0 3435 <br></ span></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;">3426 <br></font></font></font></font><font style="font-family: monospace;" color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 3436 3427 0 12.5 12.5 50 50 50 50 3437 3428 50 50 12.5 12.5 0 0 3438 <br></ span></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;">3429 <br></font></font></font></font><font style="font-family: monospace;" color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 3439 3430 0 12.5 12.5 50 50 50 50 3440 3431 50 50 12.5 12.5 0 0 3441 </ span></font></font></font></font><br><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 0 12.5 12.5 50 50 50 50 50 50 12.5 12.5 0 0 <br>3442 </ span></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;">3432 </font></font></font></font><br style="font-family: monospace;"><font style="font-family: monospace;" color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 0 12.5 12.5 50 50 50 50 50 50 12.5 12.5 0 0 <br> 3433 </font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 3443 3434 0 12.5 12.5 50 50 50 50 3444 3435 50 50 12.5 12.5 0 0 3445 </ span></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"><br></span></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;">3436 </font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><br></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 3446 3437 0 12.5 12.5 50 50 50 50 3447 3438 50 50 12.5 12.5 0 0 3448 <br></ span></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 0 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 0 0 3449 </ span></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"><br></span></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> </span></font></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 0 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 0 0 3450 </ span></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"><br></span></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> </span></font></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"> 3439 <br></font></font></font></font></font><font style="font-family: monospace;" color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 0 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 0 0 3440 </font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><br></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> </font></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 0 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 0 0 3441 </font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><br></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> </font></font></font></font></font></font><font style="font-family: monospace;" color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"> 3451 3442 0 0 0 0 0 3452 3443 0 0 0 0 3453 0 0 0 0<br></span></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font></font></font><font color="#000000"><font color="#000000"><font color="#000000"><span style="font-family: Cumberland AMT;"></span></font></font></font></font><br> 3454 3455 3456 These data must exactly match the horizontal grid. <font color="#000000">Due to the staggered grid the topography will be displaced by -0.5 <a href="chapter_4.1.html#dx">dx</a> in x-direction and -0.5 <a href="chapter_4.1.html#dy">dy</a> in y-direction.</font><br> 3457 3458 3459 Alternatively, the user may add code to the user interface subroutine <a href="chapter_3.5.1.html#user_init_grid">user_init_grid</a> 3444 0 0 0 0<br></font></font></font></font></big> 3445 3446 3447 3448 3449 3450 3451 3452 3453 <br> 3454 3455 3456 These data must exactly match the horizontal grid. <font color="#000000">Due to the staggered grid the topography may be displaced by -0.5 <a href="chapter_4.1.html#dx">dx</a> in x-direction and -0.5 <a href="chapter_4.1.html#dy">dy</a> in y-direction depending on the parameter <a href="chapter_4.1.html#topography_grid_convention">topography_grid_convention</a>. See </font>also the example in <big><code>trunk/EXAMPLES/topo_file/</code></big>.<br><br>Alternatively, the user may add code to the user interface subroutine <a href="chapter_3.5.1.html#user_init_grid">user_init_grid</a> 3460 3457 to allow different data formats.</td> 3461 3458
Note: See TracChangeset
for help on using the changeset viewer.