Skip to content

Commit 75848f0

Browse files
committed
modify for mdbook
1 parent 747e6ce commit 75848f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simulators/1_mass_spring/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
int main()
44
{
5-
double rho = 1000, k = 1e5, initial_stretch = 1.4, n_seg = 10, h = 0.004, side_len = 1, tol = 0.01;
5+
double rho = 1000, k = 1e5, initial_stretch = 1.3, n_seg = 15, h = 0.004, side_len = 1, tol = 0.01;
66
MassSpringSimulator<double, 2> simulator(rho, side_len, initial_stretch, k, h, tol, n_seg);
77
simulator.run();
88
}

0 commit comments

Comments
 (0)