- Timestamp:
- May 29, 2015, 4:16:26 PM (9 years ago)
- Location:
- branches/1.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4
- Property svn:mergeinfo changed
/branches/1.3 merged: 5629 /trunk merged: 5630
- Property svn:mergeinfo changed
-
branches/1.4/examples/zoo/mesh/mesh.tcl
r3752 r5631 154 154 } 155 155 $driver put -type file -compress no $mesh.unstructured.points points.txt 156 $driver put $mesh.unstructured.celltypes "triangle"156 $driver put $mesh.unstructured.celltypes $celltypes 157 157 $driver put $mesh.unstructured.cells $cells 158 158 } -
branches/1.4/gui/scripts/mesh.tcl
r5616 r5631 1136 1136 set count 0 1137 1137 set _numCells 0 1138 set celltypes {}1138 set celltypesout {} 1139 1139 foreach line $lines { 1140 1140 set length [llength $line] … … 1143 1143 } 1144 1144 if { $numCellTypes > 1 } { 1145 set cell Type [GetCellType [lindex $cellTypes $_numCells]]1145 set celltype [GetCellType [lindex $celltypes $_numCells]] 1146 1146 } 1147 1147 set numIndices [GetNumIndices $celltype] … … 1153 1153 } 1154 1154 append data " $numIndices $line\n" 1155 lappend celltypes $celltype1155 lappend celltypesout $celltype 1156 1156 incr count $length; # Include the indices 1157 1157 incr count; # and the number of indices … … 1167 1167 append out $data 1168 1168 append out "CELL_TYPES $_numCells\n" 1169 append out $celltypes 1169 append out $celltypesout 1170 1170 set _limits(x) [$xv limits] 1171 1171 set _limits(y) [$yv limits]
Note: See TracChangeset
for help on using the changeset viewer.