Skip to content
Snippets Groups Projects
Commit 5292b9a2 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix pvtu files content

parent d7fbaeb3
Branches
Tags
1 merge request!80Feature/writers improvement
...@@ -299,10 +299,6 @@ VTKWriter::_write(const std::shared_ptr<const MeshType>& mesh, ...@@ -299,10 +299,6 @@ VTKWriter::_write(const std::shared_ptr<const MeshType>& mesh,
"NumberOfComponents=\"1\"/>\n"; "NumberOfComponents=\"1\"/>\n";
fout << "<PDataArray type=\"Int8\" Name=\"types\" " fout << "<PDataArray type=\"Int8\" Name=\"types\" "
"NumberOfComponents=\"1\"/>\n"; "NumberOfComponents=\"1\"/>\n";
for (const auto& [name, item_value_variant] : output_named_item_value_set) {
std::visit([&, name = name](auto&& item_value) { return this->_write_cell_pvtu(fout, name, item_value); },
item_value_variant);
}
if constexpr (MeshType::Dimension == 3) { if constexpr (MeshType::Dimension == 3) {
fout << "<PDataArray type=\"Int64\" IdType=\"1\" Name=\"faces\"/>\n"; fout << "<PDataArray type=\"Int64\" IdType=\"1\" Name=\"faces\"/>\n";
fout << "<PDataArray type=\"Int64\" IdType=\"1\" Name=\"faceoffsets\"/>\n"; fout << "<PDataArray type=\"Int64\" IdType=\"1\" Name=\"faceoffsets\"/>\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment