Changeset 157 for trunk/SRC/ToBeReviewed/TRIANGULATION/definetri.pro
- Timestamp:
- 08/21/06 11:01:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/TRIANGULATION/definetri.pro
r150 r157 2 2 ; 3 3 ; @file_comments 4 ; efine a triangulation array like TRIANGULATE.4 ; Define a triangulation array like TRIANGULATE. 5 5 ; But in a VERY SIMPLE CASE: 6 6 ; the points are regulary-gridded on nx*ny array. … … 9 9 ; triangles. cf. figure above 10 10 ; 11 ; 11 ; <fixe> 12 12 ; ny-1*---*---*. . . . . .*---*---* 13 ; | /| /| | /| /|14 ; | / | / | | / | /|15 ; | / |/ | |/ |/|13 ; | +| +| | +| +| 14 ; | + | + | | + | + | 15 ; |+ |+ | |+ |+ | 16 16 ; ny-2*---*---*. . . . . .*---*---* 17 17 ; . . . . … … 19 19 ; . . . . 20 20 ; 1*---*---*. . . . . .*---*---* 21 ; | /| /| | /| /|22 ; | / | / | | / | /|23 ; | / |/ | |/ |/|21 ; | + | +| | +| +| 22 ; | + | + | | + | + | 23 ; |+ |+ | |+ |+ | 24 24 ; 0*---*---*. . . . . .*---*---* 25 ; 0 1 2 nx-3 nx-2 nx-1 25 ; 0 1 2 nx-3 nx-2 nx-1 26 ; </fixe> 26 27 ; 27 28 ; You have 2 ways to cut a rectangle: 28 29 ; 1) the upward diagonal 2) the downward diagonal 29 30 ; 31 ; <fixe> 30 32 ; *---* *---* 31 ; | /| |\|32 ; | / | | \|33 ; | / | | \|33 ; | +| |+ | 34 ; | + | | + | 35 ; |+ | | +| 34 36 ; *---* *---* 35 ; 37 ; </fixe> 36 38 ; 37 39 ; @categories 38 ; utilities40 ; Utilities 39 41 ; 40 42 ; @param NX {in}{required} … … 63 65 ; 64 66 ; *---*---* 65 ; |\ | /|66 ; | \ | /|67 ; | \|/|67 ; |+ | +| 68 ; | + | + | 69 ; | +|+ | 68 70 ; *---*---* 69 ; | /|\|70 ; | / | \|71 ; |/ | \|71 ; | +|+ | 72 ; | + | + | 73 ; |+ | +| 72 74 ; *---*---* 73 75 ; 74 76 ; 75 77 ; @history 76 ; sebastien Masson (smlod @ipsl.jussieu.fr)78 ; sebastien Masson (smlod\@ipsl.jussieu.fr) 77 79 ; 4/3/1999 78 80 ; … … 114 116 ; i+nx i+nx+1 115 117 ; *---* 116 ; | /|117 ; | /|118 ; | /|118 ; | +| 119 ; | + | 120 ; |+ | 119 121 ; *---* 120 122 ; i i+1
Note: See TracChangeset
for help on using the changeset viewer.