--- /dev/null
+// ---------------------------------------------------------------------
+//
+// Copyright (C) 2016 by the deal.II authors
+//
+// This file is part of the deal.II library.
+//
+// The deal.II library is free software; you can use it, redistribute
+// it, and/or modify it under the terms of the GNU Lesser General
+// Public License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// The full text of the license can be found in the file LICENSE at
+// the top level of the deal.II distribution.
+//
+// ---------------------------------------------------------------------
+
+
+
+// MappingQ::clone forgot to copy the flag that describes whether to
+// also use curved geometries in interior cells. This could lead to
+// wrong output in DataOut, which puts the mapping into a
+// hp::MappingCollection, which requires cloning the mapping.
+//
+// based on a testcase by Sebastian Gonzalez-Pintor
+
+#include "../tests.h"
+#include <deal.II/base/logstream.h>
+#include <deal.II/grid/grid_generator.h>
+#include <deal.II/grid/tria_accessor.h>
+#include <deal.II/grid/tria_iterator.h>
+#include <deal.II/grid/tria_boundary_lib.h>
+#include <deal.II/grid/tria.h>
+#include <deal.II/grid/manifold_lib.h>
+#include <deal.II/grid/grid_out.h>
+
+#include <deal.II/dofs/dof_handler.h>
+#include <deal.II/dofs/dof_accessor.h>
+
+#include <deal.II/fe/fe_q.h>
+#include <deal.II/fe/fe_values.h>
+#include <deal.II/fe/mapping_q.h>
+
+#include <deal.II/numerics/data_out.h>
+
+#include <fstream>
+
+
+int main ()
+{
+ std::ofstream logfile("output");
+ deallog.attach(logfile);
+ deallog.threshold_double(1.e-10);
+
+ const Point<2> center (0,0);
+ const SphericalManifold<2> boundary_description (center);
+
+ for (unsigned int degree=1; degree <= 4; ++degree)
+ {
+ deallog << "===== Mapping degree " << degree << std::endl;
+
+ Triangulation<2> triangulation;
+ GridGenerator::hyper_ball (triangulation, Point< 2 >(0.0,0.0), 1.0 );
+
+ const MappingQ<2> mapping (degree, true);
+ const FE_Q<2> dummy_fe (1);
+ DoFHandler<2> dof_handler (triangulation);
+
+ for (Triangulation<2>::active_cell_iterator
+ cell = triangulation.begin_active(); cell!=triangulation.end(); ++cell)
+ {
+ if (cell->center().square() < 1.e-5)
+ cell->set_material_id(1);
+ else
+ cell->set_material_id(0);
+ }
+
+ Triangulation<2>::active_cell_iterator
+ cell = triangulation.begin_active(),
+ endc = triangulation.end();
+
+ for (; cell!=endc; ++cell)
+ if (cell->material_id() != 1)
+ cell->set_all_manifold_ids (100);
+
+ triangulation.set_manifold (100, boundary_description);
+
+ dof_handler.distribute_dofs (dummy_fe);
+
+ DataOut<2> data_out;
+ data_out.attach_dof_handler (dof_handler);
+ data_out.build_patches (mapping, 5, DataOut<2>::curved_inner_cells );
+ data_out.write_vtk (deallog.get_file_stream());
+ }
+}
+
+
--- /dev/null
+
+DEAL::===== Mapping degree 1
+# vtk DataFile Version 3.0
+#This file was generated
+ASCII
+DATASET UNSTRUCTURED_GRID
+
+POINTS 180 double
+-0.707107 -0.707107 0
+-0.424264 -0.707107 0
+-0.141421 -0.707107 0
+0.141421 -0.707107 0
+0.424264 -0.707107 0
+0.707107 -0.707107 0
+-0.624264 -0.624264 0
+-0.374558 -0.624264 0
+-0.124853 -0.624264 0
+0.124853 -0.624264 0
+0.374558 -0.624264 0
+0.624264 -0.624264 0
+-0.541421 -0.541421 0
+-0.324853 -0.541421 0
+-0.108284 -0.541421 0
+0.108284 -0.541421 0
+0.324853 -0.541421 0
+0.541421 -0.541421 0
+-0.458579 -0.458579 0
+-0.275147 -0.458579 0
+-0.0917157 -0.458579 0
+0.0917157 -0.458579 0
+0.275147 -0.458579 0
+0.458579 -0.458579 0
+-0.375736 -0.375736 0
+-0.225442 -0.375736 0
+-0.0751472 -0.375736 0
+0.0751472 -0.375736 0
+0.225442 -0.375736 0
+0.375736 -0.375736 0
+-0.292893 -0.292893 0
+-0.175736 -0.292893 0
+-0.0585786 -0.292893 0
+0.0585786 -0.292893 0
+0.175736 -0.292893 0
+0.292893 -0.292893 0
+-0.707107 -0.707107 0
+-0.624264 -0.624264 0
+-0.541421 -0.541421 0
+-0.458579 -0.458579 0
+-0.375736 -0.375736 0
+-0.292893 -0.292893 0
+-0.707107 -0.424264 0
+-0.624264 -0.374558 0
+-0.541421 -0.324853 0
+-0.458579 -0.275147 0
+-0.375736 -0.225442 0
+-0.292893 -0.175736 0
+-0.707107 -0.141421 0
+-0.624264 -0.124853 0
+-0.541421 -0.108284 0
+-0.458579 -0.0917157 0
+-0.375736 -0.0751472 0
+-0.292893 -0.0585786 0
+-0.707107 0.141421 0
+-0.624264 0.124853 0
+-0.541421 0.108284 0
+-0.458579 0.0917157 0
+-0.375736 0.0751472 0
+-0.292893 0.0585786 0
+-0.707107 0.424264 0
+-0.624264 0.374558 0
+-0.541421 0.324853 0
+-0.458579 0.275147 0
+-0.375736 0.225442 0
+-0.292893 0.175736 0
+-0.707107 0.707107 0
+-0.624264 0.624264 0
+-0.541421 0.541421 0
+-0.458579 0.458579 0
+-0.375736 0.375736 0
+-0.292893 0.292893 0
+-0.292893 -0.292893 0
+-0.175736 -0.292893 0
+-0.0585786 -0.292893 0
+0.0585786 -0.292893 0
+0.175736 -0.292893 0
+0.292893 -0.292893 0
+-0.292893 -0.175736 0
+-0.175736 -0.175736 0
+-0.0585786 -0.175736 0
+0.0585786 -0.175736 0
+0.175736 -0.175736 0
+0.292893 -0.175736 0
+-0.292893 -0.0585786 0
+-0.175736 -0.0585786 0
+-0.0585786 -0.0585786 0
+0.0585786 -0.0585786 0
+0.175736 -0.0585786 0
+0.292893 -0.0585786 0
+-0.292893 0.0585786 0
+-0.175736 0.0585786 0
+-0.0585786 0.0585786 0
+0.0585786 0.0585786 0
+0.175736 0.0585786 0
+0.292893 0.0585786 0
+-0.292893 0.175736 0
+-0.175736 0.175736 0
+-0.0585786 0.175736 0
+0.0585786 0.175736 0
+0.175736 0.175736 0
+0.292893 0.175736 0
+-0.292893 0.292893 0
+-0.175736 0.292893 0
+-0.0585786 0.292893 0
+0.0585786 0.292893 0
+0.175736 0.292893 0
+0.292893 0.292893 0
+0.707107 -0.707107 0
+0.707107 -0.424264 0
+0.707107 -0.141421 0
+0.707107 0.141421 0
+0.707107 0.424264 0
+0.707107 0.707107 0
+0.624264 -0.624264 0
+0.624264 -0.374558 0
+0.624264 -0.124853 0
+0.624264 0.124853 0
+0.624264 0.374558 0
+0.624264 0.624264 0
+0.541421 -0.541421 0
+0.541421 -0.324853 0
+0.541421 -0.108284 0
+0.541421 0.108284 0
+0.541421 0.324853 0
+0.541421 0.541421 0
+0.458579 -0.458579 0
+0.458579 -0.275147 0
+0.458579 -0.0917157 0
+0.458579 0.0917157 0
+0.458579 0.275147 0
+0.458579 0.458579 0
+0.375736 -0.375736 0
+0.375736 -0.225442 0
+0.375736 -0.0751472 0
+0.375736 0.0751472 0
+0.375736 0.225442 0
+0.375736 0.375736 0
+0.292893 -0.292893 0
+0.292893 -0.175736 0
+0.292893 -0.0585786 0
+0.292893 0.0585786 0
+0.292893 0.175736 0
+0.292893 0.292893 0
+-0.707107 0.707107 0
+-0.624264 0.624264 0
+-0.541421 0.541421 0
+-0.458579 0.458579 0
+-0.375736 0.375736 0
+-0.292893 0.292893 0
+-0.424264 0.707107 0
+-0.374558 0.624264 0
+-0.324853 0.541421 0
+-0.275147 0.458579 0
+-0.225442 0.375736 0
+-0.175736 0.292893 0
+-0.141421 0.707107 0
+-0.124853 0.624264 0
+-0.108284 0.541421 0
+-0.0917157 0.458579 0
+-0.0751472 0.375736 0
+-0.0585786 0.292893 0
+0.141421 0.707107 0
+0.124853 0.624264 0
+0.108284 0.541421 0
+0.0917157 0.458579 0
+0.0751472 0.375736 0
+0.0585786 0.292893 0
+0.424264 0.707107 0
+0.374558 0.624264 0
+0.324853 0.541421 0
+0.275147 0.458579 0
+0.225442 0.375736 0
+0.175736 0.292893 0
+0.707107 0.707107 0
+0.624264 0.624264 0
+0.541421 0.541421 0
+0.458579 0.458579 0
+0.375736 0.375736 0
+0.292893 0.292893 0
+
+CELLS 125 625
+4 0 1 7 6
+4 1 2 8 7
+4 2 3 9 8
+4 3 4 10 9
+4 4 5 11 10
+4 6 7 13 12
+4 7 8 14 13
+4 8 9 15 14
+4 9 10 16 15
+4 10 11 17 16
+4 12 13 19 18
+4 13 14 20 19
+4 14 15 21 20
+4 15 16 22 21
+4 16 17 23 22
+4 18 19 25 24
+4 19 20 26 25
+4 20 21 27 26
+4 21 22 28 27
+4 22 23 29 28
+4 24 25 31 30
+4 25 26 32 31
+4 26 27 33 32
+4 27 28 34 33
+4 28 29 35 34
+4 36 37 43 42
+4 37 38 44 43
+4 38 39 45 44
+4 39 40 46 45
+4 40 41 47 46
+4 42 43 49 48
+4 43 44 50 49
+4 44 45 51 50
+4 45 46 52 51
+4 46 47 53 52
+4 48 49 55 54
+4 49 50 56 55
+4 50 51 57 56
+4 51 52 58 57
+4 52 53 59 58
+4 54 55 61 60
+4 55 56 62 61
+4 56 57 63 62
+4 57 58 64 63
+4 58 59 65 64
+4 60 61 67 66
+4 61 62 68 67
+4 62 63 69 68
+4 63 64 70 69
+4 64 65 71 70
+4 72 73 79 78
+4 73 74 80 79
+4 74 75 81 80
+4 75 76 82 81
+4 76 77 83 82
+4 78 79 85 84
+4 79 80 86 85
+4 80 81 87 86
+4 81 82 88 87
+4 82 83 89 88
+4 84 85 91 90
+4 85 86 92 91
+4 86 87 93 92
+4 87 88 94 93
+4 88 89 95 94
+4 90 91 97 96
+4 91 92 98 97
+4 92 93 99 98
+4 93 94 100 99
+4 94 95 101 100
+4 96 97 103 102
+4 97 98 104 103
+4 98 99 105 104
+4 99 100 106 105
+4 100 101 107 106
+4 108 109 115 114
+4 109 110 116 115
+4 110 111 117 116
+4 111 112 118 117
+4 112 113 119 118
+4 114 115 121 120
+4 115 116 122 121
+4 116 117 123 122
+4 117 118 124 123
+4 118 119 125 124
+4 120 121 127 126
+4 121 122 128 127
+4 122 123 129 128
+4 123 124 130 129
+4 124 125 131 130
+4 126 127 133 132
+4 127 128 134 133
+4 128 129 135 134
+4 129 130 136 135
+4 130 131 137 136
+4 132 133 139 138
+4 133 134 140 139
+4 134 135 141 140
+4 135 136 142 141
+4 136 137 143 142
+4 144 145 151 150
+4 145 146 152 151
+4 146 147 153 152
+4 147 148 154 153
+4 148 149 155 154
+4 150 151 157 156
+4 151 152 158 157
+4 152 153 159 158
+4 153 154 160 159
+4 154 155 161 160
+4 156 157 163 162
+4 157 158 164 163
+4 158 159 165 164
+4 159 160 166 165
+4 160 161 167 166
+4 162 163 169 168
+4 163 164 170 169
+4 164 165 171 170
+4 165 166 172 171
+4 166 167 173 172
+4 168 169 175 174
+4 169 170 176 175
+4 170 171 177 176
+4 171 172 178 177
+4 172 173 179 178
+
+CELL_TYPES 125
+ 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
+POINT_DATA 180
+DEAL::===== Mapping degree 2
+# vtk DataFile Version 3.0
+#This file was generated
+ASCII
+DATASET UNSTRUCTURED_GRID
+
+POINTS 180 double
+-0.707107 -0.707107 0
+-0.424264 -0.894558 0
+-0.141421 -0.988284 0
+0.141421 -0.988284 0
+0.424264 -0.894558 0
+0.707107 -0.707107 0
+-0.624264 -0.624264 0
+-0.374558 -0.789754 0
+-0.124853 -0.872500 0
+0.124853 -0.872500 0
+0.374558 -0.789754 0
+0.624264 -0.624264 0
+-0.541421 -0.541421 0
+-0.324853 -0.684950 0
+-0.108284 -0.756715 0
+0.108284 -0.756715 0
+0.324853 -0.684950 0
+0.541421 -0.541421 0
+-0.458579 -0.458579 0
+-0.275147 -0.580146 0
+-0.0917157 -0.640930 0
+0.0917157 -0.640930 0
+0.275147 -0.580146 0
+0.458579 -0.458579 0
+-0.375736 -0.375736 0
+-0.225442 -0.475342 0
+-0.0751472 -0.525145 0
+0.0751472 -0.525145 0
+0.225442 -0.475342 0
+0.375736 -0.375736 0
+-0.292893 -0.292893 0
+-0.175736 -0.370538 0
+-0.0585786 -0.409361 0
+0.0585786 -0.409361 0
+0.175736 -0.370538 0
+0.292893 -0.292893 0
+-0.707107 -0.707107 0
+-0.624264 -0.624264 0
+-0.541421 -0.541421 0
+-0.458579 -0.458579 0
+-0.375736 -0.375736 0
+-0.292893 -0.292893 0
+-0.894558 -0.424264 0
+-0.789754 -0.374558 0
+-0.684950 -0.324853 0
+-0.580146 -0.275147 0
+-0.475342 -0.225442 0
+-0.370538 -0.175736 0
+-0.988284 -0.141421 0
+-0.872500 -0.124853 0
+-0.756715 -0.108284 0
+-0.640930 -0.0917157 0
+-0.525145 -0.0751472 0
+-0.409361 -0.0585786 0
+-0.988284 0.141421 0
+-0.872500 0.124853 0
+-0.756715 0.108284 0
+-0.640930 0.0917157 0
+-0.525145 0.0751472 0
+-0.409361 0.0585786 0
+-0.894558 0.424264 0
+-0.789754 0.374558 0
+-0.684950 0.324853 0
+-0.580146 0.275147 0
+-0.475342 0.225442 0
+-0.370538 0.175736 0
+-0.707107 0.707107 0
+-0.624264 0.624264 0
+-0.541421 0.541421 0
+-0.458579 0.458579 0
+-0.375736 0.375736 0
+-0.292893 0.292893 0
+-0.292893 -0.292893 0
+-0.175736 -0.370538 0
+-0.0585786 -0.409361 0
+0.0585786 -0.409361 0
+0.175736 -0.370538 0
+0.292893 -0.292893 0
+-0.370538 -0.175736 0
+-0.222323 -0.222323 0
+-0.0741076 -0.245616 0
+0.0741076 -0.245616 0
+0.222323 -0.222323 0
+0.370538 -0.175736 0
+-0.409361 -0.0585786 0
+-0.245616 -0.0741076 0
+-0.0818722 -0.0818722 0
+0.0818722 -0.0818722 0
+0.245616 -0.0741076 0
+0.409361 -0.0585786 0
+-0.409361 0.0585786 0
+-0.245616 0.0741076 0
+-0.0818722 0.0818722 0
+0.0818722 0.0818722 0
+0.245616 0.0741076 0
+0.409361 0.0585786 0
+-0.370538 0.175736 0
+-0.222323 0.222323 0
+-0.0741076 0.245616 0
+0.0741076 0.245616 0
+0.222323 0.222323 0
+0.370538 0.175736 0
+-0.292893 0.292893 0
+-0.175736 0.370538 0
+-0.0585786 0.409361 0
+0.0585786 0.409361 0
+0.175736 0.370538 0
+0.292893 0.292893 0
+0.707107 -0.707107 0
+0.894558 -0.424264 0
+0.988284 -0.141421 0
+0.988284 0.141421 0
+0.894558 0.424264 0
+0.707107 0.707107 0
+0.624264 -0.624264 0
+0.789754 -0.374558 0
+0.872500 -0.124853 0
+0.872500 0.124853 0
+0.789754 0.374558 0
+0.624264 0.624264 0
+0.541421 -0.541421 0
+0.684950 -0.324853 0
+0.756715 -0.108284 0
+0.756715 0.108284 0
+0.684950 0.324853 0
+0.541421 0.541421 0
+0.458579 -0.458579 0
+0.580146 -0.275147 0
+0.640930 -0.0917157 0
+0.640930 0.0917157 0
+0.580146 0.275147 0
+0.458579 0.458579 0
+0.375736 -0.375736 0
+0.475342 -0.225442 0
+0.525145 -0.0751472 0
+0.525145 0.0751472 0
+0.475342 0.225442 0
+0.375736 0.375736 0
+0.292893 -0.292893 0
+0.370538 -0.175736 0
+0.409361 -0.0585786 0
+0.409361 0.0585786 0
+0.370538 0.175736 0
+0.292893 0.292893 0
+-0.707107 0.707107 0
+-0.624264 0.624264 0
+-0.541421 0.541421 0
+-0.458579 0.458579 0
+-0.375736 0.375736 0
+-0.292893 0.292893 0
+-0.424264 0.894558 0
+-0.374558 0.789754 0
+-0.324853 0.684950 0
+-0.275147 0.580146 0
+-0.225442 0.475342 0
+-0.175736 0.370538 0
+-0.141421 0.988284 0
+-0.124853 0.872500 0
+-0.108284 0.756715 0
+-0.0917157 0.640930 0
+-0.0751472 0.525145 0
+-0.0585786 0.409361 0
+0.141421 0.988284 0
+0.124853 0.872500 0
+0.108284 0.756715 0
+0.0917157 0.640930 0
+0.0751472 0.525145 0
+0.0585786 0.409361 0
+0.424264 0.894558 0
+0.374558 0.789754 0
+0.324853 0.684950 0
+0.275147 0.580146 0
+0.225442 0.475342 0
+0.175736 0.370538 0
+0.707107 0.707107 0
+0.624264 0.624264 0
+0.541421 0.541421 0
+0.458579 0.458579 0
+0.375736 0.375736 0
+0.292893 0.292893 0
+
+CELLS 125 625
+4 0 1 7 6
+4 1 2 8 7
+4 2 3 9 8
+4 3 4 10 9
+4 4 5 11 10
+4 6 7 13 12
+4 7 8 14 13
+4 8 9 15 14
+4 9 10 16 15
+4 10 11 17 16
+4 12 13 19 18
+4 13 14 20 19
+4 14 15 21 20
+4 15 16 22 21
+4 16 17 23 22
+4 18 19 25 24
+4 19 20 26 25
+4 20 21 27 26
+4 21 22 28 27
+4 22 23 29 28
+4 24 25 31 30
+4 25 26 32 31
+4 26 27 33 32
+4 27 28 34 33
+4 28 29 35 34
+4 36 37 43 42
+4 37 38 44 43
+4 38 39 45 44
+4 39 40 46 45
+4 40 41 47 46
+4 42 43 49 48
+4 43 44 50 49
+4 44 45 51 50
+4 45 46 52 51
+4 46 47 53 52
+4 48 49 55 54
+4 49 50 56 55
+4 50 51 57 56
+4 51 52 58 57
+4 52 53 59 58
+4 54 55 61 60
+4 55 56 62 61
+4 56 57 63 62
+4 57 58 64 63
+4 58 59 65 64
+4 60 61 67 66
+4 61 62 68 67
+4 62 63 69 68
+4 63 64 70 69
+4 64 65 71 70
+4 72 73 79 78
+4 73 74 80 79
+4 74 75 81 80
+4 75 76 82 81
+4 76 77 83 82
+4 78 79 85 84
+4 79 80 86 85
+4 80 81 87 86
+4 81 82 88 87
+4 82 83 89 88
+4 84 85 91 90
+4 85 86 92 91
+4 86 87 93 92
+4 87 88 94 93
+4 88 89 95 94
+4 90 91 97 96
+4 91 92 98 97
+4 92 93 99 98
+4 93 94 100 99
+4 94 95 101 100
+4 96 97 103 102
+4 97 98 104 103
+4 98 99 105 104
+4 99 100 106 105
+4 100 101 107 106
+4 108 109 115 114
+4 109 110 116 115
+4 110 111 117 116
+4 111 112 118 117
+4 112 113 119 118
+4 114 115 121 120
+4 115 116 122 121
+4 116 117 123 122
+4 117 118 124 123
+4 118 119 125 124
+4 120 121 127 126
+4 121 122 128 127
+4 122 123 129 128
+4 123 124 130 129
+4 124 125 131 130
+4 126 127 133 132
+4 127 128 134 133
+4 128 129 135 134
+4 129 130 136 135
+4 130 131 137 136
+4 132 133 139 138
+4 133 134 140 139
+4 134 135 141 140
+4 135 136 142 141
+4 136 137 143 142
+4 144 145 151 150
+4 145 146 152 151
+4 146 147 153 152
+4 147 148 154 153
+4 148 149 155 154
+4 150 151 157 156
+4 151 152 158 157
+4 152 153 159 158
+4 153 154 160 159
+4 154 155 161 160
+4 156 157 163 162
+4 157 158 164 163
+4 158 159 165 164
+4 159 160 166 165
+4 160 161 167 166
+4 162 163 169 168
+4 163 164 170 169
+4 164 165 171 170
+4 165 166 172 171
+4 166 167 173 172
+4 168 169 175 174
+4 169 170 176 175
+4 170 171 177 176
+4 171 172 178 177
+4 172 173 179 178
+
+CELL_TYPES 125
+ 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
+POINT_DATA 180
+DEAL::===== Mapping degree 3
+# vtk DataFile Version 3.0
+#This file was generated
+ASCII
+DATASET UNSTRUCTURED_GRID
+
+POINTS 180 double
+-0.707107 -0.707107 0
+-0.523031 -0.871718 0
+-0.190805 -0.954024 0
+0.190805 -0.954024 0
+0.523031 -0.871718 0
+0.707107 -0.707107 0
+-0.624264 -0.624264 0
+-0.461754 -0.769590 0
+-0.168451 -0.842253 0
+0.168451 -0.842253 0
+0.461754 -0.769590 0
+0.624264 -0.624264 0
+-0.541421 -0.541421 0
+-0.400477 -0.667462 0
+-0.146096 -0.730482 0
+0.146096 -0.730482 0
+0.400477 -0.667462 0
+0.541421 -0.541421 0
+-0.458579 -0.458579 0
+-0.339200 -0.565334 0
+-0.123742 -0.618711 0
+0.123742 -0.618711 0
+0.339200 -0.565334 0
+0.458579 -0.458579 0
+-0.375736 -0.375736 0
+-0.277923 -0.463206 0
+-0.101388 -0.506940 0
+0.101388 -0.506940 0
+0.277923 -0.463206 0
+0.375736 -0.375736 0
+-0.292893 -0.292893 0
+-0.216646 -0.361077 0
+-0.0790339 -0.395170 0
+0.0790339 -0.395170 0
+0.216646 -0.361077 0
+0.292893 -0.292893 0
+-0.707107 -0.707107 0
+-0.624264 -0.624264 0
+-0.541421 -0.541421 0
+-0.458579 -0.458579 0
+-0.375736 -0.375736 0
+-0.292893 -0.292893 0
+-0.871718 -0.523031 0
+-0.769590 -0.461754 0
+-0.667462 -0.400477 0
+-0.565334 -0.339200 0
+-0.463206 -0.277923 0
+-0.361077 -0.216646 0
+-0.954024 -0.190805 0
+-0.842253 -0.168451 0
+-0.730482 -0.146096 0
+-0.618711 -0.123742 0
+-0.506940 -0.101388 0
+-0.395170 -0.0790339 0
+-0.954024 0.190805 0
+-0.842253 0.168451 0
+-0.730482 0.146096 0
+-0.618711 0.123742 0
+-0.506940 0.101388 0
+-0.395170 0.0790339 0
+-0.871718 0.523031 0
+-0.769590 0.461754 0
+-0.667462 0.400477 0
+-0.565334 0.339200 0
+-0.463206 0.277923 0
+-0.361077 0.216646 0
+-0.707107 0.707107 0
+-0.624264 0.624264 0
+-0.541421 0.541421 0
+-0.458579 0.458579 0
+-0.375736 0.375736 0
+-0.292893 0.292893 0
+-0.292893 -0.292893 0
+-0.216646 -0.361077 0
+-0.0790339 -0.395170 0
+0.0790339 -0.395170 0
+0.216646 -0.361077 0
+0.292893 -0.292893 0
+-0.361077 -0.216646 0
+-0.222311 -0.222311 0
+-0.0750478 -0.225143 0
+0.0750478 -0.225143 0
+0.222311 -0.222311 0
+0.361077 -0.216646 0
+-0.395170 -0.0790339 0
+-0.225143 -0.0750478 0
+-0.0730547 -0.0730547 0
+0.0730547 -0.0730547 0
+0.225143 -0.0750478 0
+0.395170 -0.0790339 0
+-0.395170 0.0790339 0
+-0.225143 0.0750478 0
+-0.0730547 0.0730547 0
+0.0730547 0.0730547 0
+0.225143 0.0750478 0
+0.395170 0.0790339 0
+-0.361077 0.216646 0
+-0.222311 0.222311 0
+-0.0750478 0.225143 0
+0.0750478 0.225143 0
+0.222311 0.222311 0
+0.361077 0.216646 0
+-0.292893 0.292893 0
+-0.216646 0.361077 0
+-0.0790339 0.395170 0
+0.0790339 0.395170 0
+0.216646 0.361077 0
+0.292893 0.292893 0
+0.707107 -0.707107 0
+0.871718 -0.523031 0
+0.954024 -0.190805 0
+0.954024 0.190805 0
+0.871718 0.523031 0
+0.707107 0.707107 0
+0.624264 -0.624264 0
+0.769590 -0.461754 0
+0.842253 -0.168451 0
+0.842253 0.168451 0
+0.769590 0.461754 0
+0.624264 0.624264 0
+0.541421 -0.541421 0
+0.667462 -0.400477 0
+0.730482 -0.146096 0
+0.730482 0.146096 0
+0.667462 0.400477 0
+0.541421 0.541421 0
+0.458579 -0.458579 0
+0.565334 -0.339200 0
+0.618711 -0.123742 0
+0.618711 0.123742 0
+0.565334 0.339200 0
+0.458579 0.458579 0
+0.375736 -0.375736 0
+0.463206 -0.277923 0
+0.506940 -0.101388 0
+0.506940 0.101388 0
+0.463206 0.277923 0
+0.375736 0.375736 0
+0.292893 -0.292893 0
+0.361077 -0.216646 0
+0.395170 -0.0790339 0
+0.395170 0.0790339 0
+0.361077 0.216646 0
+0.292893 0.292893 0
+-0.707107 0.707107 0
+-0.624264 0.624264 0
+-0.541421 0.541421 0
+-0.458579 0.458579 0
+-0.375736 0.375736 0
+-0.292893 0.292893 0
+-0.523031 0.871718 0
+-0.461754 0.769590 0
+-0.400477 0.667462 0
+-0.339200 0.565334 0
+-0.277923 0.463206 0
+-0.216646 0.361077 0
+-0.190805 0.954024 0
+-0.168451 0.842253 0
+-0.146096 0.730482 0
+-0.123742 0.618711 0
+-0.101388 0.506940 0
+-0.0790339 0.395170 0
+0.190805 0.954024 0
+0.168451 0.842253 0
+0.146096 0.730482 0
+0.123742 0.618711 0
+0.101388 0.506940 0
+0.0790339 0.395170 0
+0.523031 0.871718 0
+0.461754 0.769590 0
+0.400477 0.667462 0
+0.339200 0.565334 0
+0.277923 0.463206 0
+0.216646 0.361077 0
+0.707107 0.707107 0
+0.624264 0.624264 0
+0.541421 0.541421 0
+0.458579 0.458579 0
+0.375736 0.375736 0
+0.292893 0.292893 0
+
+CELLS 125 625
+4 0 1 7 6
+4 1 2 8 7
+4 2 3 9 8
+4 3 4 10 9
+4 4 5 11 10
+4 6 7 13 12
+4 7 8 14 13
+4 8 9 15 14
+4 9 10 16 15
+4 10 11 17 16
+4 12 13 19 18
+4 13 14 20 19
+4 14 15 21 20
+4 15 16 22 21
+4 16 17 23 22
+4 18 19 25 24
+4 19 20 26 25
+4 20 21 27 26
+4 21 22 28 27
+4 22 23 29 28
+4 24 25 31 30
+4 25 26 32 31
+4 26 27 33 32
+4 27 28 34 33
+4 28 29 35 34
+4 36 37 43 42
+4 37 38 44 43
+4 38 39 45 44
+4 39 40 46 45
+4 40 41 47 46
+4 42 43 49 48
+4 43 44 50 49
+4 44 45 51 50
+4 45 46 52 51
+4 46 47 53 52
+4 48 49 55 54
+4 49 50 56 55
+4 50 51 57 56
+4 51 52 58 57
+4 52 53 59 58
+4 54 55 61 60
+4 55 56 62 61
+4 56 57 63 62
+4 57 58 64 63
+4 58 59 65 64
+4 60 61 67 66
+4 61 62 68 67
+4 62 63 69 68
+4 63 64 70 69
+4 64 65 71 70
+4 72 73 79 78
+4 73 74 80 79
+4 74 75 81 80
+4 75 76 82 81
+4 76 77 83 82
+4 78 79 85 84
+4 79 80 86 85
+4 80 81 87 86
+4 81 82 88 87
+4 82 83 89 88
+4 84 85 91 90
+4 85 86 92 91
+4 86 87 93 92
+4 87 88 94 93
+4 88 89 95 94
+4 90 91 97 96
+4 91 92 98 97
+4 92 93 99 98
+4 93 94 100 99
+4 94 95 101 100
+4 96 97 103 102
+4 97 98 104 103
+4 98 99 105 104
+4 99 100 106 105
+4 100 101 107 106
+4 108 109 115 114
+4 109 110 116 115
+4 110 111 117 116
+4 111 112 118 117
+4 112 113 119 118
+4 114 115 121 120
+4 115 116 122 121
+4 116 117 123 122
+4 117 118 124 123
+4 118 119 125 124
+4 120 121 127 126
+4 121 122 128 127
+4 122 123 129 128
+4 123 124 130 129
+4 124 125 131 130
+4 126 127 133 132
+4 127 128 134 133
+4 128 129 135 134
+4 129 130 136 135
+4 130 131 137 136
+4 132 133 139 138
+4 133 134 140 139
+4 134 135 141 140
+4 135 136 142 141
+4 136 137 143 142
+4 144 145 151 150
+4 145 146 152 151
+4 146 147 153 152
+4 147 148 154 153
+4 148 149 155 154
+4 150 151 157 156
+4 151 152 158 157
+4 152 153 159 158
+4 153 154 160 159
+4 154 155 161 160
+4 156 157 163 162
+4 157 158 164 163
+4 158 159 165 164
+4 159 160 166 165
+4 160 161 167 166
+4 162 163 169 168
+4 163 164 170 169
+4 164 165 171 170
+4 165 166 172 171
+4 166 167 173 172
+4 168 169 175 174
+4 169 170 176 175
+4 170 171 177 176
+4 171 172 178 177
+4 172 173 179 178
+
+CELL_TYPES 125
+ 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
+POINT_DATA 180
+DEAL::===== Mapping degree 4
+# vtk DataFile Version 3.0
+#This file was generated
+ASCII
+DATASET UNSTRUCTURED_GRID
+
+POINTS 180 double
+-0.707107 -0.707107 0
+-0.511324 -0.858983 0
+-0.184951 -0.982355 0
+0.184951 -0.982355 0
+0.511324 -0.858983 0
+0.707107 -0.707107 0
+-0.624264 -0.624264 0
+-0.451419 -0.758347 0
+-0.163283 -0.867265 0
+0.163283 -0.867265 0
+0.451419 -0.758347 0
+0.624264 -0.624264 0
+-0.541421 -0.541421 0
+-0.391513 -0.657711 0
+-0.141614 -0.752175 0
+0.141614 -0.752175 0
+0.391513 -0.657711 0
+0.541421 -0.541421 0
+-0.458579 -0.458579 0
+-0.331608 -0.557074 0
+-0.119946 -0.637085 0
+0.119946 -0.637085 0
+0.331608 -0.557074 0
+0.458579 -0.458579 0
+-0.375736 -0.375736 0
+-0.271703 -0.456438 0
+-0.0982777 -0.521995 0
+0.0982777 -0.521995 0
+0.271703 -0.456438 0
+0.375736 -0.375736 0
+-0.292893 -0.292893 0
+-0.211797 -0.355802 0
+-0.0766093 -0.406905 0
+0.0766093 -0.406905 0
+0.211797 -0.355802 0
+0.292893 -0.292893 0
+-0.707107 -0.707107 0
+-0.624264 -0.624264 0
+-0.541421 -0.541421 0
+-0.458579 -0.458579 0
+-0.375736 -0.375736 0
+-0.292893 -0.292893 0
+-0.858983 -0.511324 0
+-0.758347 -0.451419 0
+-0.657711 -0.391513 0
+-0.557074 -0.331608 0
+-0.456438 -0.271703 0
+-0.355802 -0.211797 0
+-0.982355 -0.184951 0
+-0.867265 -0.163283 0
+-0.752175 -0.141614 0
+-0.637085 -0.119946 0
+-0.521995 -0.0982777 0
+-0.406905 -0.0766093 0
+-0.982355 0.184951 0
+-0.867265 0.163283 0
+-0.752175 0.141614 0
+-0.637085 0.119946 0
+-0.521995 0.0982777 0
+-0.406905 0.0766093 0
+-0.858983 0.511324 0
+-0.758347 0.451419 0
+-0.657711 0.391513 0
+-0.557074 0.331608 0
+-0.456438 0.271703 0
+-0.355802 0.211797 0
+-0.707107 0.707107 0
+-0.624264 0.624264 0
+-0.541421 0.541421 0
+-0.458579 0.458579 0
+-0.375736 0.375736 0
+-0.292893 0.292893 0
+-0.292893 -0.292893 0
+-0.211797 -0.355802 0
+-0.0766093 -0.406905 0
+0.0766093 -0.406905 0
+0.211797 -0.355802 0
+0.292893 -0.292893 0
+-0.355802 -0.211797 0
+-0.217159 -0.217159 0
+-0.0729993 -0.231876 0
+0.0729993 -0.231876 0
+0.217159 -0.217159 0
+0.355802 -0.211797 0
+-0.406905 -0.0766093 0
+-0.231876 -0.0729993 0
+-0.0752477 -0.0752477 0
+0.0752477 -0.0752477 0
+0.231876 -0.0729993 0
+0.406905 -0.0766093 0
+-0.406905 0.0766093 0
+-0.231876 0.0729993 0
+-0.0752477 0.0752477 0
+0.0752477 0.0752477 0
+0.231876 0.0729993 0
+0.406905 0.0766093 0
+-0.355802 0.211797 0
+-0.217159 0.217159 0
+-0.0729993 0.231876 0
+0.0729993 0.231876 0
+0.217159 0.217159 0
+0.355802 0.211797 0
+-0.292893 0.292893 0
+-0.211797 0.355802 0
+-0.0766093 0.406905 0
+0.0766093 0.406905 0
+0.211797 0.355802 0
+0.292893 0.292893 0
+0.707107 -0.707107 0
+0.858983 -0.511324 0
+0.982355 -0.184951 0
+0.982355 0.184951 0
+0.858983 0.511324 0
+0.707107 0.707107 0
+0.624264 -0.624264 0
+0.758347 -0.451419 0
+0.867265 -0.163283 0
+0.867265 0.163283 0
+0.758347 0.451419 0
+0.624264 0.624264 0
+0.541421 -0.541421 0
+0.657711 -0.391513 0
+0.752175 -0.141614 0
+0.752175 0.141614 0
+0.657711 0.391513 0
+0.541421 0.541421 0
+0.458579 -0.458579 0
+0.557074 -0.331608 0
+0.637085 -0.119946 0
+0.637085 0.119946 0
+0.557074 0.331608 0
+0.458579 0.458579 0
+0.375736 -0.375736 0
+0.456438 -0.271703 0
+0.521995 -0.0982777 0
+0.521995 0.0982777 0
+0.456438 0.271703 0
+0.375736 0.375736 0
+0.292893 -0.292893 0
+0.355802 -0.211797 0
+0.406905 -0.0766093 0
+0.406905 0.0766093 0
+0.355802 0.211797 0
+0.292893 0.292893 0
+-0.707107 0.707107 0
+-0.624264 0.624264 0
+-0.541421 0.541421 0
+-0.458579 0.458579 0
+-0.375736 0.375736 0
+-0.292893 0.292893 0
+-0.511324 0.858983 0
+-0.451419 0.758347 0
+-0.391513 0.657711 0
+-0.331608 0.557074 0
+-0.271703 0.456438 0
+-0.211797 0.355802 0
+-0.184951 0.982355 0
+-0.163283 0.867265 0
+-0.141614 0.752175 0
+-0.119946 0.637085 0
+-0.0982777 0.521995 0
+-0.0766093 0.406905 0
+0.184951 0.982355 0
+0.163283 0.867265 0
+0.141614 0.752175 0
+0.119946 0.637085 0
+0.0982777 0.521995 0
+0.0766093 0.406905 0
+0.511324 0.858983 0
+0.451419 0.758347 0
+0.391513 0.657711 0
+0.331608 0.557074 0
+0.271703 0.456438 0
+0.211797 0.355802 0
+0.707107 0.707107 0
+0.624264 0.624264 0
+0.541421 0.541421 0
+0.458579 0.458579 0
+0.375736 0.375736 0
+0.292893 0.292893 0
+
+CELLS 125 625
+4 0 1 7 6
+4 1 2 8 7
+4 2 3 9 8
+4 3 4 10 9
+4 4 5 11 10
+4 6 7 13 12
+4 7 8 14 13
+4 8 9 15 14
+4 9 10 16 15
+4 10 11 17 16
+4 12 13 19 18
+4 13 14 20 19
+4 14 15 21 20
+4 15 16 22 21
+4 16 17 23 22
+4 18 19 25 24
+4 19 20 26 25
+4 20 21 27 26
+4 21 22 28 27
+4 22 23 29 28
+4 24 25 31 30
+4 25 26 32 31
+4 26 27 33 32
+4 27 28 34 33
+4 28 29 35 34
+4 36 37 43 42
+4 37 38 44 43
+4 38 39 45 44
+4 39 40 46 45
+4 40 41 47 46
+4 42 43 49 48
+4 43 44 50 49
+4 44 45 51 50
+4 45 46 52 51
+4 46 47 53 52
+4 48 49 55 54
+4 49 50 56 55
+4 50 51 57 56
+4 51 52 58 57
+4 52 53 59 58
+4 54 55 61 60
+4 55 56 62 61
+4 56 57 63 62
+4 57 58 64 63
+4 58 59 65 64
+4 60 61 67 66
+4 61 62 68 67
+4 62 63 69 68
+4 63 64 70 69
+4 64 65 71 70
+4 72 73 79 78
+4 73 74 80 79
+4 74 75 81 80
+4 75 76 82 81
+4 76 77 83 82
+4 78 79 85 84
+4 79 80 86 85
+4 80 81 87 86
+4 81 82 88 87
+4 82 83 89 88
+4 84 85 91 90
+4 85 86 92 91
+4 86 87 93 92
+4 87 88 94 93
+4 88 89 95 94
+4 90 91 97 96
+4 91 92 98 97
+4 92 93 99 98
+4 93 94 100 99
+4 94 95 101 100
+4 96 97 103 102
+4 97 98 104 103
+4 98 99 105 104
+4 99 100 106 105
+4 100 101 107 106
+4 108 109 115 114
+4 109 110 116 115
+4 110 111 117 116
+4 111 112 118 117
+4 112 113 119 118
+4 114 115 121 120
+4 115 116 122 121
+4 116 117 123 122
+4 117 118 124 123
+4 118 119 125 124
+4 120 121 127 126
+4 121 122 128 127
+4 122 123 129 128
+4 123 124 130 129
+4 124 125 131 130
+4 126 127 133 132
+4 127 128 134 133
+4 128 129 135 134
+4 129 130 136 135
+4 130 131 137 136
+4 132 133 139 138
+4 133 134 140 139
+4 134 135 141 140
+4 135 136 142 141
+4 136 137 143 142
+4 144 145 151 150
+4 145 146 152 151
+4 146 147 153 152
+4 147 148 154 153
+4 148 149 155 154
+4 150 151 157 156
+4 151 152 158 157
+4 152 153 159 158
+4 153 154 160 159
+4 154 155 161 160
+4 156 157 163 162
+4 157 158 164 163
+4 158 159 165 164
+4 159 160 166 165
+4 160 161 167 166
+4 162 163 169 168
+4 163 164 170 169
+4 164 165 171 170
+4 165 166 172 171
+4 166 167 173 172
+4 168 169 175 174
+4 169 170 176 175
+4 170 171 177 176
+4 171 172 178 177
+4 172 173 179 178
+
+CELL_TYPES 125
+ 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
+POINT_DATA 180