>> triangulation_boundary_nodes ( 'elbow' ) 02-Dec-2010 21:01:41 TRIANGULATION_BOUNDARY_NODES MATLAB version Identify triangulation nodes on the boundary. * Read a dataset of NODE_NUM points in 2 dimensions; * Read an associated triangulation dataset of triangles using 3 or 6 nodes; * Determine which nodes are on the boundary; * Write a file which is 1 for each boundary node. Read the header of "elbow_nodes.txt". Spatial dimension DIM_NUM = 2 Number of nodes NODE_NUM = 319 Read the data in "elbow_nodes.txt". Portion of coordinate data from file: Row: 1 2 Col 1 1.000000 0.000000 2 0.000000 1.000000 3 0.400000 0.000000 4 0.000000 0.400000 5 -0.000000 0.442820 Read the header of "elbow_elements.txt". Triangle order = 3 Number of triangles = 568 Read the data in "elbow_elements.txt". Portion of triangle file: Row: 1 2 3 Col 1 17 18 2 2 6 5 4 3 287 301 302 4 257 258 239 5 274 258 257 MESH_BASE_ONE: The element indexing appears to be 1-based! No conversion is necessary. Number of boundary nodes is 66 Boundary nodes: # Index X Y 1 1 1.000000 0.000000 2 2 0.000000 1.000000 3 3 0.400000 0.000000 4 4 0.000000 0.400000 5 5 -0.000000 0.442820 6 7 -0.000000 0.488823 7 8 -0.000000 0.538095 8 9 -0.000000 0.582249 9 10 -0.000000 0.632065 10 11 -0.000000 0.676178 11 12 -0.000000 0.726139 12 13 -0.000000 0.770205 13 14 -0.000000 0.821068 14 15 -0.000000 0.865798 15 16 0.000000 0.912502 16 17 -0.000000 0.956362 17 18 0.045648 0.998958 18 19 0.049475 0.396928 19 32 0.093881 0.995583 20 33 0.101668 0.386864 21 47 0.149356 0.371070 22 60 0.145900 0.989299 23 61 0.191740 0.351050 24 75 0.195528 0.980698 25 76 0.279682 0.285968 26 77 0.238208 0.321336 27 91 0.247370 0.968921 28 106 0.348910 0.937156 29 107 0.301768 0.953381 30 108 0.345677 0.201265 31 109 0.317491 0.243310 32 124 0.399481 0.916741 33 126 0.396959 0.049229 34 127 0.386703 0.102277 35 129 0.368319 0.156017 36 146 0.444227 -0.000000 37 166 0.453028 0.891496 38 167 0.492385 -0.000000 39 186 0.547080 0.837080 40 187 0.503985 0.863712 41 188 0.544055 -0.000000 42 207 0.596809 -0.000000 43 224 0.635247 0.772309 44 225 0.593562 0.804788 45 226 0.649756 -0.000000 46 243 0.672557 0.740045 47 244 0.702475 -0.000000 48 259 0.749998 0.661440 49 260 0.713381 0.700776 50 261 0.754665 -0.000000 51 275 0.783927 0.620853 52 276 0.806171 -0.000000 53 289 0.819385 0.573244 54 290 0.856797 -0.000000 55 301 0.879730 0.475473 56 302 0.851084 0.525029 57 303 0.906555 -0.000000 58 310 0.947571 0.319544 59 311 0.929284 0.369367 60 312 0.905695 0.423930 61 313 0.956319 -0.000000 62 314 0.998688 0.051209 63 316 0.993899 0.110296 64 317 0.986534 0.163557 65 318 0.977185 0.212391 66 319 0.963461 0.267849 Wrote the node boundary value file "elbow_boundarynodes.txt". TRIANGULATION_BOUNDARY_NODES Normal end of execution. 02-Dec-2010 21:01:42 >>