Skip to content

Commit 405dd8c

Browse files
v2.6.1
2 parents a72e616 + 299f75c commit 405dd8c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.10)
22
set(MOORDYN_MAJOR_VERSION 2)
33
set(MOORDYN_MINOR_VERSION 6)
4-
set(MOORDYN_PATCH_VERSION 0)
4+
set(MOORDYN_PATCH_VERSION 1)
55
set(MOORDYN_VERSION ${MOORDYN_MAJOR_VERSION}.${MOORDYN_MINOR_VERSION})
66
project(Moordyn VERSION ${MOORDYN_VERSION})
77

tests/fortran_bindings.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ program main
5050
stop 1
5151
end if
5252
do j = 1, 3
53-
x(3 * i + j) = r(j)
53+
x(3 * (i_point - 1) + (j - 1)) = r(j - 1)
5454
end do
5555
end do
5656

tests/vtk.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ write_vtk_by_instances()
8787
}
8888
std::stringstream filepath;
8989
filepath << fs::temp_directory_path().string() << "/"
90-
<< "vtk_body_" << body_i << ".00000.vtu";
90+
<< "vtk_body_" << body_i << ".00000.vtp";
9191
std::cout << "*** Saving on '" << filepath.str().c_str() << "'..."
9292
<< std::endl;
9393

@@ -116,7 +116,7 @@ write_vtk_by_instances()
116116
}
117117
std::stringstream filepath;
118118
filepath << fs::temp_directory_path().string() << "/"
119-
<< "vtk_rod_" << rod_i << ".00000.vtu";
119+
<< "vtk_rod_" << rod_i << ".00000.vtp";
120120
std::cout << "*** Saving on '" << filepath.str().c_str() << "'..."
121121
<< std::endl;
122122

@@ -146,7 +146,7 @@ write_vtk_by_instances()
146146
}
147147
std::stringstream filepath;
148148
filepath << fs::temp_directory_path().string() << "/"
149-
<< "vtk_point_" << point_i << ".00000.vtu";
149+
<< "vtk_point_" << point_i << ".00000.vtp";
150150
std::cout << "*** Saving on '" << filepath.str().c_str() << "'..."
151151
<< std::endl;
152152

@@ -176,7 +176,7 @@ write_vtk_by_instances()
176176
}
177177
std::stringstream filepath;
178178
filepath << fs::temp_directory_path().string() << "/"
179-
<< "vtk_line_" << line_i << ".00000.vtu";
179+
<< "vtk_line_" << line_i << ".00000.vtp";
180180
std::cout << "*** Saving on '" << filepath.str().c_str() << "'..."
181181
<< std::endl;
182182

0 commit comments

Comments
 (0)