- Timestamp:
- May 13, 2016, 11:04:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/mesh.tcl
r6326 r6327 1457 1457 } 1458 1458 set celltype $node2celltype($numNodes) 1459 if { _$dim == 3 && $numNodes == 4 } { 1460 # If mesh is 3D, assume a tetrahedron (default is quad) 1461 # XXX: Does prophet output tets, and if so what is the node order? 1462 set celltype 10 1463 } 1459 1464 append celltypes "$celltype\n" 1460 if { $ numNodes == 4} {1465 if { $celltype == 9 } { 1461 1466 # Fix the node order for quad cells 1462 1467 # (this converts from PROPHET convention to VTK convention) … … 1466 1471 } 1467 1472 set nodeList $newList 1468 } elseif { $ numNodes == 8} {1473 } elseif { $celltype == 12 } { 1469 1474 # Fix the node order for hexahedron cells 1470 1475 # (this converts from PROPHET convention to VTK convention)
Note: See TracChangeset
for help on using the changeset viewer.