From c0a44c02eb69f8237fced62e07ec79f2ea938d97 Mon Sep 17 00:00:00 2001 From: Jose Luis Cercos-Pita Date: Fri, 20 Feb 2026 10:17:01 +0100 Subject: [PATCH 1/2] fix(core): Save with VTP extension --- tests/vtk.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/vtk.cpp b/tests/vtk.cpp index 4d026c6a..6ff03f74 100644 --- a/tests/vtk.cpp +++ b/tests/vtk.cpp @@ -87,7 +87,7 @@ write_vtk_by_instances() } std::stringstream filepath; filepath << fs::temp_directory_path().string() << "/" - << "vtk_body_" << body_i << ".00000.vtu"; + << "vtk_body_" << body_i << ".00000.vtp"; std::cout << "*** Saving on '" << filepath.str().c_str() << "'..." << std::endl; @@ -116,7 +116,7 @@ write_vtk_by_instances() } std::stringstream filepath; filepath << fs::temp_directory_path().string() << "/" - << "vtk_rod_" << rod_i << ".00000.vtu"; + << "vtk_rod_" << rod_i << ".00000.vtp"; std::cout << "*** Saving on '" << filepath.str().c_str() << "'..." << std::endl; @@ -146,7 +146,7 @@ write_vtk_by_instances() } std::stringstream filepath; filepath << fs::temp_directory_path().string() << "/" - << "vtk_point_" << point_i << ".00000.vtu"; + << "vtk_point_" << point_i << ".00000.vtp"; std::cout << "*** Saving on '" << filepath.str().c_str() << "'..." << std::endl; @@ -176,7 +176,7 @@ write_vtk_by_instances() } std::stringstream filepath; filepath << fs::temp_directory_path().string() << "/" - << "vtk_line_" << line_i << ".00000.vtu"; + << "vtk_line_" << line_i << ".00000.vtp"; std::cout << "*** Saving on '" << filepath.str().c_str() << "'..." << std::endl; From d876fd28c2b19fa6c759f0a300c1c88286086122 Mon Sep 17 00:00:00 2001 From: Jose Luis Cercos-Pita Date: Fri, 20 Feb 2026 10:19:20 +0100 Subject: [PATCH 2/2] fix(core): Wrong Fortran indexes --- tests/fortran_bindings.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fortran_bindings.f90 b/tests/fortran_bindings.f90 index e1b689bd..79d9a3d5 100644 --- a/tests/fortran_bindings.f90 +++ b/tests/fortran_bindings.f90 @@ -50,7 +50,7 @@ program main stop 1 end if do j = 1, 3 - x(3 * i + j) = r(j) + x(3 * (i_point - 1) + (j - 1)) = r(j - 1) end do end do