]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Test fuer write_svg
authorchristian.wuelker <christian.wuelker@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Mar 2013 13:31:44 +0000 (13:31 +0000)
committerchristian.wuelker <christian.wuelker@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Mar 2013 13:31:44 +0000 (13:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@28967 0785d39b-7218-0410-832d-ea1e28bc413d

tests/grid/grid_out_svg_01.cc [new file with mode: 0644]
tests/grid/grid_out_svg_01/cmp/generic [new file with mode: 0644]

diff --git a/tests/grid/grid_out_svg_01.cc b/tests/grid/grid_out_svg_01.cc
new file mode 100644 (file)
index 0000000..dde286c
--- /dev/null
@@ -0,0 +1,65 @@
+#include "../tests.h"
+
+#include <deal.II/grid/tria.h>
+#include <deal.II/grid/tria_accessor.h>
+#include <deal.II/grid/tria_iterator.h>
+#include <deal.II/grid/grid_generator.h>
+#include <deal.II/grid/tria_boundary_lib.h>
+#include <deal.II/grid/grid_out.h>
+
+#include <fstream>
+#include <cmath>
+
+using namespace dealii;
+
+Triangulation<2,2> create_grid()
+{
+       Triangulation<2,2> triangulation;
+
+       double inner_radius = .5;
+       double outer_radius = 1.;
+
+       Point<2> center(0., 0.);
+
+       GridGenerator::hyper_cube_with_cylindrical_hole(triangulation, inner_radius, outer_radius);
+       triangulation.refine_global(1);
+
+       Triangulation<2>::active_cell_iterator
+
+       cell = triangulation.begin_active(),
+       endc = triangulation.end();
+
+       for(; cell!=endc; ++cell)
+       {
+               for (unsigned int v=0; v < GeometryInfo<2>::vertices_per_cell; ++v)
+               {
+                       const double distance_from_center = center.distance(cell->vertex(v));
+
+                       if (std::fabs(distance_from_center - inner_radius) < .25)
+                       {
+                               cell->set_refine_flag();
+                               break;
+                       }
+               }
+       }
+
+       triangulation.execute_coarsening_and_refinement();
+
+       return triangulation;
+}
+
+int main()
+{
+       initlog(__FILE__);
+
+       GridOut grid_out;
+       GridOutFlags::Svg svg_flags;
+
+       svg_flags.coloring = GridOutFlags::Svg::level_number;
+       svg_flags.label_material_id = true;
+
+       grid_out.set_flags(svg_flags);
+       grid_out.write_svg(create_grid(), deallog.get_file_stream());
+
+       return 0;
+}
diff --git a/tests/grid/grid_out_svg_01/cmp/generic b/tests/grid/grid_out_svg_01/cmp/generic
new file mode 100644 (file)
index 0000000..60dd90c
--- /dev/null
@@ -0,0 +1,255 @@
+
+<!-- deal.ii GridOut 21/3/2013 14:30 -->
+
+<svg width="5600" height="4000" xmlns="http://www.w3.org/2000/svg" version="1.1">
+
+ <linearGradient id="background_gradient" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="0" y2="4000">
+  <stop offset="0" style="stop-color:white"/>
+  <stop offset="1" style="stop-color:lightsteelblue"/>
+ </linearGradient>
+
+<style type="text/css"><![CDATA[
+ rect.background{fill:url(#background_gradient)}
+ rect{fill:none; stroke:rgb(25,25,25); stroke-width:3}
+ text{font-family:Helvetica; text-anchor:middle; fill:rgb(25,25,25)}
+ line{stroke:rgb(25,25,25); stroke-width:7}
+ path{fill:none; stroke:rgb(25,25,25); stroke-width:3}
+
+ text.l1{font-family:Helvetica; text-anchor:middle;fill:rgb(25,25,25); font-size:90}
+ text.l2{font-family:Helvetica; text-anchor:middle;fill:rgb(25,25,25); font-size:45}
+
+ path.p1{fill:rgb(0,102,255); stroke:rgb(25,25,25); stroke-width:3}
+ rect.r1{fill:rgb(0,102,255); stroke:rgb(25,25,25); stroke-width:3}
+ path.p2{fill:rgb(255,0,0); stroke:rgb(25,25,25); stroke-width:3}
+ rect.r2{fill:rgb(255,0,0); stroke:rgb(25,25,25); stroke-width:3}
+ ]]></style>
+
+ <rect class="background" width="5600" height="4000"/>
+ <text x="140" y="180.000" style="font-weight:100; fill:lightsteelblue; text-anchor:start; font-family:Courier; font-size:140.000">deal.II</text>
+ <text x="815.000" y="180.000" style="fill:lightsteelblue; text-anchor:start; font-size:60.0000">21/3/2013 - 14:30</text>
+
+  <!-- cells -->
+  <path class="p1" d="M 3720.00 2000.00 L 3720.00 2860.00 L 3227.00 2582.00 L 3290.00 2000.00 L 3720.00 2000.00"/>
+  <text class="l1" x="3489.00" y="2361.00">1,0,0</text>
+  <line x1="3720.00" y1="2000.00" x2="3720.00" y2="2860.00"/>
+  <path class="p1" d="M 3720.00 2860.00 L 3720.00 3720.00 L 3164.00 3164.00 L 3227.00 2582.00 L 3720.00 2860.00"/>
+  <text class="l1" x="3458.00" y="3082.00">1,1,0</text>
+  <line x1="3720.00" y1="2860.00" x2="3720.00" y2="3720.00"/>
+  <path class="p1" d="M 3720.00 3720.00 L 2860.00 3720.00 L 2582.00 3227.00 L 3164.00 3164.00 L 3720.00 3720.00"/>
+  <text class="l1" x="3082.00" y="3458.00">1,4,0</text>
+  <line x1="3720.00" y1="3720.00" x2="2860.00" y2="3720.00"/>
+  <path class="p1" d="M 2860.00 3720.00 L 2000.00 3720.00 L 2000.00 3290.00 L 2582.00 3227.00 L 2860.00 3720.00"/>
+  <text class="l1" x="2361.00" y="3489.00">1,5,0</text>
+  <line x1="2860.00" y1="3720.00" x2="2000.00" y2="3720.00"/>
+  <path class="p1" d="M 2000.00 3720.00 L 1140.00 3720.00 L 1418.00 3227.00 L 2000.00 3290.00 L 2000.00 3720.00"/>
+  <text class="l1" x="1639.00" y="3489.00">1,8,0</text>
+  <line x1="2000.00" y1="3720.00" x2="1140.00" y2="3720.00"/>
+  <path class="p1" d="M 1140.00 3720.00 L 280.000 3720.00 L 836.000 3164.00 L 1418.00 3227.00 L 1140.00 3720.00"/>
+  <text class="l1" x="918.000" y="3458.00">1,9,0</text>
+  <line x1="1140.00" y1="3720.00" x2="280.000" y2="3720.00"/>
+  <path class="p1" d="M 280.000 3720.00 L 280.000 2860.00 L 773.000 2582.00 L 836.000 3164.00 L 280.000 3720.00"/>
+  <text class="l1" x="542.000" y="3082.00">1,12,0</text>
+  <line x1="280.000" y1="3720.00" x2="280.000" y2="2860.00"/>
+  <path class="p1" d="M 280.000 2860.00 L 280.000 2000.00 L 710.000 2000.00 L 773.000 2582.00 L 280.000 2860.00"/>
+  <text class="l1" x="511.000" y="2361.00">1,13,0</text>
+  <line x1="280.000" y1="2860.00" x2="280.000" y2="2000.00"/>
+  <path class="p1" d="M 280.000 2000.00 L 280.000 1140.00 L 773.000 1418.00 L 710.000 2000.00 L 280.000 2000.00"/>
+  <text class="l1" x="511.000" y="1639.00">1,16,0</text>
+  <line x1="280.000" y1="2000.00" x2="280.000" y2="1140.00"/>
+  <path class="p1" d="M 280.000 1140.00 L 280.000 280.000 L 836.000 836.000 L 773.000 1418.00 L 280.000 1140.00"/>
+  <text class="l1" x="542.000" y="918.000">1,17,0</text>
+  <line x1="280.000" y1="1140.00" x2="280.000" y2="280.000"/>
+  <path class="p1" d="M 280.000 280.000 L 1140.00 280.000 L 1418.00 773.000 L 836.000 836.000 L 280.000 280.000"/>
+  <text class="l1" x="918.000" y="542.000">1,20,0</text>
+  <line x1="280.000" y1="280.000" x2="1140.00" y2="280.000"/>
+  <path class="p1" d="M 1140.00 280.000 L 2000.00 280.000 L 2000.00 710.000 L 1418.00 773.000 L 1140.00 280.000"/>
+  <text class="l1" x="1639.00" y="511.000">1,21,0</text>
+  <line x1="1140.00" y1="280.000" x2="2000.00" y2="280.000"/>
+  <path class="p1" d="M 2000.00 280.000 L 2860.00 280.000 L 2582.00 773.000 L 2000.00 710.000 L 2000.00 280.000"/>
+  <text class="l1" x="2361.00" y="511.000">1,24,0</text>
+  <line x1="2000.00" y1="280.000" x2="2860.00" y2="280.000"/>
+  <path class="p1" d="M 2860.00 280.000 L 3720.00 280.000 L 3164.00 836.000 L 2582.00 773.000 L 2860.00 280.000"/>
+  <text class="l1" x="3082.00" y="542.000">1,25,0</text>
+  <line x1="2860.00" y1="280.000" x2="3720.00" y2="280.000"/>
+  <path class="p1" d="M 3720.00 280.000 L 3720.00 1140.00 L 3227.00 1418.00 L 3164.00 836.000 L 3720.00 280.000"/>
+  <text class="l1" x="3458.00" y="918.000">1,28,0</text>
+  <line x1="3720.00" y1="280.000" x2="3720.00" y2="1140.00"/>
+  <path class="p1" d="M 3720.00 1140.00 L 3720.00 2000.00 L 3290.00 2000.00 L 3227.00 1418.00 L 3720.00 1140.00"/>
+  <text class="l1" x="3489.00" y="1639.00">1,29,0</text>
+  <line x1="3720.00" y1="1140.00" x2="3720.00" y2="2000.00"/>
+  <path class="p2" d="M 3290.00 2000.00 L 3259.00 2291.00 L 3028.00 2222.00 L 3075.00 2000.00 L 3290.00 2000.00"/>
+  <text class="l2" x="3163.00" y="2128.00">2,0,0</text>
+  <path class="p2" d="M 3259.00 2291.00 L 3227.00 2582.00 L 2981.00 2443.00 L 3028.00 2222.00 L 3259.00 2291.00"/>
+  <text class="l2" x="3123.00" y="2384.00">2,1,0</text>
+  <path class="p2" d="M 3075.00 2000.00 L 3028.00 2222.00 L 2797.00 2152.00 L 2860.00 2000.00 L 3075.00 2000.00"/>
+  <text class="l2" x="2940.00" y="2093.00">2,2,0</text>
+  <line x1="2860.00" y1="2000.00" x2="2797.00" y2="2152.00"/>
+  <path class="p2" d="M 3028.00 2222.00 L 2981.00 2443.00 L 2734.00 2304.00 L 2797.00 2152.00 L 3028.00 2222.00"/>
+  <text class="l2" x="2885.00" y="2280.00">2,3,0</text>
+  <line x1="2797.00" y1="2152.00" x2="2734.00" y2="2304.00"/>
+  <path class="p2" d="M 3227.00 2582.00 L 3196.00 2873.00 L 2933.00 2665.00 L 2981.00 2443.00 L 3227.00 2582.00"/>
+  <text class="l2" x="3084.00" y="2641.00">2,4,0</text>
+  <path class="p2" d="M 3196.00 2873.00 L 3164.00 3164.00 L 2886.00 2886.00 L 2933.00 2665.00 L 3196.00 2873.00"/>
+  <text class="l2" x="3045.00" y="2897.00">2,5,0</text>
+  <path class="p2" d="M 2981.00 2443.00 L 2933.00 2665.00 L 2671.00 2456.00 L 2734.00 2304.00 L 2981.00 2443.00"/>
+  <text class="l2" x="2830.00" y="2467.00">2,6,0</text>
+  <line x1="2734.00" y1="2304.00" x2="2671.00" y2="2456.00"/>
+  <path class="p2" d="M 2933.00 2665.00 L 2886.00 2886.00 L 2608.00 2608.00 L 2671.00 2456.00 L 2933.00 2665.00"/>
+  <text class="l2" x="2775.00" y="2654.00">2,7,0</text>
+  <line x1="2671.00" y1="2456.00" x2="2608.00" y2="2608.00"/>
+  <path class="p2" d="M 3164.00 3164.00 L 2873.00 3196.00 L 2665.00 2933.00 L 2886.00 2886.00 L 3164.00 3164.00"/>
+  <text class="l2" x="2897.00" y="3045.00">2,8,0</text>
+  <path class="p2" d="M 2873.00 3196.00 L 2582.00 3227.00 L 2443.00 2981.00 L 2665.00 2933.00 L 2873.00 3196.00"/>
+  <text class="l2" x="2641.00" y="3084.00">2,9,0</text>
+  <path class="p2" d="M 2886.00 2886.00 L 2665.00 2933.00 L 2456.00 2671.00 L 2608.00 2608.00 L 2886.00 2886.00"/>
+  <text class="l2" x="2654.00" y="2775.00">2,10,0</text>
+  <line x1="2608.00" y1="2608.00" x2="2456.00" y2="2671.00"/>
+  <path class="p2" d="M 2665.00 2933.00 L 2443.00 2981.00 L 2304.00 2734.00 L 2456.00 2671.00 L 2665.00 2933.00"/>
+  <text class="l2" x="2467.00" y="2830.00">2,11,0</text>
+  <line x1="2456.00" y1="2671.00" x2="2304.00" y2="2734.00"/>
+  <path class="p2" d="M 2582.00 3227.00 L 2291.00 3259.00 L 2222.00 3028.00 L 2443.00 2981.00 L 2582.00 3227.00"/>
+  <text class="l2" x="2384.00" y="3123.00">2,12,0</text>
+  <path class="p2" d="M 2291.00 3259.00 L 2000.00 3290.00 L 2000.00 3075.00 L 2222.00 3028.00 L 2291.00 3259.00"/>
+  <text class="l2" x="2128.00" y="3163.00">2,13,0</text>
+  <path class="p2" d="M 2443.00 2981.00 L 2222.00 3028.00 L 2152.00 2797.00 L 2304.00 2734.00 L 2443.00 2981.00"/>
+  <text class="l2" x="2280.00" y="2885.00">2,14,0</text>
+  <line x1="2304.00" y1="2734.00" x2="2152.00" y2="2797.00"/>
+  <path class="p2" d="M 2222.00 3028.00 L 2000.00 3075.00 L 2000.00 2860.00 L 2152.00 2797.00 L 2222.00 3028.00"/>
+  <text class="l2" x="2093.00" y="2940.00">2,15,0</text>
+  <line x1="2152.00" y1="2797.00" x2="2000.00" y2="2860.00"/>
+  <path class="p2" d="M 2000.00 3290.00 L 1709.00 3259.00 L 1778.00 3028.00 L 2000.00 3075.00 L 2000.00 3290.00"/>
+  <text class="l2" x="1872.00" y="3163.00">2,16,0</text>
+  <path class="p2" d="M 1709.00 3259.00 L 1418.00 3227.00 L 1557.00 2981.00 L 1778.00 3028.00 L 1709.00 3259.00"/>
+  <text class="l2" x="1616.00" y="3123.00">2,17,0</text>
+  <path class="p2" d="M 2000.00 3075.00 L 1778.00 3028.00 L 1848.00 2797.00 L 2000.00 2860.00 L 2000.00 3075.00"/>
+  <text class="l2" x="1907.00" y="2940.00">2,18,0</text>
+  <line x1="2000.00" y1="2860.00" x2="1848.00" y2="2797.00"/>
+  <path class="p2" d="M 1778.00 3028.00 L 1557.00 2981.00 L 1696.00 2734.00 L 1848.00 2797.00 L 1778.00 3028.00"/>
+  <text class="l2" x="1720.00" y="2885.00">2,19,0</text>
+  <line x1="1848.00" y1="2797.00" x2="1696.00" y2="2734.00"/>
+  <path class="p2" d="M 1418.00 3227.00 L 1127.00 3196.00 L 1335.00 2933.00 L 1557.00 2981.00 L 1418.00 3227.00"/>
+  <text class="l2" x="1359.00" y="3084.00">2,20,0</text>
+  <path class="p2" d="M 1127.00 3196.00 L 836.000 3164.00 L 1114.00 2886.00 L 1335.00 2933.00 L 1127.00 3196.00"/>
+  <text class="l2" x="1103.00" y="3045.00">2,21,0</text>
+  <path class="p2" d="M 1557.00 2981.00 L 1335.00 2933.00 L 1544.00 2671.00 L 1696.00 2734.00 L 1557.00 2981.00"/>
+  <text class="l2" x="1533.00" y="2830.00">2,22,0</text>
+  <line x1="1696.00" y1="2734.00" x2="1544.00" y2="2671.00"/>
+  <path class="p2" d="M 1335.00 2933.00 L 1114.00 2886.00 L 1392.00 2608.00 L 1544.00 2671.00 L 1335.00 2933.00"/>
+  <text class="l2" x="1346.00" y="2775.00">2,23,0</text>
+  <line x1="1544.00" y1="2671.00" x2="1392.00" y2="2608.00"/>
+  <path class="p2" d="M 836.000 3164.00 L 804.000 2873.00 L 1067.00 2665.00 L 1114.00 2886.00 L 836.000 3164.00"/>
+  <text class="l2" x="955.000" y="2897.00">2,24,0</text>
+  <path class="p2" d="M 804.000 2873.00 L 773.000 2582.00 L 1019.00 2443.00 L 1067.00 2665.00 L 804.000 2873.00"/>
+  <text class="l2" x="916.000" y="2641.00">2,25,0</text>
+  <path class="p2" d="M 1114.00 2886.00 L 1067.00 2665.00 L 1329.00 2456.00 L 1392.00 2608.00 L 1114.00 2886.00"/>
+  <text class="l2" x="1225.00" y="2654.00">2,26,0</text>
+  <line x1="1392.00" y1="2608.00" x2="1329.00" y2="2456.00"/>
+  <path class="p2" d="M 1067.00 2665.00 L 1019.00 2443.00 L 1266.00 2304.00 L 1329.00 2456.00 L 1067.00 2665.00"/>
+  <text class="l2" x="1170.00" y="2467.00">2,27,0</text>
+  <line x1="1329.00" y1="2456.00" x2="1266.00" y2="2304.00"/>
+  <path class="p2" d="M 773.000 2582.00 L 741.000 2291.00 L 972.000 2222.00 L 1019.00 2443.00 L 773.000 2582.00"/>
+  <text class="l2" x="877.000" y="2384.00">2,28,0</text>
+  <path class="p2" d="M 741.000 2291.00 L 710.000 2000.00 L 925.000 2000.00 L 972.000 2222.00 L 741.000 2291.00"/>
+  <text class="l2" x="837.000" y="2128.00">2,29,0</text>
+  <path class="p2" d="M 1019.00 2443.00 L 972.000 2222.00 L 1203.00 2152.00 L 1266.00 2304.00 L 1019.00 2443.00"/>
+  <text class="l2" x="1115.00" y="2280.00">2,30,0</text>
+  <line x1="1266.00" y1="2304.00" x2="1203.00" y2="2152.00"/>
+  <path class="p2" d="M 972.000 2222.00 L 925.000 2000.00 L 1140.00 2000.00 L 1203.00 2152.00 L 972.000 2222.00"/>
+  <text class="l2" x="1060.00" y="2093.00">2,31,0</text>
+  <line x1="1203.00" y1="2152.00" x2="1140.00" y2="2000.00"/>
+  <path class="p2" d="M 710.000 2000.00 L 741.000 1709.00 L 972.000 1778.00 L 925.000 2000.00 L 710.000 2000.00"/>
+  <text class="l2" x="837.000" y="1872.00">2,32,0</text>
+  <path class="p2" d="M 741.000 1709.00 L 773.000 1418.00 L 1019.00 1557.00 L 972.000 1778.00 L 741.000 1709.00"/>
+  <text class="l2" x="877.000" y="1616.00">2,33,0</text>
+  <path class="p2" d="M 925.000 2000.00 L 972.000 1778.00 L 1203.00 1848.00 L 1140.00 2000.00 L 925.000 2000.00"/>
+  <text class="l2" x="1060.00" y="1907.00">2,34,0</text>
+  <line x1="1140.00" y1="2000.00" x2="1203.00" y2="1848.00"/>
+  <path class="p2" d="M 972.000 1778.00 L 1019.00 1557.00 L 1266.00 1696.00 L 1203.00 1848.00 L 972.000 1778.00"/>
+  <text class="l2" x="1115.00" y="1720.00">2,35,0</text>
+  <line x1="1203.00" y1="1848.00" x2="1266.00" y2="1696.00"/>
+  <path class="p2" d="M 773.000 1418.00 L 804.000 1127.00 L 1067.00 1335.00 L 1019.00 1557.00 L 773.000 1418.00"/>
+  <text class="l2" x="916.000" y="1359.00">2,36,0</text>
+  <path class="p2" d="M 804.000 1127.00 L 836.000 836.000 L 1114.00 1114.00 L 1067.00 1335.00 L 804.000 1127.00"/>
+  <text class="l2" x="955.000" y="1103.00">2,37,0</text>
+  <path class="p2" d="M 1019.00 1557.00 L 1067.00 1335.00 L 1329.00 1544.00 L 1266.00 1696.00 L 1019.00 1557.00"/>
+  <text class="l2" x="1170.00" y="1533.00">2,38,0</text>
+  <line x1="1266.00" y1="1696.00" x2="1329.00" y2="1544.00"/>
+  <path class="p2" d="M 1067.00 1335.00 L 1114.00 1114.00 L 1392.00 1392.00 L 1329.00 1544.00 L 1067.00 1335.00"/>
+  <text class="l2" x="1225.00" y="1346.00">2,39,0</text>
+  <line x1="1329.00" y1="1544.00" x2="1392.00" y2="1392.00"/>
+  <path class="p2" d="M 836.000 836.000 L 1127.00 804.000 L 1335.00 1067.00 L 1114.00 1114.00 L 836.000 836.000"/>
+  <text class="l2" x="1103.00" y="955.000">2,40,0</text>
+  <path class="p2" d="M 1127.00 804.000 L 1418.00 773.000 L 1557.00 1019.00 L 1335.00 1067.00 L 1127.00 804.000"/>
+  <text class="l2" x="1359.00" y="916.000">2,41,0</text>
+  <path class="p2" d="M 1114.00 1114.00 L 1335.00 1067.00 L 1544.00 1329.00 L 1392.00 1392.00 L 1114.00 1114.00"/>
+  <text class="l2" x="1346.00" y="1225.00">2,42,0</text>
+  <line x1="1392.00" y1="1392.00" x2="1544.00" y2="1329.00"/>
+  <path class="p2" d="M 1335.00 1067.00 L 1557.00 1019.00 L 1696.00 1266.00 L 1544.00 1329.00 L 1335.00 1067.00"/>
+  <text class="l2" x="1533.00" y="1170.00">2,43,0</text>
+  <line x1="1544.00" y1="1329.00" x2="1696.00" y2="1266.00"/>
+  <path class="p2" d="M 1418.00 773.000 L 1709.00 741.000 L 1778.00 972.000 L 1557.00 1019.00 L 1418.00 773.000"/>
+  <text class="l2" x="1616.00" y="877.000">2,44,0</text>
+  <path class="p2" d="M 1709.00 741.000 L 2000.00 710.000 L 2000.00 925.000 L 1778.00 972.000 L 1709.00 741.000"/>
+  <text class="l2" x="1872.00" y="837.000">2,45,0</text>
+  <path class="p2" d="M 1557.00 1019.00 L 1778.00 972.000 L 1848.00 1203.00 L 1696.00 1266.00 L 1557.00 1019.00"/>
+  <text class="l2" x="1720.00" y="1115.00">2,46,0</text>
+  <line x1="1696.00" y1="1266.00" x2="1848.00" y2="1203.00"/>
+  <path class="p2" d="M 1778.00 972.000 L 2000.00 925.000 L 2000.00 1140.00 L 1848.00 1203.00 L 1778.00 972.000"/>
+  <text class="l2" x="1907.00" y="1060.00">2,47,0</text>
+  <line x1="1848.00" y1="1203.00" x2="2000.00" y2="1140.00"/>
+  <path class="p2" d="M 2000.00 710.000 L 2291.00 741.000 L 2222.00 972.000 L 2000.00 925.000 L 2000.00 710.000"/>
+  <text class="l2" x="2128.00" y="837.000">2,48,0</text>
+  <path class="p2" d="M 2291.00 741.000 L 2582.00 773.000 L 2443.00 1019.00 L 2222.00 972.000 L 2291.00 741.000"/>
+  <text class="l2" x="2384.00" y="877.000">2,49,0</text>
+  <path class="p2" d="M 2000.00 925.000 L 2222.00 972.000 L 2152.00 1203.00 L 2000.00 1140.00 L 2000.00 925.000"/>
+  <text class="l2" x="2093.00" y="1060.00">2,50,0</text>
+  <line x1="2000.00" y1="1140.00" x2="2152.00" y2="1203.00"/>
+  <path class="p2" d="M 2222.00 972.000 L 2443.00 1019.00 L 2304.00 1266.00 L 2152.00 1203.00 L 2222.00 972.000"/>
+  <text class="l2" x="2280.00" y="1115.00">2,51,0</text>
+  <line x1="2152.00" y1="1203.00" x2="2304.00" y2="1266.00"/>
+  <path class="p2" d="M 2582.00 773.000 L 2873.00 804.000 L 2665.00 1067.00 L 2443.00 1019.00 L 2582.00 773.000"/>
+  <text class="l2" x="2641.00" y="916.000">2,52,0</text>
+  <path class="p2" d="M 2873.00 804.000 L 3164.00 836.000 L 2886.00 1114.00 L 2665.00 1067.00 L 2873.00 804.000"/>
+  <text class="l2" x="2897.00" y="955.000">2,53,0</text>
+  <path class="p2" d="M 2443.00 1019.00 L 2665.00 1067.00 L 2456.00 1329.00 L 2304.00 1266.00 L 2443.00 1019.00"/>
+  <text class="l2" x="2467.00" y="1170.00">2,54,0</text>
+  <line x1="2304.00" y1="1266.00" x2="2456.00" y2="1329.00"/>
+  <path class="p2" d="M 2665.00 1067.00 L 2886.00 1114.00 L 2608.00 1392.00 L 2456.00 1329.00 L 2665.00 1067.00"/>
+  <text class="l2" x="2654.00" y="1225.00">2,55,0</text>
+  <line x1="2456.00" y1="1329.00" x2="2608.00" y2="1392.00"/>
+  <path class="p2" d="M 3164.00 836.000 L 3196.00 1127.00 L 2933.00 1335.00 L 2886.00 1114.00 L 3164.00 836.000"/>
+  <text class="l2" x="3045.00" y="1103.00">2,56,0</text>
+  <path class="p2" d="M 3196.00 1127.00 L 3227.00 1418.00 L 2981.00 1557.00 L 2933.00 1335.00 L 3196.00 1127.00"/>
+  <text class="l2" x="3084.00" y="1359.00">2,57,0</text>
+  <path class="p2" d="M 2886.00 1114.00 L 2933.00 1335.00 L 2671.00 1544.00 L 2608.00 1392.00 L 2886.00 1114.00"/>
+  <text class="l2" x="2775.00" y="1346.00">2,58,0</text>
+  <line x1="2608.00" y1="1392.00" x2="2671.00" y2="1544.00"/>
+  <path class="p2" d="M 2933.00 1335.00 L 2981.00 1557.00 L 2734.00 1696.00 L 2671.00 1544.00 L 2933.00 1335.00"/>
+  <text class="l2" x="2830.00" y="1533.00">2,59,0</text>
+  <line x1="2671.00" y1="1544.00" x2="2734.00" y2="1696.00"/>
+  <path class="p2" d="M 3227.00 1418.00 L 3259.00 1709.00 L 3028.00 1778.00 L 2981.00 1557.00 L 3227.00 1418.00"/>
+  <text class="l2" x="3123.00" y="1616.00">2,60,0</text>
+  <path class="p2" d="M 3259.00 1709.00 L 3290.00 2000.00 L 3075.00 2000.00 L 3028.00 1778.00 L 3259.00 1709.00"/>
+  <text class="l2" x="3163.00" y="1872.00">2,61,0</text>
+  <path class="p2" d="M 2981.00 1557.00 L 3028.00 1778.00 L 2797.00 1848.00 L 2734.00 1696.00 L 2981.00 1557.00"/>
+  <text class="l2" x="2885.00" y="1720.00">2,62,0</text>
+  <line x1="2734.00" y1="1696.00" x2="2797.00" y2="1848.00"/>
+  <path class="p2" d="M 3028.00 1778.00 L 3075.00 2000.00 L 2860.00 2000.00 L 2797.00 1848.00 L 3028.00 1778.00"/>
+  <text class="l2" x="2940.00" y="1907.00">2,63,0</text>
+  <line x1="2797.00" y1="1848.00" x2="2860.00" y2="2000.00"/>
+
+ <!-- legend -->
+ <rect x="4000" y="280.000" width="1320.00" height="800.000"/>
+ <text x="4050.00" y="400.000" style="text-anchor:start; font-weight:bold; font-size:80">cell label</text>
+  <text x="4080.00" y="520.000" style="text-anchor:start; font-style:oblique; font-size:80">level_number,</text>
+  <text x="4080.00" y="640.000" style="text-anchor:start; font-style:oblique; font-size:80">cell_index,</text>
+  <text x="4080.00" y="760.000" style="text-anchor:start; font-style:oblique; font-size:80">material_id</text>
+
+ <!-- colorbar -->
+ <text x="4000" y="1316.00" style="text-anchor:start; font-weight:bold; font-size:80">level_number</text>
+  <rect class="r1" x="4000" y="2550.00" width="100" height="1170"/>
+  <text x="4150.00" y="3163.00" style="text-anchor:start; font-size:80.0000; font-weight:bold">1 min</text>
+  <rect class="r2" x="4000" y="1380.00" width="100" height="1170"/>
+  <text x="4150.00" y="1993.00" style="text-anchor:start; font-size:80.0000; font-weight:bold">2 max</text>
+
+</svg>
\ No newline at end of file

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.