From 625e1702badbba7266370051eef8a0c33017b2ba Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Fri, 2 Feb 2024 15:52:05 -0500 Subject: [PATCH] wrong file extension --- src/mixed_test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mixed_test.cpp b/src/mixed_test.cpp index 4d490d779..77cdb7c63 100644 --- a/src/mixed_test.cpp +++ b/src/mixed_test.cpp @@ -164,7 +164,7 @@ void test_finer_meshes(CommPtr comm, std::string mesh_dir) { test_adjs(&mesh); test_tags(&mesh); auto maxType = Topo_type::pyramid; - Omega_h::vtk::write_vtu("./" + name + ".vtk", &mesh, maxType); + Omega_h::vtk::write_vtu("./" + name + ".vtu", &mesh, maxType); //tet=1246, hex=8, wedge=0, pyramid=229 name = std::string("/localconcave_tutorial_mixedvol_geomsim2"); @@ -173,7 +173,7 @@ void test_finer_meshes(CommPtr comm, std::string mesh_dir) { mesh = meshsim::readMixed(mesh_in, model_in, comm); test_adjs(&mesh); test_tags(&mesh); - Omega_h::vtk::write_vtu("./" + name + ".vtk", &mesh, maxType); + Omega_h::vtk::write_vtu("./" + name + ".vtu", &mesh, maxType); //tet=3274, hex=68, wedge=0, pyramid=171 name = std::string("/localconcave_tutorial_mixedvol_geomsim"); @@ -182,7 +182,7 @@ void test_finer_meshes(CommPtr comm, std::string mesh_dir) { mesh = meshsim::readMixed(mesh_in, model_in, comm); test_adjs(&mesh); test_tags(&mesh); - Omega_h::vtk::write_vtu("./" + name + ".vtk", &mesh, maxType); + Omega_h::vtk::write_vtu("./" + name + ".vtu", &mesh, maxType); //tet=4437, hex=0, wedge=0, pyramid=0 mesh_in = std::string(mesh_dir) + @@ -216,14 +216,14 @@ int main(int argc, char** argv) { auto mesh = meshsim::readMixed(mesh_in, model_in, comm); test_adjs(&mesh); test_tags(&mesh); - Omega_h::vtk::write_vtu("wedges.vtk", &mesh, Topo_type::wedge); + Omega_h::vtk::write_vtu("wedges.vtu", &mesh, Topo_type::wedge); mesh_in = std::string(mesh_dir) + "/Example_pym.sms"; model_in = std::string(mesh_dir) + "/Example_pym.smd"; mesh = meshsim::readMixed(mesh_in, model_in, comm); test_adjs(&mesh); test_tags(&mesh); - Omega_h::vtk::write_vtu("pyramids.vtk", &mesh, Topo_type::pyramid); + Omega_h::vtk::write_vtu("pyramids.vtu", &mesh, Topo_type::pyramid); mesh_in = std::string(mesh_dir) + "/Example_tet_wedge.sms"; model_in = std::string(mesh_dir) + "/Example_tet_wedge.smd"; @@ -231,7 +231,7 @@ int main(int argc, char** argv) { test_adjs(&mesh); test_tags(&mesh); auto maxType = Topo_type::wedge; - Omega_h::vtk::write_vtu("tet_wedge.vtk", &mesh, maxType); + Omega_h::vtk::write_vtu("tet_wedge.vtu", &mesh, maxType); mesh_in = std::string(mesh_dir) + "/Example_pym_hex.sms"; model_in = std::string(mesh_dir) + "/Example_pym_hex.smd"; @@ -239,7 +239,7 @@ int main(int argc, char** argv) { test_adjs(&mesh); test_tags(&mesh); maxType = Topo_type::pyramid; - Omega_h::vtk::write_vtu("pym_hex.vtk", &mesh, maxType); + Omega_h::vtk::write_vtu("pym_hex.vtu", &mesh, maxType); mesh_in = std::string(mesh_dir) + "/Example_allType.sms"; model_in = std::string(mesh_dir) + "/Example_allType.smd"; @@ -247,7 +247,7 @@ int main(int argc, char** argv) { test_adjs(&mesh); test_tags(&mesh); maxType = Topo_type::pyramid; - Omega_h::vtk::write_vtu("alltypes.vtk", &mesh, maxType); + Omega_h::vtk::write_vtu("alltypes.vtu", &mesh, maxType); test_finer_meshes(comm, mesh_dir);