From: David Wells Date: Wed, 9 Feb 2022 22:25:29 +0000 (-0500) Subject: make GridGenerator::hyper_ball_balanced() work with nonzero origins. X-Git-Tag: v9.4.0-rc1~516^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13353%2Fhead;p=dealii.git make GridGenerator::hyper_ball_balanced() work with nonzero origins. --- diff --git a/doc/news/changes/minor/20220209DavidWells b/doc/news/changes/minor/20220209DavidWells new file mode 100644 index 0000000000..81954d1d6f --- /dev/null +++ b/doc/news/changes/minor/20220209DavidWells @@ -0,0 +1,4 @@ +Fixed: GridGenerator::hyper_ball_balanced() now works correctly with nonzero +centers. +
+(David Wells, 2022/02/09) diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 5b935f3ca6..1f7187a118 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -5835,9 +5835,12 @@ namespace GridGenerator // a time by appropriate rotations, starting from the quarter ball. The // rotations make sure we do not generate inverted cells that would appear // if we tried the slightly simpler approach to simply mirror the cells. + // + // Make the rotations easy by centering at the origin now and shifting by p + // later. Triangulation tria_piece; - GridGenerator::quarter_hyper_ball(tria_piece, p, radius); + GridGenerator::quarter_hyper_ball(tria_piece, Point(), radius); for (unsigned int round = 0; round < dim; ++round) { @@ -5910,6 +5913,7 @@ namespace GridGenerator cell->set_manifold_id(1); else cell->set_all_manifold_ids(numbers::flat_manifold_id); + GridTools::shift(p, tria); tria.set_all_manifold_ids_on_boundary(0); tria.set_manifold(0, SphericalManifold(p)); diff --git a/tests/grid/grid_generator_hyper_ball_balanced.cc b/tests/grid/grid_generator_hyper_ball_balanced.cc index 94bdadf8a5..40c281c9bc 100644 --- a/tests/grid/grid_generator_hyper_ball_balanced.cc +++ b/tests/grid/grid_generator_hyper_ball_balanced.cc @@ -28,22 +28,31 @@ template void check_grid() { - Triangulation triangulation; - GridGenerator::hyper_ball_balanced(triangulation, Point(), 1.); - deallog << "Number of cells: " << triangulation.n_cells() << std::endl; - deallog << "Number of vertices: " << triangulation.n_vertices() << std::endl; - triangulation.refine_global(); - - GridOut go; - GridOutFlags::XFig xfig_flags; - xfig_flags.fill_style = 25; - - go.set_flags(xfig_flags); - GridOut::OutputFormat format = GridOut::xfig; - if (dim == 3) - format = GridOut::dx; - - go.write(triangulation, deallog.get_file_stream(), format); + // Check centered at the origin and at another point + std::array, 2> centers; + centers[1][0] = 0.6; + centers[1][1] = 0.5; + centers[1][dim - 1] = 0.5; + for (const Point ¢er : centers) + { + Triangulation triangulation; + GridGenerator::hyper_ball_balanced(triangulation, center, 1.); + deallog << "Number of cells: " << triangulation.n_cells() << std::endl; + deallog << "Number of vertices: " << triangulation.n_vertices() + << std::endl; + triangulation.refine_global(); + + GridOut go; + GridOutFlags::XFig xfig_flags; + xfig_flags.fill_style = 25; + + go.set_flags(xfig_flags); + GridOut::OutputFormat format = GridOut::xfig; + if (dim == 3) + format = GridOut::dx; + + go.write(triangulation, deallog.get_file_stream(), format); + } } diff --git a/tests/grid/grid_generator_hyper_ball_balanced.output b/tests/grid/grid_generator_hyper_ball_balanced.output index 6f56607ce2..327f201b02 100644 --- a/tests/grid/grid_generator_hyper_ball_balanced.output +++ b/tests/grid/grid_generator_hyper_ball_balanced.output @@ -560,6 +560,567 @@ Single 514 514 681 681 849 358 +DEAL::Number of cells: 12 +DEAL::Number of vertices: 17 +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +0 32 #ff0000 +0 33 #ff8000 +0 34 #ffd000 +0 35 #ffff00 +0 36 #c0ff00 +0 37 #80ff00 +0 38 #00f000 +0 39 #00f0c0 +0 40 #00f0ff +0 41 #00c0ff +0 42 #0080ff +0 43 #0040ff +0 44 #0000c0 +0 45 #5000ff +0 46 #8000ff +0 47 #b000ff +0 48 #ff00ff +0 49 #ff80ff +0 50 #1f1f1f +0 51 #3f3f3f +0 52 #5f5f5f +0 53 #7f7f7f +0 54 #9f9f9f +0 55 #bfbfbf +0 56 #dfdfdf +0 57 #ffffff +0 58 #001f00 +0 59 #002f00 +0 60 #003f00 +0 61 #004f00 +0 62 #005f00 +0 63 #006f00 +0 64 #007f00 +0 65 #008f00 +0 66 #009f00 +0 67 #00af00 +0 68 #00bf00 +0 69 #00cf00 +0 70 #00df00 +0 71 #00ef00 +0 72 #00ff00 +0 73 #1f1f00 +0 74 #2f2f00 +0 75 #3f3f00 +0 76 #4f4f00 +0 77 #5f5f00 +0 78 #6f6f00 +0 79 #7f7f00 +0 80 #8f8f00 +0 81 #9f9f00 +0 82 #afaf00 +0 83 #bfbf00 +0 84 #cfcf00 +0 85 #dfdf00 +0 86 #efef00 +0 87 #ffff00 +0 88 #1f0000 +0 89 #2f0000 +0 90 #3f0000 +0 91 #4f0000 +0 92 #5f0000 +0 93 #6f0000 +0 94 #7f0000 +0 95 #8f0000 +0 96 #9f0000 +0 97 #af0000 +0 98 #bf0000 +0 99 #cf0000 +0 100 #df0000 +0 101 #ef0000 +0 102 #ff0000 +0 103 #1f001f +0 104 #2f002f +0 105 #3f003f +0 106 #4f004f +0 107 #5f005f +0 108 #6f006f +0 109 #7f007f +0 110 #8f008f +0 111 #9f009f +0 112 #af00af +0 113 #bf00bf +0 114 #cf00cf +0 115 #df00df +0 116 #ef00ef +0 117 #ff00ff +0 118 #00001f +0 119 #00002f +0 120 #00003f +0 121 #00004f +0 122 #00005f +0 123 #00006f +0 124 #00007f +0 125 #00008f +0 126 #00009f +0 127 #0000af +0 128 #0000bf +0 129 #0000cf +0 130 #0000df +0 131 #0000ef +0 132 #0000ff +0 133 #001f1f +0 134 #002f2f +0 135 #003f3f +0 136 #004f4f +0 137 #005f5f +0 138 #006f6f +0 139 #007f7f +0 140 #008f8f +0 141 #009f9f +0 142 #00afaf +0 143 #00bfbf +0 144 #00cfcf +0 145 #00dfdf +0 146 #00efef +0 147 #00ffff +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 720 -600 + 1387 -600 + 1234 -1114 + 720 -1267 + 720 -600 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 1920 -600 + 1568 -1448 + 1234 -1114 + 1387 -600 + 1920 -600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 1920 -600 + 1568 -1448 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 720 -1800 + 720 -1267 + 1234 -1114 + 1568 -1448 + 720 -1800 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 720 -1800 + 1568 -1448 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 720 -600 + 720 -1267 + 205 -1114 + 52 -600 + 720 -600 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 720 -1800 + -128 -1448 + 205 -1114 + 720 -1267 + 720 -1800 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 720 -1800 + -128 -1448 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + -480 -600 + 52 -600 + 205 -1114 + -128 -1448 + -480 -600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -480 -600 + -128 -1448 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 720 -600 + 52 -600 + 205 -85 + 720 67 + 720 -600 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + -480 -600 + -128 248 + 205 -85 + 52 -600 + -480 -600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -480 -600 + -128 248 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 720 600 + 720 67 + 205 -85 + -128 248 + 720 600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 720 600 + -128 248 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 720 -600 + 720 67 + 1234 -85 + 1387 -600 + 720 -600 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 720 600 + 1568 248 + 1234 -85 + 720 67 + 720 600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 720 600 + 1568 248 +2 3 0 1 0 32 900 0 25 0.0 0 0 -1 0 0 5 + 1920 -600 + 1387 -600 + 1234 -85 + 1568 248 + 1920 -600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 1920 -600 + 1568 248 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -600 + 1053 -600 + 1015 -895 + 720 -933 + 720 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1053 -600 + 1387 -600 + 1311 -857 + 1015 -895 + 1053 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -933 + 1015 -895 + 977 -1191 + 720 -1267 + 720 -933 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1015 -895 + 1311 -857 + 1234 -1114 + 977 -1191 + 1015 -895 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1920 -600 + 1828 -1059 + 1569 -958 + 1653 -600 + 1920 -600 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 1920 -600 + 1828 -1059 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1828 -1059 + 1568 -1448 + 1401 -1281 + 1569 -958 + 1828 -1059 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 1828 -1059 + 1568 -1448 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1653 -600 + 1569 -958 + 1311 -857 + 1387 -600 + 1653 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1569 -958 + 1401 -1281 + 1234 -1114 + 1311 -857 + 1569 -958 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -1800 + 720 -1533 + 1078 -1449 + 1179 -1708 + 720 -1800 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 720 -1800 + 1179 -1708 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -1533 + 720 -1267 + 977 -1191 + 1078 -1449 + 720 -1533 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1179 -1708 + 1078 -1449 + 1401 -1281 + 1568 -1448 + 1179 -1708 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 1179 -1708 + 1568 -1448 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1078 -1449 + 977 -1191 + 1234 -1114 + 1401 -1281 + 1078 -1449 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -600 + 720 -933 + 424 -895 + 386 -600 + 720 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -933 + 720 -1267 + 462 -1191 + 424 -895 + 720 -933 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 386 -600 + 424 -895 + 128 -857 + 52 -600 + 386 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 424 -895 + 462 -1191 + 205 -1114 + 128 -857 + 424 -895 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -1800 + 260 -1708 + 361 -1449 + 720 -1533 + 720 -1800 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 720 -1800 + 260 -1708 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 260 -1708 + -128 -1448 + 38 -1281 + 361 -1449 + 260 -1708 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 260 -1708 + -128 -1448 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -1533 + 361 -1449 + 462 -1191 + 720 -1267 + 720 -1533 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 361 -1449 + 38 -1281 + 205 -1114 + 462 -1191 + 361 -1449 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + -480 -600 + -213 -600 + -129 -958 + -388 -1059 + -480 -600 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + -480 -600 + -388 -1059 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + -213 -600 + 52 -600 + 128 -857 + -129 -958 + -213 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + -388 -1059 + -129 -958 + 38 -1281 + -128 -1448 + -388 -1059 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + -388 -1059 + -128 -1448 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + -129 -958 + 128 -857 + 205 -1114 + 38 -1281 + -129 -958 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -600 + 386 -600 + 424 -304 + 720 -266 + 720 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 386 -600 + 52 -600 + 128 -342 + 424 -304 + 386 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -266 + 424 -304 + 462 -8 + 720 67 + 720 -266 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 424 -304 + 128 -342 + 205 -85 + 462 -8 + 424 -304 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + -480 -600 + -388 -140 + -129 -241 + -213 -600 + -480 -600 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + -480 -600 + -388 -140 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + -388 -140 + -128 248 + 38 81 + -129 -241 + -388 -140 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + -388 -140 + -128 248 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + -213 -600 + -129 -241 + 128 -342 + 52 -600 + -213 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + -129 -241 + 38 81 + 205 -85 + 128 -342 + -129 -241 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 600 + 720 333 + 361 249 + 260 508 + 720 600 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 720 600 + 260 508 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 333 + 720 67 + 462 -8 + 361 249 + 720 333 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 260 508 + 361 249 + 38 81 + -128 248 + 260 508 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 260 508 + -128 248 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 361 249 + 462 -8 + 205 -85 + 38 81 + 361 249 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -600 + 720 -266 + 1015 -304 + 1053 -600 + 720 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 -266 + 720 67 + 977 -8 + 1015 -304 + 720 -266 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1053 -600 + 1015 -304 + 1311 -342 + 1387 -600 + 1053 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1015 -304 + 977 -8 + 1234 -85 + 1311 -342 + 1015 -304 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 600 + 1179 508 + 1078 249 + 720 333 + 720 600 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 720 600 + 1179 508 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1179 508 + 1568 248 + 1401 81 + 1078 249 + 1179 508 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 1179 508 + 1568 248 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 720 333 + 1078 249 + 977 -8 + 720 67 + 720 333 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1078 249 + 1401 81 + 1234 -85 + 977 -8 + 1078 249 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1920 -600 + 1653 -600 + 1569 -241 + 1828 -140 + 1920 -600 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 1920 -600 + 1828 -140 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1653 -600 + 1387 -600 + 1311 -342 + 1569 -241 + 1653 -600 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1828 -140 + 1569 -241 + 1401 81 + 1568 248 + 1828 -140 +2 1 0 3 1 -1 799 0 -1 0.0 0 0 -1 0 0 2 + 1828 -140 + 1568 248 +2 3 0 1 0 32 899 0 25 0.0 0 0 -1 0 0 5 + 1569 -241 + 1311 -342 + 1234 -85 + 1401 81 + 1569 -241 DEAL::Number of cells: 32 DEAL::Number of vertices: 53 object "vertices" class array type float rank 1 shape 3 items 321 data follows @@ -1164,3 +1725,607 @@ component "level" value "level" object "grid data" class group member "cells" value "cell data" end +DEAL::Number of cells: 32 +DEAL::Number of vertices: 53 +object "vertices" class array type float rank 1 shape 3 items 321 data follows + 0.600000 0.500000 0.500000 + 1.60000 0.500000 0.500000 + 1.12800 0.500000 0.500000 + 0.600000 1.02800 0.500000 + 1.05330 0.953300 0.500000 + 0.600000 1.50000 0.500000 + 1.30711 1.20711 0.500000 + 0.600000 0.500000 1.02800 + 1.30711 0.500000 1.20711 + 1.05330 0.500000 0.953300 + 0.600000 0.953300 0.953300 + 0.975200 0.875200 0.875200 + 0.600000 1.20711 1.20711 + 1.17735 1.07735 1.07735 + 0.600000 0.500000 1.50000 + 0.0720000 0.500000 0.500000 + 0.146700 0.953300 0.500000 + -0.400000 0.500000 0.500000 + -0.107107 1.20711 0.500000 + 0.146700 0.500000 0.953300 + 0.224800 0.875200 0.875200 + -0.107107 0.500000 1.20711 + 0.0226497 1.07735 1.07735 + 0.600000 -0.0280000 0.500000 + 0.146700 0.0467000 0.500000 + 0.600000 -0.500000 0.500000 + -0.107107 -0.207107 0.500000 + 0.600000 0.0467000 0.953300 + 0.224800 0.124800 0.875200 + 0.600000 -0.207107 1.20711 + 0.0226497 -0.0773503 1.07735 + 1.05330 0.0467000 0.500000 + 1.30711 -0.207107 0.500000 + 0.975200 0.124800 0.875200 + 1.17735 -0.0773503 1.07735 + 0.600000 0.500000 -0.0280000 + -0.107107 0.500000 -0.207107 + 0.146700 0.500000 0.0467000 + 0.600000 0.953300 0.0467000 + 0.224800 0.875200 0.124800 + 0.600000 1.20711 -0.207107 + 0.0226497 1.07735 -0.0773503 + 0.600000 0.500000 -0.500000 + 1.05330 0.500000 0.0467000 + 0.975200 0.875200 0.124800 + 1.30711 0.500000 -0.207107 + 1.17735 1.07735 -0.0773503 + 0.600000 0.0467000 0.0467000 + 0.975200 0.124800 0.124800 + 0.600000 -0.207107 -0.207107 + 1.17735 -0.0773503 -0.0773503 + 0.224800 0.124800 0.124800 + 0.0226497 -0.0773503 -0.0773503 + 0.864000 0.500000 0.500000 + 0.600000 0.764000 0.500000 + 0.600000 0.500000 0.764000 + 0.336000 0.500000 0.500000 + 0.600000 0.236000 0.500000 + 0.600000 0.500000 0.236000 + 1.36400 0.500000 0.500000 + 1.52388 0.882683 0.500000 + 1.52388 0.500000 0.882683 + 1.52388 0.117317 0.500000 + 1.52388 0.500000 0.117317 + 1.09065 0.726650 0.500000 + 1.09065 0.500000 0.726650 + 1.09065 0.273350 0.500000 + 1.09065 0.500000 0.273350 + 0.826650 0.990650 0.500000 + 0.600000 0.990650 0.726650 + 0.373350 0.990650 0.500000 + 0.600000 0.990650 0.273350 + 1.01425 0.914250 0.687600 + 1.01425 0.914250 0.312400 + 0.600000 1.26400 0.500000 + 0.982683 1.42388 0.500000 + 0.600000 1.42388 0.882683 + 0.217317 1.42388 0.500000 + 0.600000 1.42388 0.117317 + 1.18020 1.08020 0.500000 + 1.27389 1.17389 0.802905 + 1.27389 1.17389 0.197095 + 0.826650 0.500000 0.990650 + 0.600000 0.726650 0.990650 + 0.373350 0.500000 0.990650 + 0.600000 0.273350 0.990650 + 1.18020 0.500000 1.08020 + 1.27389 0.802905 1.17389 + 1.27389 0.197095 1.17389 + 1.01425 0.687600 0.914250 + 1.01425 0.312400 0.914250 + 0.787600 0.914250 0.914250 + 0.412400 0.914250 0.914250 + 0.600000 1.08020 1.08020 + 0.902905 1.17389 1.17389 + 0.297095 1.17389 1.17389 + 1.07628 0.976275 0.976275 + 0.600000 0.500000 1.26400 + 0.982683 0.500000 1.42388 + 0.600000 0.882683 1.42388 + 0.217317 0.500000 1.42388 + 0.600000 0.117317 1.42388 + 0.109350 0.726650 0.500000 + 0.109350 0.500000 0.726650 + 0.109350 0.273350 0.500000 + 0.109350 0.500000 0.273350 + 0.185750 0.914250 0.687600 + 0.185750 0.914250 0.312400 + -0.164000 0.500000 0.500000 + -0.323880 0.882683 0.500000 + -0.323880 0.500000 0.882683 + -0.323880 0.117317 0.500000 + -0.323880 0.500000 0.117317 + 0.0197966 1.08020 0.500000 + -0.0738873 1.17389 0.802905 + -0.0738873 1.17389 0.197095 + 0.185750 0.687600 0.914250 + 0.185750 0.312400 0.914250 + 0.0197966 0.500000 1.08020 + -0.0738873 0.802905 1.17389 + -0.0738873 0.197095 1.17389 + 0.123725 0.976275 0.976275 + 0.373350 0.00935000 0.500000 + 0.600000 0.00935000 0.726650 + 0.826650 0.00935000 0.500000 + 0.600000 0.00935000 0.273350 + 0.185750 0.0857500 0.687600 + 0.185750 0.0857500 0.312400 + 0.600000 -0.264000 0.500000 + 0.217317 -0.423880 0.500000 + 0.600000 -0.423880 0.882683 + 0.982683 -0.423880 0.500000 + 0.600000 -0.423880 0.117317 + 0.0197966 -0.0802034 0.500000 + -0.0738873 -0.173887 0.802905 + -0.0738873 -0.173887 0.197095 + 0.412400 0.0857500 0.914250 + 0.787600 0.0857500 0.914250 + 0.600000 -0.0802034 1.08020 + 0.297095 -0.173887 1.17389 + 0.902905 -0.173887 1.17389 + 0.123725 0.0237249 0.976275 + 1.01425 0.0857500 0.687600 + 1.01425 0.0857500 0.312400 + 1.18020 -0.0802034 0.500000 + 1.27389 -0.173887 0.802905 + 1.27389 -0.173887 0.197095 + 1.07628 0.0237249 0.976275 + 0.373350 0.500000 0.00935000 + 0.600000 0.726650 0.00935000 + 0.826650 0.500000 0.00935000 + 0.600000 0.273350 0.00935000 + 0.0197966 0.500000 -0.0802034 + -0.0738873 0.802905 -0.173887 + -0.0738873 0.197095 -0.173887 + 0.185750 0.687600 0.0857500 + 0.185750 0.312400 0.0857500 + 0.412400 0.914250 0.0857500 + 0.787600 0.914250 0.0857500 + 0.600000 1.08020 -0.0802034 + 0.297095 1.17389 -0.173887 + 0.902905 1.17389 -0.173887 + 0.123725 0.976275 0.0237249 + 0.600000 0.500000 -0.264000 + 0.217317 0.500000 -0.423880 + 0.600000 0.882683 -0.423880 + 0.982683 0.500000 -0.423880 + 0.600000 0.117317 -0.423880 + 1.01425 0.687600 0.0857500 + 1.01425 0.312400 0.0857500 + 1.18020 0.500000 -0.0802034 + 1.27389 0.802905 -0.173887 + 1.27389 0.197095 -0.173887 + 1.07628 0.976275 0.0237249 + 0.787600 0.0857500 0.0857500 + 0.412400 0.0857500 0.0857500 + 0.600000 -0.0802034 -0.0802034 + 0.902905 -0.173887 -0.173887 + 0.297095 -0.173887 -0.173887 + 1.07628 0.0237249 0.0237249 + 0.123725 0.0237249 0.0237249 + 0.845325 0.500000 0.745325 + 0.845325 0.254675 0.500000 + 0.845325 0.745325 0.500000 + 0.600000 0.745325 0.745325 + 0.354675 0.500000 0.745325 + 0.600000 0.254675 0.745325 + 0.354675 0.745325 0.500000 + 0.354675 0.500000 0.254675 + 0.354675 0.254675 0.500000 + 0.845325 0.500000 0.254675 + 0.600000 0.745325 0.254675 + 0.600000 0.254675 0.254675 + 1.30726 0.804667 0.500000 + 1.30726 0.500000 0.195333 + 1.45775 0.863503 0.863503 + 1.30726 0.500000 0.804667 + 1.45775 0.136497 0.863503 + 1.30726 0.195333 0.500000 + 1.45775 0.136497 0.136497 + 1.45775 0.863503 0.136497 + 1.05245 0.707125 0.292875 + 1.05245 0.707125 0.707125 + 1.05245 0.292875 0.707125 + 1.05245 0.292875 0.292875 + 0.807125 0.952450 0.707125 + 0.392875 0.952450 0.707125 + 0.392875 0.952450 0.292875 + 0.807125 0.952450 0.292875 + 0.600000 1.20726 0.804667 + 0.295333 1.20726 0.500000 + 0.600000 1.20726 0.195333 + 0.904667 1.20726 0.500000 + 0.963503 1.35775 0.136497 + 0.963503 1.35775 0.863503 + 0.236497 1.35775 0.863503 + 0.236497 1.35775 0.136497 + 1.14407 1.04407 0.745253 + 1.14407 1.04407 0.254747 + 0.807125 0.292875 0.952450 + 0.807125 0.707125 0.952450 + 0.392875 0.707125 0.952450 + 0.392875 0.292875 0.952450 + 1.14407 0.745253 1.04407 + 1.14407 0.254747 1.04407 + 0.354747 1.04407 1.04407 + 0.845253 1.04407 1.04407 + 0.904667 0.500000 1.20726 + 0.963503 0.863503 1.35775 + 0.600000 0.804667 1.20726 + 0.236497 0.863503 1.35775 + 0.295333 0.500000 1.20726 + 0.236497 0.136497 1.35775 + 0.600000 0.195333 1.20726 + 0.963503 0.136497 1.35775 + 0.147550 0.707125 0.707125 + 0.147550 0.292875 0.707125 + 0.147550 0.292875 0.292875 + 0.147550 0.707125 0.292875 + -0.107265 0.500000 0.804667 + -0.107265 0.195333 0.500000 + -0.107265 0.804667 0.500000 + -0.257748 0.863503 0.136497 + -0.257748 0.863503 0.863503 + -0.257748 0.136497 0.863503 + -0.107265 0.500000 0.195333 + -0.257748 0.136497 0.136497 + 0.0559313 1.04407 0.745253 + 0.0559313 1.04407 0.254747 + 0.0559313 0.254747 1.04407 + 0.0559313 0.745253 1.04407 + 0.392875 0.0475500 0.707125 + 0.807125 0.0475500 0.707125 + 0.807125 0.0475500 0.292875 + 0.392875 0.0475500 0.292875 + 0.600000 -0.207265 0.804667 + 0.904667 -0.207265 0.500000 + 0.600000 -0.207265 0.195333 + 0.295333 -0.207265 0.500000 + 0.236497 -0.357748 0.136497 + 0.236497 -0.357748 0.863503 + 0.963503 -0.357748 0.863503 + 0.963503 -0.357748 0.136497 + 0.0559313 -0.0440687 0.745253 + 0.0559313 -0.0440687 0.254747 + 0.845253 -0.0440687 1.04407 + 0.354747 -0.0440687 1.04407 + 1.14407 -0.0440687 0.745253 + 1.14407 -0.0440687 0.254747 + 0.392875 0.292875 0.0475500 + 0.392875 0.707125 0.0475500 + 0.807125 0.707125 0.0475500 + 0.807125 0.292875 0.0475500 + 0.0559313 0.745253 -0.0440687 + 0.0559313 0.254747 -0.0440687 + 0.845253 1.04407 -0.0440687 + 0.354747 1.04407 -0.0440687 + 0.295333 0.500000 -0.207265 + 0.236497 0.863503 -0.357748 + 0.600000 0.804667 -0.207265 + 0.963503 0.863503 -0.357748 + 0.904667 0.500000 -0.207265 + 0.963503 0.136497 -0.357748 + 0.600000 0.195333 -0.207265 + 0.236497 0.136497 -0.357748 + 1.14407 0.254747 -0.0440687 + 1.14407 0.745253 -0.0440687 + 0.354747 -0.0440687 -0.0440687 + 0.845253 -0.0440687 -0.0440687 + 0.826225 0.726225 0.726225 + 1.25510 0.785314 0.785314 + 0.885314 1.15510 0.785314 + 0.885314 0.785314 1.15510 + 0.373775 0.726225 0.726225 + 0.314686 1.15510 0.785314 + -0.0550989 0.785314 0.785314 + 0.314686 0.785314 1.15510 + 0.373775 0.273775 0.726225 + -0.0550989 0.214686 0.785314 + 0.314686 -0.155099 0.785314 + 0.314686 0.214686 1.15510 + 0.826225 0.273775 0.726225 + 0.885314 -0.155099 0.785314 + 1.25510 0.214686 0.785314 + 0.885314 0.214686 1.15510 + 0.373775 0.726225 0.273775 + -0.0550989 0.785314 0.214686 + 0.314686 1.15510 0.214686 + 0.314686 0.785314 -0.155099 + 0.826225 0.726225 0.273775 + 0.885314 1.15510 0.214686 + 1.25510 0.785314 0.214686 + 0.885314 0.785314 -0.155099 + 0.826225 0.273775 0.273775 + 1.25510 0.214686 0.214686 + 0.885314 -0.155099 0.214686 + 0.885314 0.214686 -0.155099 + 0.373775 0.273775 0.273775 + 0.314686 -0.155099 0.214686 + -0.0550989 0.214686 0.214686 + 0.314686 0.214686 -0.155099 +object "cells" class array type int rank 1 shape 8 items 256 data follows + 0 55 54 184 53 181 183 289 + 53 181 183 289 2 65 64 202 + 54 184 3 69 183 289 68 205 + 183 289 68 205 64 202 4 72 + 55 7 184 83 181 82 289 220 + 181 82 289 220 65 9 202 89 + 184 83 69 10 289 220 205 91 + 289 220 205 91 202 89 72 11 + 1 61 59 196 60 195 193 290 + 60 195 193 290 6 80 79 217 + 59 196 2 65 193 290 64 202 + 193 290 64 202 79 217 4 72 + 61 8 196 86 195 87 290 223 + 195 87 290 223 80 13 217 96 + 196 86 65 9 290 223 202 89 + 290 223 202 89 217 96 72 11 + 5 76 75 214 74 209 212 291 + 74 209 212 291 3 69 68 205 + 75 214 6 80 212 291 79 217 + 212 291 79 217 68 205 4 72 + 76 12 214 94 209 93 291 226 + 209 93 291 226 69 10 205 91 + 214 94 80 13 291 226 217 96 + 291 226 217 96 205 91 72 11 + 14 98 99 228 97 227 229 292 + 97 227 229 292 7 82 83 220 + 99 228 12 94 229 292 93 226 + 229 292 93 226 83 220 10 91 + 98 8 228 87 227 86 292 223 + 227 86 292 223 82 9 220 89 + 228 87 94 13 292 223 226 96 + 292 223 226 96 220 89 91 11 + 0 55 56 185 54 184 187 293 + 54 184 187 293 3 69 70 206 + 56 185 15 103 187 293 102 235 + 187 293 102 235 70 206 16 106 + 55 7 185 84 184 83 293 221 + 184 83 293 221 69 10 206 92 + 185 84 103 19 293 221 235 116 + 293 221 235 116 206 92 106 20 + 5 76 74 209 77 215 210 294 + 77 215 210 294 18 114 113 247 + 74 209 3 69 210 294 70 206 + 210 294 70 206 113 247 16 106 + 76 12 209 93 215 95 294 225 + 215 95 294 225 114 22 247 121 + 209 93 69 10 294 225 206 92 + 294 225 206 92 247 121 106 20 + 17 110 109 243 108 239 241 295 + 108 239 241 295 15 103 102 235 + 109 243 18 114 241 295 113 247 + 241 295 113 247 102 235 16 106 + 110 21 243 119 239 118 295 250 + 239 118 295 250 103 19 235 116 + 243 119 114 22 295 250 247 121 + 295 250 247 121 235 116 106 20 + 14 99 100 230 97 229 231 296 + 97 229 231 296 7 83 84 221 + 100 230 21 119 231 296 118 250 + 231 296 118 250 84 221 19 116 + 99 12 230 95 229 93 296 225 + 229 93 296 225 83 10 221 92 + 230 95 119 22 296 225 250 121 + 296 225 250 121 221 92 116 20 + 0 55 57 186 56 185 189 297 + 56 185 189 297 15 103 104 236 + 57 186 23 123 189 297 122 251 + 189 297 122 251 104 236 24 126 + 55 7 186 85 185 84 297 222 + 185 84 297 222 103 19 236 117 + 186 85 123 27 297 222 251 136 + 297 222 251 136 236 117 126 28 + 17 110 108 239 111 244 240 298 + 111 244 240 298 26 134 133 263 + 108 239 15 103 240 298 104 236 + 240 298 104 236 133 263 24 126 + 110 21 239 118 244 120 298 249 + 244 120 298 249 134 30 263 141 + 239 118 103 19 298 249 236 117 + 298 249 236 117 263 141 126 28 + 25 130 129 260 128 255 258 299 + 128 255 258 299 23 123 122 251 + 129 260 26 134 258 299 133 263 + 258 299 133 263 122 251 24 126 + 130 29 260 139 255 138 299 266 + 255 138 299 266 123 27 251 136 + 260 139 134 30 299 266 263 141 + 299 266 263 141 251 136 126 28 + 14 100 101 232 97 231 233 300 + 97 231 233 300 7 84 85 222 + 101 232 29 139 233 300 138 266 + 233 300 138 266 85 222 27 136 + 100 21 232 120 231 118 300 249 + 231 118 300 249 84 19 222 117 + 232 120 139 30 300 249 266 141 + 300 249 266 141 222 117 136 28 + 0 55 53 181 57 186 182 301 + 57 186 182 301 23 123 124 252 + 53 181 2 65 182 301 66 203 + 182 301 66 203 124 252 31 142 + 55 7 181 82 186 85 301 219 + 186 85 301 219 123 27 252 137 + 181 82 65 9 301 219 203 90 + 301 219 203 90 252 137 142 33 + 25 130 128 255 131 261 256 302 + 131 261 256 302 32 145 144 267 + 128 255 23 123 256 302 124 252 + 256 302 124 252 144 267 31 142 + 130 29 255 138 261 140 302 265 + 261 140 302 265 145 34 267 147 + 255 138 123 27 302 265 252 137 + 302 265 252 137 267 147 142 33 + 1 61 62 197 59 196 198 303 + 59 196 198 303 2 65 66 203 + 62 197 32 145 198 303 144 267 + 198 303 144 267 66 203 31 142 + 61 8 197 88 196 86 303 224 + 196 86 303 224 65 9 203 90 + 197 88 145 34 303 224 267 147 + 303 224 267 147 203 90 142 33 + 14 101 98 234 97 233 227 304 + 97 233 227 304 7 85 82 219 + 98 234 8 88 227 304 86 224 + 227 304 86 224 82 219 9 90 + 101 29 234 140 233 138 304 265 + 233 138 304 265 85 27 219 137 + 234 140 88 34 304 265 224 147 + 304 265 224 147 219 137 90 33 + 0 58 54 191 56 188 187 305 + 56 188 187 305 15 105 102 238 + 54 191 3 71 187 305 70 207 + 187 305 70 207 102 238 16 107 + 58 35 191 149 188 148 305 270 + 188 148 305 270 105 37 238 155 + 191 149 71 38 305 270 207 157 + 305 270 207 157 238 155 107 39 + 17 112 108 245 109 242 241 306 + 109 242 241 306 18 115 113 248 + 108 245 15 105 241 306 102 238 + 241 306 102 238 113 248 16 107 + 112 36 245 152 242 153 306 273 + 242 153 306 273 115 41 248 162 + 245 152 105 37 306 273 238 155 + 306 273 238 155 248 162 107 39 + 5 78 77 216 74 211 210 307 + 74 211 210 307 3 71 70 207 + 77 216 18 115 210 307 113 248 + 210 307 113 248 70 207 16 107 + 78 40 216 160 211 159 307 276 + 211 159 307 276 71 38 207 157 + 216 160 115 41 307 276 248 162 + 307 276 248 162 207 157 107 39 + 42 164 165 278 163 277 279 308 + 163 277 279 308 35 148 149 270 + 165 278 40 160 279 308 159 276 + 279 308 159 276 149 270 38 157 + 164 36 278 153 277 152 308 273 + 277 152 308 273 148 37 270 155 + 278 153 160 41 308 273 276 162 + 308 273 276 162 270 155 157 39 + 0 58 53 190 54 191 183 309 + 54 191 183 309 3 71 68 208 + 53 190 2 67 183 309 64 201 + 183 309 64 201 68 208 4 73 + 58 35 190 150 191 149 309 271 + 191 149 309 271 71 38 208 158 + 190 150 67 43 309 271 201 168 + 309 271 201 168 208 158 73 44 + 5 78 74 211 75 213 212 310 + 75 213 212 310 6 81 79 218 + 74 211 3 71 212 310 68 208 + 212 310 68 208 79 218 4 73 + 78 40 211 159 213 161 310 275 + 213 161 310 275 81 46 218 173 + 211 159 71 38 310 275 208 158 + 310 275 208 158 218 173 73 44 + 1 63 60 200 59 194 193 311 + 59 194 193 311 2 67 64 201 + 60 200 6 81 193 311 79 218 + 193 311 79 218 64 201 4 73 + 63 45 200 171 194 170 311 286 + 194 170 311 286 67 43 201 168 + 200 171 81 46 311 286 218 173 + 311 286 218 173 201 168 73 44 + 42 165 166 280 163 279 281 312 + 163 279 281 312 35 149 150 271 + 166 280 45 171 281 312 170 286 + 281 312 170 286 150 271 43 168 + 165 40 280 161 279 159 312 275 + 279 159 312 275 149 38 271 158 + 280 161 171 46 312 275 286 173 + 312 275 286 173 271 158 168 44 + 0 58 57 192 53 190 182 313 + 53 190 182 313 2 67 66 204 + 57 192 23 125 182 313 124 253 + 182 313 124 253 66 204 31 143 + 58 35 192 151 190 150 313 272 + 190 150 313 272 67 43 204 169 + 192 151 125 47 313 272 253 174 + 313 272 253 174 204 169 143 48 + 1 63 59 194 62 199 198 314 + 62 199 198 314 32 146 144 268 + 59 194 2 67 198 314 66 204 + 198 314 66 204 144 268 31 143 + 63 45 194 170 199 172 314 285 + 199 172 314 285 146 50 268 179 + 194 170 67 43 314 285 204 169 + 314 285 204 169 268 179 143 48 + 25 132 131 262 128 257 256 315 + 128 257 256 315 23 125 124 253 + 131 262 32 146 256 315 144 268 + 256 315 144 268 124 253 31 143 + 132 49 262 177 257 176 315 288 + 257 176 315 288 125 47 253 174 + 262 177 146 50 315 288 268 179 + 315 288 268 179 253 174 143 48 + 42 166 167 282 163 281 283 316 + 163 281 283 316 35 150 151 272 + 167 282 49 177 283 316 176 288 + 283 316 176 288 151 272 47 174 + 166 45 282 172 281 170 316 285 + 281 170 316 285 150 43 272 169 + 282 172 177 50 316 285 288 179 + 316 285 288 179 272 169 174 48 + 0 58 56 188 57 192 189 317 + 57 192 189 317 23 125 122 254 + 56 188 15 105 189 317 104 237 + 189 317 104 237 122 254 24 127 + 58 35 188 148 192 151 317 269 + 192 151 317 269 125 47 254 175 + 188 148 105 37 317 269 237 156 + 317 269 237 156 254 175 127 51 + 25 132 128 257 129 259 258 318 + 129 259 258 318 26 135 133 264 + 128 257 23 125 258 318 122 254 + 258 318 122 254 133 264 24 127 + 132 49 257 176 259 178 318 287 + 259 178 318 287 135 52 264 180 + 257 176 125 47 318 287 254 175 + 318 287 254 175 264 180 127 51 + 17 112 111 246 108 245 240 319 + 108 245 240 319 15 105 104 237 + 111 246 26 135 240 319 133 264 + 240 319 133 264 104 237 24 127 + 112 36 246 154 245 152 319 274 + 245 152 319 274 105 37 237 156 + 246 154 135 52 319 274 264 180 + 319 274 264 180 237 156 127 51 + 42 167 164 284 163 283 277 320 + 163 283 277 320 35 151 148 269 + 164 284 36 154 277 320 152 274 + 277 320 152 274 148 269 37 156 + 167 49 284 178 283 176 320 287 + 283 176 320 287 151 47 269 175 + 284 178 154 52 320 287 274 180 + 320 287 274 180 269 175 156 51 +attribute "element type" string "cubes" +attribute "ref" string "positions" + +object "material" class array type int rank 0 items 256 data follows + 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +attribute "dep" string "connections" + +object "level" class array type int rank 0 items 256 data follows + 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +attribute "dep" string "connections" + +object "deal data" class field +component "positions" value "vertices" +component "connections" value "cells" +object "cell data" class field +component "positions" value "vertices" +component "connections" value "cells" +component "material" value "material" +component "level" value "level" + +object "grid data" class group +member "cells" value "cell data" +end