From 7164fd6479ba6006b6d71e0bbd0c5d7ea8a2d2fe Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 22 Apr 2010 10:56:47 +0000 Subject: [PATCH] added --- .gitattributes | 8 ++ doc/Examples/meshexample.txt | 77 +++++++++++++ doc/Examples/simple_tet.vtk | 107 ++++++++++++++++++ doc/Examples/simple_tet_level0.vtk | 59 ++++++++++ doc/Examples/simple_tet_level1.vtk | 80 +++++++++++++ doc/Examples/simple_tet_level2.vtk | 101 +++++++++++++++++ doc/Examples/trimesh_dgraph_level0.metis | 13 +++ .../trimesh_dgraph_level0.metis.part.2 | 12 ++ .../trimesh_dgraph_level0.metis.part.3 | 12 ++ 9 files changed, 469 insertions(+) create mode 100644 doc/Examples/meshexample.txt create mode 100644 doc/Examples/simple_tet.vtk create mode 100644 doc/Examples/simple_tet_level0.vtk create mode 100644 doc/Examples/simple_tet_level1.vtk create mode 100644 doc/Examples/simple_tet_level2.vtk create mode 100644 doc/Examples/trimesh_dgraph_level0.metis create mode 100644 doc/Examples/trimesh_dgraph_level0.metis.part.2 create mode 100644 doc/Examples/trimesh_dgraph_level0.metis.part.3 diff --git a/.gitattributes b/.gitattributes index d0f1436..f979aa0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -10,6 +10,14 @@ /configure.ac -text doc/Doxyfile -text doc/Examples/meshexample.dxf -text +doc/Examples/meshexample.txt -text +doc/Examples/simple_tet.vtk -text +doc/Examples/simple_tet_level0.vtk -text +doc/Examples/simple_tet_level1.vtk -text +doc/Examples/simple_tet_level2.vtk -text +doc/Examples/trimesh_dgraph_level0.metis -text +doc/Examples/trimesh_dgraph_level0.metis.part.2 -text +doc/Examples/trimesh_dgraph_level0.metis.part.3 -text doc/Examples/trimesh_dnode_level1.metis -text doc/Examples/trimesh_dnode_level1.metis.part.2 -text doc/Examples/trimesh_level0.metis -text diff --git a/doc/Examples/meshexample.txt b/doc/Examples/meshexample.txt new file mode 100644 index 0000000..0cb1312 --- /dev/null +++ b/doc/Examples/meshexample.txt @@ -0,0 +1,77 @@ +NumLevels: 2 + +NumVerticesOnLevel: 11 20 29 + +Vertices: +1 0.0 0.0 +2 60.0 -70.0 +3 90.0 -10.0 +4 140.0 -70.0 +5 180.0 -10.0 +6 240.0 -60.0 +7 220.0 60.0 +8 140.0 90.0 +9 200.0 120.0 +10 130.0 150.0 +11 50.0 80.0 +12 115.0 40.0 +13 95.0 85.0 +14 70.0 35.0 +15 160.0 -40.0 +16 135.0 -10.0 +17 115.0 -40.0 +18 200.0 25.0 +19 180.0 75.0 +20 160.0 40.0 + +21 125.0 15.0 +22 112.5 -10.0 +23 102.5 15.0 +24 147.5 15.0 +25 137.5 40.0 +26 150.0 65.0 +27 127.5 65.0 +28 117.5 87.5 +29 105.0 62.5 + +NumElemsOnLevel: 12 24 36 +NumElems: 12 28 44 + +Elements: +ID PID CID VertexIDs Adj Translation Tbl (dim num lvls - 1) +1 -1 -1 1 2 3 2 11 -1 1 +2 -1 -1 2 3 4 3 -1 1 2 +3 -1 12 3 4 5 4 12 2 -1 +4 -1 -1 4 5 6 5 -1 3 3 +5 -1 -1 5 7 6 -1 4 6 4 +6 -1 17 8 5 7 5 7 12 -1 +7 -1 -1 8 9 7 -1 6 8 5 +8 -1 -1 10 8 9 7 -1 9 6 +9 -1 -1 11 10 8 8 10 -1 7 +10 -1 25 11 3 8 12 9 11 -1 +11 -1 -1 1 11 3 10 1 -1 8 +12 -1 21 3 8 5 6 3 10 -1 +13 3 -1 3 14 13 16 21 2 9 +14 3 -1 14 4 12 4 16 2 10 +15 3 -1 13 12 5 4 23 16 11 +16 3 -1 14 13 12 15 14 13 12 +17 6 -1 8 17 16 20 5 22 13 +18 6 -1 17 5 15 5 20 23 14 +19 6 -1 16 15 7 5 7 20 15 +20 6 -1 17 16 15 19 18 17 16 +21 12 -1 3 18 13 24 13 26 17 +22 12 -1 18 8 17 17 24 27 18 +23 12 -1 13 17 5 18 15 24 19 +24 12 -1 18 13 17 23 22 21 20 +25 10 -1 11 20 19 28 9 11 21 +26 10 -1 20 3 18 21 28 11 22 +27 10 -1 19 18 8 22 9 28 23 +28 10 -1 20 3 18 27 26 25 24 + +3,0 3,1 4,2 2,3 16,4 + +1 2 -1 3 4 + +1 2 3 +1 3 6 +2 11 1 13 14 diff --git a/doc/Examples/simple_tet.vtk b/doc/Examples/simple_tet.vtk new file mode 100644 index 0000000..79db55f --- /dev/null +++ b/doc/Examples/simple_tet.vtk @@ -0,0 +1,107 @@ +# vtk DataFile Version 2.0 +VTK LEGACY FILE FORMAT ASCII - tetrahedral sample file for H5FED test +ASCII +DATASET UNSTRUCTURED_GRID + +POINTS 17 DOUBLE +-1 0 0 +1 0 0 +0 1 0 +0 0 1 +0 -1 0 +-0.5 0 0.5 +-0.5 0.5 0 +0 0 0 +0 0.5 0.5 +0.5 0 0.5 +0.5 0.5 0 +-0.75 0 0.25 +-0.75 0.25 0 +-0.5 0 0 +-0.5 0.25 0.25 +-0.25 0 0.25 +-0.25 0.25 0 + +CELLS 18 90 +4 0 3 2 1 +4 0 4 3 1 +4 0 5 6 7 +4 5 3 8 9 +4 6 8 2 10 +4 7 9 10 1 +4 5 6 7 9 +4 5 6 8 9 +4 6 7 9 10 +4 6 8 9 10 +4 0 11 12 13 +4 11 5 14 15 +4 12 14 6 16 +4 13 15 16 7 +4 11 12 13 15 +4 11 12 14 15 +4 12 13 15 16 +4 12 14 15 16 + +CELL_TYPES 18 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 + +POINT_DATA 17 +SCALARS vertex_id int 1 +LOOKUP_TABLE default +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 + +CELL_DATA 18 +SCALARS cell_attribute_data int 1 +LOOKUP_TABLE default +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 + diff --git a/doc/Examples/simple_tet_level0.vtk b/doc/Examples/simple_tet_level0.vtk new file mode 100644 index 0000000..9a07498 --- /dev/null +++ b/doc/Examples/simple_tet_level0.vtk @@ -0,0 +1,59 @@ +# vtk DataFile Version 2.0 +VTK LEGACY FILE FORMAT ASCII - tetrahedral sample file for H5FED test +ASCII +DATASET UNSTRUCTURED_GRID + +POINTS 17 DOUBLE +-1 0 0 +1 0 0 +0 1 0 +0 0 1 +0 -1 0 +-0.5 0 0.5 +-0.5 0.5 0 +0 0 0 +0 0.5 0.5 +0.5 0 0.5 +0.5 0.5 0 +-0.75 0 0.25 +-0.75 0.25 0 +-0.5 0 0 +-0.5 0.25 0.25 +-0.25 0 0.25 +-0.25 0.25 0 + +CELLS 2 10 +4 0 3 2 1 +4 0 4 3 1 + +CELL_TYPES 2 +10 +10 + +POINT_DATA 17 +SCALARS vertex_id int 1 +LOOKUP_TABLE default +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 + +CELL_DATA 2 +SCALARS cell_attribute_data int 1 +LOOKUP_TABLE default +0 +1 + diff --git a/doc/Examples/simple_tet_level1.vtk b/doc/Examples/simple_tet_level1.vtk new file mode 100644 index 0000000..40561bb --- /dev/null +++ b/doc/Examples/simple_tet_level1.vtk @@ -0,0 +1,80 @@ +# vtk DataFile Version 2.0 +VTK LEGACY FILE FORMAT ASCII - tetrahedral sample file for H5FED test +ASCII +DATASET UNSTRUCTURED_GRID + +POINTS 17 DOUBLE +-1 0 0 +1 0 0 +0 1 0 +0 0 1 +0 -1 0 +-0.5 0 0.5 +-0.5 0.5 0 +0 0 0 +0 0.5 0.5 +0.5 0 0.5 +0.5 0.5 0 +-0.75 0 0.25 +-0.75 0.25 0 +-0.5 0 0 +-0.5 0.25 0.25 +-0.25 0 0.25 +-0.25 0.25 0 + +CELLS 9 45 +4 0 4 3 1 +4 0 5 6 7 +4 5 3 8 9 +4 6 8 2 10 +4 7 9 10 1 +4 5 6 7 9 +4 5 6 8 9 +4 6 7 9 10 +4 6 8 9 10 + +CELL_TYPES 9 +10 +10 +10 +10 +10 +10 +10 +10 +10 + +POINT_DATA 17 +SCALARS vertex_id int 1 +LOOKUP_TABLE default +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 + +CELL_DATA 9 +SCALARS cell_attribute_data int 1 +LOOKUP_TABLE default +0 +1 +2 +3 +4 +5 +6 +7 +8 + diff --git a/doc/Examples/simple_tet_level2.vtk b/doc/Examples/simple_tet_level2.vtk new file mode 100644 index 0000000..031e6de --- /dev/null +++ b/doc/Examples/simple_tet_level2.vtk @@ -0,0 +1,101 @@ +# vtk DataFile Version 2.0 +VTK LEGACY FILE FORMAT ASCII - tetrahedral sample file for H5FED test +ASCII +DATASET UNSTRUCTURED_GRID + +POINTS 17 DOUBLE +-1 0 0 +1 0 0 +0 1 0 +0 0 1 +0 -1 0 +-0.5 0 0.5 +-0.5 0.5 0 +0 0 0 +0 0.5 0.5 +0.5 0 0.5 +0.5 0.5 0 +-0.75 0 0.25 +-0.75 0.25 0 +-0.5 0 0 +-0.5 0.25 0.25 +-0.25 0 0.25 +-0.25 0.25 0 + +CELLS 16 80 +4 0 4 3 1 +4 5 3 8 9 +4 6 8 2 10 +4 7 9 10 1 +4 5 6 7 9 +4 5 6 8 9 +4 6 7 9 10 +4 6 8 9 10 +4 0 11 12 13 +4 11 5 14 15 +4 12 14 6 16 +4 13 15 16 7 +4 11 12 13 15 +4 11 12 14 15 +4 12 13 15 16 +4 12 14 15 16 + +CELL_TYPES 16 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 +10 + +POINT_DATA 17 +SCALARS vertex_id int 1 +LOOKUP_TABLE default +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 + +CELL_DATA 16 +SCALARS cell_attribute_data int 1 +LOOKUP_TABLE default +1 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 + diff --git a/doc/Examples/trimesh_dgraph_level0.metis b/doc/Examples/trimesh_dgraph_level0.metis new file mode 100644 index 0000000..17fef31 --- /dev/null +++ b/doc/Examples/trimesh_dgraph_level0.metis @@ -0,0 +1,13 @@ +12 14 +2 11 +1 3 +2 4 12 +3 5 +4 6 +5 7 12 +6 8 +7 9 +8 10 +9 11 12 +1 10 +3 6 10 diff --git a/doc/Examples/trimesh_dgraph_level0.metis.part.2 b/doc/Examples/trimesh_dgraph_level0.metis.part.2 new file mode 100644 index 0000000..932bdd1 --- /dev/null +++ b/doc/Examples/trimesh_dgraph_level0.metis.part.2 @@ -0,0 +1,12 @@ +0 +1 +1 +1 +1 +1 +0 +0 +0 +0 +0 +1 diff --git a/doc/Examples/trimesh_dgraph_level0.metis.part.3 b/doc/Examples/trimesh_dgraph_level0.metis.part.3 new file mode 100644 index 0000000..82e1d15 --- /dev/null +++ b/doc/Examples/trimesh_dgraph_level0.metis.part.3 @@ -0,0 +1,12 @@ +1 +1 +2 +2 +2 +0 +0 +0 +0 +1 +1 +2