We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 747e6ce commit 75848f0Copy full SHA for 75848f0
simulators/1_mass_spring/src/main.cpp
@@ -2,7 +2,7 @@
2
3
int main()
4
{
5
- double rho = 1000, k = 1e5, initial_stretch = 1.4, n_seg = 10, h = 0.004, side_len = 1, tol = 0.01;
+ double rho = 1000, k = 1e5, initial_stretch = 1.3, n_seg = 15, h = 0.004, side_len = 1, tol = 0.01;
6
MassSpringSimulator<double, 2> simulator(rho, side_len, initial_stretch, k, h, tol, n_seg);
7
simulator.run();
8
}
0 commit comments