GCC Code Coverage Report


Directory: gridformat/
File: gridformat/vtk/vtu_writer.hpp
Date: 2024-11-10 16:24:00
Exec Total Coverage
Lines: 34 34 100.0%
Functions: 156 219 71.2%
Branches: 229 544 42.1%

Line Branch Exec Source
1 // SPDX-FileCopyrightText: 2022-2023 Dennis Gläser <dennis.glaeser@iws.uni-stuttgart.de>
2 // SPDX-License-Identifier: MIT
3 /*!
4 * \file
5 * \ingroup VTK
6 * \copydoc GridFormat::VTUWriter
7 */
8 #ifndef GRIDFORMAT_VTK_VTU_WRITER_HPP_
9 #define GRIDFORMAT_VTK_VTU_WRITER_HPP_
10
11 #include <ranges>
12 #include <ostream>
13 #include <string>
14
15 #include <gridformat/common/field.hpp>
16 #include <gridformat/common/field_storage.hpp>
17 #include <gridformat/common/lvalue_reference.hpp>
18
19 #include <gridformat/grid/grid.hpp>
20 #include <gridformat/vtk/common.hpp>
21 #include <gridformat/vtk/xml.hpp>
22
23 namespace GridFormat {
24
25 /*!
26 * \ingroup VTK
27 * \brief Writer for .vtu file format
28 */
29 template<Concepts::UnstructuredGrid Grid>
30 class VTUWriter : public VTK::XMLWriterBase<Grid, VTUWriter<Grid>> {
31 using ParentType = VTK::XMLWriterBase<Grid, VTUWriter<Grid>>;
32
33 public:
34 1629 explicit VTUWriter(LValueReferenceOf<const Grid> grid,
35 VTK::XMLOptions xml_opts = {})
36
2/4
✓ Branch 2 taken 869 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 869 times.
✗ Branch 7 not taken.
3258 : ParentType(grid.get(), ".vtu", false, std::move(xml_opts))
37 1629 {}
38
39 private:
40 634 VTUWriter _with(VTK::XMLOptions xml_opts) const override {
41
1/2
✓ Branch 4 taken 317 times.
✗ Branch 5 not taken.
634 return VTUWriter{this->grid(), std::move(xml_opts)};
42 }
43
44 1100 void _write(std::ostream& s) const override {
45
2/4
✓ Branch 1 taken 612 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 612 times.
✗ Branch 5 not taken.
2200 auto context = this->_get_write_context("UnstructuredGrid");
46
5/9
✓ Branch 2 taken 265 times.
✓ Branch 3 taken 347 times.
✗ Branch 4 not taken.
✓ Branch 5 taken 265 times.
✗ Branch 6 not taken.
✓ Branch 7 taken 347 times.
✗ Branch 8 not taken.
✓ Branch 9 taken 265 times.
✗ Branch 10 not taken.
2200 this->_set_attribute(context, "Piece", "NumberOfPoints", number_of_points(this->grid()));
47
5/9
✓ Branch 2 taken 265 times.
✓ Branch 3 taken 347 times.
✗ Branch 4 not taken.
✓ Branch 5 taken 265 times.
✗ Branch 6 not taken.
✓ Branch 7 taken 347 times.
✗ Branch 8 not taken.
✓ Branch 9 taken 265 times.
✗ Branch 10 not taken.
2200 this->_set_attribute(context, "Piece", "NumberOfCells", number_of_cells(this->grid()));
48
49 1100 FieldStorage vtk_point_fields;
50 1100 FieldStorage vtk_cell_fields;
51
2/4
✓ Branch 1 taken 612 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 612 times.
✗ Branch 5 not taken.
4650 std::ranges::for_each(this->_point_field_names(), [&] (const std::string& name) {
52
72/144
✓ Branch 1 taken 1078 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 1078 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 1078 times.
✗ Branch 8 not taken.
✓ Branch 15 taken 363 times.
✗ Branch 16 not taken.
✓ Branch 18 taken 363 times.
✗ Branch 19 not taken.
✓ Branch 21 taken 363 times.
✗ Branch 22 not taken.
✓ Branch 29 taken 98 times.
✗ Branch 30 not taken.
✓ Branch 32 taken 98 times.
✗ Branch 33 not taken.
✓ Branch 35 taken 98 times.
✗ Branch 36 not taken.
✓ Branch 43 taken 96 times.
✗ Branch 44 not taken.
✓ Branch 46 taken 96 times.
✗ Branch 47 not taken.
✓ Branch 49 taken 96 times.
✗ Branch 50 not taken.
✓ Branch 57 taken 107 times.
✗ Branch 58 not taken.
✓ Branch 60 taken 107 times.
✗ Branch 61 not taken.
✓ Branch 63 taken 107 times.
✗ Branch 64 not taken.
✓ Branch 71 taken 107 times.
✗ Branch 72 not taken.
✓ Branch 74 taken 107 times.
✗ Branch 75 not taken.
✓ Branch 77 taken 107 times.
✗ Branch 78 not taken.
✓ Branch 85 taken 107 times.
✗ Branch 86 not taken.
✓ Branch 88 taken 107 times.
✗ Branch 89 not taken.
✓ Branch 91 taken 107 times.
✗ Branch 92 not taken.
✓ Branch 99 taken 107 times.
✗ Branch 100 not taken.
✓ Branch 102 taken 107 times.
✗ Branch 103 not taken.
✓ Branch 105 taken 107 times.
✗ Branch 106 not taken.
✓ Branch 113 taken 92 times.
✗ Branch 114 not taken.
✓ Branch 116 taken 92 times.
✗ Branch 117 not taken.
✓ Branch 119 taken 92 times.
✗ Branch 120 not taken.
✓ Branch 127 taken 92 times.
✗ Branch 128 not taken.
✓ Branch 130 taken 92 times.
✗ Branch 131 not taken.
✓ Branch 133 taken 92 times.
✗ Branch 134 not taken.
✓ Branch 141 taken 92 times.
✗ Branch 142 not taken.
✓ Branch 144 taken 92 times.
✗ Branch 145 not taken.
✓ Branch 147 taken 92 times.
✗ Branch 148 not taken.
✓ Branch 155 taken 2 times.
✗ Branch 156 not taken.
✓ Branch 158 taken 2 times.
✗ Branch 159 not taken.
✓ Branch 161 taken 2 times.
✗ Branch 162 not taken.
✓ Branch 169 taken 2 times.
✗ Branch 170 not taken.
✓ Branch 172 taken 2 times.
✗ Branch 173 not taken.
✓ Branch 175 taken 2 times.
✗ Branch 176 not taken.
✓ Branch 183 taken 2 times.
✗ Branch 184 not taken.
✓ Branch 186 taken 2 times.
✗ Branch 187 not taken.
✓ Branch 189 taken 2 times.
✗ Branch 190 not taken.
✓ Branch 197 taken 2 times.
✗ Branch 198 not taken.
✓ Branch 200 taken 2 times.
✗ Branch 201 not taken.
✓ Branch 203 taken 2 times.
✗ Branch 204 not taken.
✓ Branch 211 taken 2 times.
✗ Branch 212 not taken.
✓ Branch 214 taken 2 times.
✗ Branch 215 not taken.
✓ Branch 217 taken 2 times.
✗ Branch 218 not taken.
✓ Branch 225 taken 2 times.
✗ Branch 226 not taken.
✓ Branch 228 taken 2 times.
✗ Branch 229 not taken.
✓ Branch 231 taken 2 times.
✗ Branch 232 not taken.
✓ Branch 239 taken 2 times.
✗ Branch 240 not taken.
✓ Branch 242 taken 2 times.
✗ Branch 243 not taken.
✓ Branch 245 taken 2 times.
✗ Branch 246 not taken.
✓ Branch 253 taken 2 times.
✗ Branch 254 not taken.
✓ Branch 256 taken 2 times.
✗ Branch 257 not taken.
✓ Branch 259 taken 2 times.
✗ Branch 260 not taken.
✓ Branch 267 taken 2 times.
✗ Branch 268 not taken.
✓ Branch 270 taken 2 times.
✗ Branch 271 not taken.
✓ Branch 273 taken 2 times.
✗ Branch 274 not taken.
✓ Branch 281 taken 2 times.
✗ Branch 282 not taken.
✓ Branch 284 taken 2 times.
✗ Branch 285 not taken.
✓ Branch 287 taken 2 times.
✗ Branch 288 not taken.
✓ Branch 295 taken 2 times.
✗ Branch 296 not taken.
✓ Branch 298 taken 2 times.
✗ Branch 299 not taken.
✓ Branch 301 taken 2 times.
✗ Branch 302 not taken.
✓ Branch 309 taken 2 times.
✗ Branch 310 not taken.
✓ Branch 312 taken 2 times.
✗ Branch 313 not taken.
✓ Branch 315 taken 2 times.
✗ Branch 316 not taken.
✓ Branch 323 taken 2 times.
✗ Branch 324 not taken.
✓ Branch 326 taken 2 times.
✗ Branch 327 not taken.
✓ Branch 329 taken 2 times.
✗ Branch 330 not taken.
2365 vtk_point_fields.set(name, VTK::make_vtk_field(this->_get_point_field_ptr(name)));
53
48/96
✓ Branch 2 taken 1078 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 1078 times.
✗ Branch 7 not taken.
✓ Branch 12 taken 363 times.
✗ Branch 13 not taken.
✓ Branch 16 taken 363 times.
✗ Branch 17 not taken.
✓ Branch 22 taken 98 times.
✗ Branch 23 not taken.
✓ Branch 26 taken 98 times.
✗ Branch 27 not taken.
✓ Branch 32 taken 96 times.
✗ Branch 33 not taken.
✓ Branch 36 taken 96 times.
✗ Branch 37 not taken.
✓ Branch 42 taken 107 times.
✗ Branch 43 not taken.
✓ Branch 46 taken 107 times.
✗ Branch 47 not taken.
✓ Branch 52 taken 107 times.
✗ Branch 53 not taken.
✓ Branch 56 taken 107 times.
✗ Branch 57 not taken.
✓ Branch 62 taken 107 times.
✗ Branch 63 not taken.
✓ Branch 66 taken 107 times.
✗ Branch 67 not taken.
✓ Branch 72 taken 107 times.
✗ Branch 73 not taken.
✓ Branch 76 taken 107 times.
✗ Branch 77 not taken.
✓ Branch 82 taken 92 times.
✗ Branch 83 not taken.
✓ Branch 86 taken 92 times.
✗ Branch 87 not taken.
✓ Branch 92 taken 92 times.
✗ Branch 93 not taken.
✓ Branch 96 taken 92 times.
✗ Branch 97 not taken.
✓ Branch 102 taken 92 times.
✗ Branch 103 not taken.
✓ Branch 106 taken 92 times.
✗ Branch 107 not taken.
✓ Branch 112 taken 2 times.
✗ Branch 113 not taken.
✓ Branch 116 taken 2 times.
✗ Branch 117 not taken.
✓ Branch 122 taken 2 times.
✗ Branch 123 not taken.
✓ Branch 126 taken 2 times.
✗ Branch 127 not taken.
✓ Branch 132 taken 2 times.
✗ Branch 133 not taken.
✓ Branch 136 taken 2 times.
✗ Branch 137 not taken.
✓ Branch 142 taken 2 times.
✗ Branch 143 not taken.
✓ Branch 146 taken 2 times.
✗ Branch 147 not taken.
✓ Branch 152 taken 2 times.
✗ Branch 153 not taken.
✓ Branch 156 taken 2 times.
✗ Branch 157 not taken.
✓ Branch 162 taken 2 times.
✗ Branch 163 not taken.
✓ Branch 166 taken 2 times.
✗ Branch 167 not taken.
✓ Branch 172 taken 2 times.
✗ Branch 173 not taken.
✓ Branch 176 taken 2 times.
✗ Branch 177 not taken.
✓ Branch 182 taken 2 times.
✗ Branch 183 not taken.
✓ Branch 186 taken 2 times.
✗ Branch 187 not taken.
✓ Branch 192 taken 2 times.
✗ Branch 193 not taken.
✓ Branch 196 taken 2 times.
✗ Branch 197 not taken.
✓ Branch 202 taken 2 times.
✗ Branch 203 not taken.
✓ Branch 206 taken 2 times.
✗ Branch 207 not taken.
✓ Branch 212 taken 2 times.
✗ Branch 213 not taken.
✓ Branch 216 taken 2 times.
✗ Branch 217 not taken.
✓ Branch 222 taken 2 times.
✗ Branch 223 not taken.
✓ Branch 226 taken 2 times.
✗ Branch 227 not taken.
✓ Branch 232 taken 2 times.
✗ Branch 233 not taken.
✓ Branch 236 taken 2 times.
✗ Branch 237 not taken.
2365 this->_set_data_array(context, "Piece/PointData", name, vtk_point_fields.get(name));
54 });
55
2/4
✓ Branch 1 taken 612 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 612 times.
✗ Branch 5 not taken.
4576 std::ranges::for_each(this->_cell_field_names(), [&] (const std::string& name) {
56
45/144
✓ Branch 1 taken 1042 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 1042 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 1042 times.
✗ Branch 8 not taken.
✓ Branch 15 taken 347 times.
✗ Branch 16 not taken.
✓ Branch 18 taken 347 times.
✗ Branch 19 not taken.
✓ Branch 21 taken 347 times.
✗ Branch 22 not taken.
✓ Branch 29 taken 95 times.
✗ Branch 30 not taken.
✓ Branch 32 taken 95 times.
✗ Branch 33 not taken.
✓ Branch 35 taken 95 times.
✗ Branch 36 not taken.
✓ Branch 43 taken 94 times.
✗ Branch 44 not taken.
✓ Branch 46 taken 94 times.
✗ Branch 47 not taken.
✓ Branch 49 taken 94 times.
✗ Branch 50 not taken.
✓ Branch 57 taken 108 times.
✗ Branch 58 not taken.
✓ Branch 60 taken 108 times.
✗ Branch 61 not taken.
✓ Branch 63 taken 108 times.
✗ Branch 64 not taken.
✓ Branch 71 taken 108 times.
✗ Branch 72 not taken.
✓ Branch 74 taken 108 times.
✗ Branch 75 not taken.
✓ Branch 77 taken 108 times.
✗ Branch 78 not taken.
✓ Branch 85 taken 110 times.
✗ Branch 86 not taken.
✓ Branch 88 taken 110 times.
✗ Branch 89 not taken.
✓ Branch 91 taken 110 times.
✗ Branch 92 not taken.
✓ Branch 99 taken 108 times.
✗ Branch 100 not taken.
✓ Branch 102 taken 108 times.
✗ Branch 103 not taken.
✓ Branch 105 taken 108 times.
✗ Branch 106 not taken.
✓ Branch 113 taken 90 times.
✗ Branch 114 not taken.
✓ Branch 116 taken 90 times.
✗ Branch 117 not taken.
✓ Branch 119 taken 90 times.
✗ Branch 120 not taken.
✓ Branch 127 taken 92 times.
✗ Branch 128 not taken.
✓ Branch 130 taken 92 times.
✗ Branch 131 not taken.
✓ Branch 133 taken 92 times.
✗ Branch 134 not taken.
✓ Branch 141 taken 90 times.
✗ Branch 142 not taken.
✓ Branch 144 taken 90 times.
✗ Branch 145 not taken.
✓ Branch 147 taken 90 times.
✗ Branch 148 not taken.
✗ Branch 155 not taken.
✗ Branch 156 not taken.
✗ Branch 158 not taken.
✗ Branch 159 not taken.
✗ Branch 161 not taken.
✗ Branch 162 not taken.
✓ Branch 169 taken 2 times.
✗ Branch 170 not taken.
✓ Branch 172 taken 2 times.
✗ Branch 173 not taken.
✓ Branch 175 taken 2 times.
✗ Branch 176 not taken.
✗ Branch 183 not taken.
✗ Branch 184 not taken.
✗ Branch 186 not taken.
✗ Branch 187 not taken.
✗ Branch 189 not taken.
✗ Branch 190 not taken.
✗ Branch 197 not taken.
✗ Branch 198 not taken.
✗ Branch 200 not taken.
✗ Branch 201 not taken.
✗ Branch 203 not taken.
✗ Branch 204 not taken.
✓ Branch 211 taken 2 times.
✗ Branch 212 not taken.
✓ Branch 214 taken 2 times.
✗ Branch 215 not taken.
✓ Branch 217 taken 2 times.
✗ Branch 218 not taken.
✗ Branch 225 not taken.
✗ Branch 226 not taken.
✗ Branch 228 not taken.
✗ Branch 229 not taken.
✗ Branch 231 not taken.
✗ Branch 232 not taken.
✗ Branch 239 not taken.
✗ Branch 240 not taken.
✗ Branch 242 not taken.
✗ Branch 243 not taken.
✗ Branch 245 not taken.
✗ Branch 246 not taken.
✓ Branch 253 taken 2 times.
✗ Branch 254 not taken.
✓ Branch 256 taken 2 times.
✗ Branch 257 not taken.
✓ Branch 259 taken 2 times.
✗ Branch 260 not taken.
✗ Branch 267 not taken.
✗ Branch 268 not taken.
✗ Branch 270 not taken.
✗ Branch 271 not taken.
✗ Branch 273 not taken.
✗ Branch 274 not taken.
✗ Branch 281 not taken.
✗ Branch 282 not taken.
✗ Branch 284 not taken.
✗ Branch 285 not taken.
✗ Branch 287 not taken.
✗ Branch 288 not taken.
✓ Branch 295 taken 2 times.
✗ Branch 296 not taken.
✓ Branch 298 taken 2 times.
✗ Branch 299 not taken.
✓ Branch 301 taken 2 times.
✗ Branch 302 not taken.
✗ Branch 309 not taken.
✗ Branch 310 not taken.
✗ Branch 312 not taken.
✗ Branch 313 not taken.
✗ Branch 315 not taken.
✗ Branch 316 not taken.
✗ Branch 323 not taken.
✗ Branch 324 not taken.
✗ Branch 326 not taken.
✗ Branch 327 not taken.
✗ Branch 329 not taken.
✗ Branch 330 not taken.
2292 vtk_cell_fields.set(name, VTK::make_vtk_field(this->_get_cell_field_ptr(name)));
57
30/96
✓ Branch 2 taken 1042 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 1042 times.
✗ Branch 7 not taken.
✓ Branch 12 taken 347 times.
✗ Branch 13 not taken.
✓ Branch 16 taken 347 times.
✗ Branch 17 not taken.
✓ Branch 22 taken 95 times.
✗ Branch 23 not taken.
✓ Branch 26 taken 95 times.
✗ Branch 27 not taken.
✓ Branch 32 taken 94 times.
✗ Branch 33 not taken.
✓ Branch 36 taken 94 times.
✗ Branch 37 not taken.
✓ Branch 42 taken 108 times.
✗ Branch 43 not taken.
✓ Branch 46 taken 108 times.
✗ Branch 47 not taken.
✓ Branch 52 taken 108 times.
✗ Branch 53 not taken.
✓ Branch 56 taken 108 times.
✗ Branch 57 not taken.
✓ Branch 62 taken 110 times.
✗ Branch 63 not taken.
✓ Branch 66 taken 110 times.
✗ Branch 67 not taken.
✓ Branch 72 taken 108 times.
✗ Branch 73 not taken.
✓ Branch 76 taken 108 times.
✗ Branch 77 not taken.
✓ Branch 82 taken 90 times.
✗ Branch 83 not taken.
✓ Branch 86 taken 90 times.
✗ Branch 87 not taken.
✓ Branch 92 taken 92 times.
✗ Branch 93 not taken.
✓ Branch 96 taken 92 times.
✗ Branch 97 not taken.
✓ Branch 102 taken 90 times.
✗ Branch 103 not taken.
✓ Branch 106 taken 90 times.
✗ Branch 107 not taken.
✗ Branch 112 not taken.
✗ Branch 113 not taken.
✗ Branch 116 not taken.
✗ Branch 117 not taken.
✓ Branch 122 taken 2 times.
✗ Branch 123 not taken.
✓ Branch 126 taken 2 times.
✗ Branch 127 not taken.
✗ Branch 132 not taken.
✗ Branch 133 not taken.
✗ Branch 136 not taken.
✗ Branch 137 not taken.
✗ Branch 142 not taken.
✗ Branch 143 not taken.
✗ Branch 146 not taken.
✗ Branch 147 not taken.
✓ Branch 152 taken 2 times.
✗ Branch 153 not taken.
✓ Branch 156 taken 2 times.
✗ Branch 157 not taken.
✗ Branch 162 not taken.
✗ Branch 163 not taken.
✗ Branch 166 not taken.
✗ Branch 167 not taken.
✗ Branch 172 not taken.
✗ Branch 173 not taken.
✗ Branch 176 not taken.
✗ Branch 177 not taken.
✓ Branch 182 taken 2 times.
✗ Branch 183 not taken.
✓ Branch 186 taken 2 times.
✗ Branch 187 not taken.
✗ Branch 192 not taken.
✗ Branch 193 not taken.
✗ Branch 196 not taken.
✗ Branch 197 not taken.
✗ Branch 202 not taken.
✗ Branch 203 not taken.
✗ Branch 206 not taken.
✗ Branch 207 not taken.
✓ Branch 212 taken 2 times.
✗ Branch 213 not taken.
✓ Branch 216 taken 2 times.
✗ Branch 217 not taken.
✗ Branch 222 not taken.
✗ Branch 223 not taken.
✗ Branch 226 not taken.
✗ Branch 227 not taken.
✗ Branch 232 not taken.
✗ Branch 233 not taken.
✗ Branch 236 not taken.
✗ Branch 237 not taken.
2292 this->_set_data_array(context, "Piece/CellData", name, vtk_cell_fields.get(name));
58 });
59
60
1/2
✓ Branch 2 taken 612 times.
✗ Branch 3 not taken.
1100 const auto point_id_map = make_point_id_map(this->grid());
61 736 const FieldPtr coords_field = std::visit([&] <typename T> (const Precision<T>&) {
62 612 return VTK::make_coordinates_field<T>(this->grid(), false);
63
1/2
✓ Branch 1 taken 612 times.
✗ Branch 2 not taken.
1100 }, this->_xml_settings.coordinate_precision);
64 736 const FieldPtr connectivity_field = std::visit([&] <typename T> (const Precision<T>&) {
65 612 return VTK::make_connectivity_field<T>(this->grid(), point_id_map);
66
1/2
✓ Branch 1 taken 612 times.
✗ Branch 2 not taken.
1100 }, this->_xml_settings.header_precision);
67 736 const FieldPtr offsets_field = std::visit([&] <typename T> (const Precision<T>&) {
68 612 return VTK::make_offsets_field<T>(this->grid());
69
1/2
✓ Branch 1 taken 612 times.
✗ Branch 2 not taken.
1100 }, this->_xml_settings.header_precision);
70
1/2
✓ Branch 2 taken 612 times.
✗ Branch 3 not taken.
1100 const FieldPtr types_field = VTK::make_cell_types_field(this->grid());
71
3/4
✓ Branch 2 taken 612 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 590 times.
✓ Branch 7 taken 22 times.
2240 this->_set_data_array(context, "Piece/Points", "Coordinates", *coords_field);
72
2/4
✓ Branch 2 taken 590 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 590 times.
✗ Branch 7 not taken.
2120 this->_set_data_array(context, "Piece/Cells", "connectivity", *connectivity_field);
73
2/4
✓ Branch 2 taken 590 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 590 times.
✗ Branch 7 not taken.
2120 this->_set_data_array(context, "Piece/Cells", "offsets", *offsets_field);
74
2/4
✓ Branch 2 taken 590 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 590 times.
✗ Branch 7 not taken.
2120 this->_set_data_array(context, "Piece/Cells", "types", *types_field);
75
1/2
✓ Branch 2 taken 590 times.
✗ Branch 3 not taken.
1060 this->_write_xml(std::move(context), s);
76 1380 }
77 };
78
79 template<typename G>
80 VTUWriter(G&&, VTK::XMLOptions = {}) -> VTUWriter<std::remove_cvref_t<G>>;
81
82 } // namespace GridFormat
83
84 #endif // GRIDFORMAT_VTK_VTU_WRITER_HPP_
85