Skip to content

Commit 4cf1ac5

Browse files
committed
Updated docs, added method to error message
1 parent 15f8ba4 commit 4cf1ac5

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Several examples can be found in the `example` folder.
2424

2525
```
2626
cd example/1k4c
27-
time ../../target/release/lightdock-rust setup.json initial_positions_0.dat 100
27+
cp -R ../../data .
28+
time ../../target/release/lightdock-rust setup.json initial_positions_0.dat 100 dfire
2829
2930
...
3031
@@ -37,7 +38,8 @@ sys 0m1.595s
3738

3839
```
3940
cd example/1ppe
40-
time ../../target/release/lightdock-rust setup_1ppe.json initial_positions_0.dat 100
41+
cp -R ../../data .
42+
time ../../target/release/lightdock-rust setup_1ppe.json initial_positions_0.dat 100 dfire
4143
4244
...
4345
@@ -50,7 +52,8 @@ sys 0m0.484s
5052

5153
```
5254
cd example/2uuy
53-
time ../../target/release/lightdock-rust setup.json initial_positions_0.dat 100
55+
cp -R ../../data .
56+
time ../../target/release/lightdock-rust setup.json initial_positions_0.dat 100 dfire
5457
5558
...
5659
@@ -59,4 +62,17 @@ user 0m19.692s
5962
sys 0m1.070s
6063
```
6164

65+
### 1czy
66+
67+
```
68+
cd example/1czy
69+
cp -R ../../data .
70+
time ../../target/release/lightdock-rust setup.json initial_positions_0.dat 100
71+
72+
...
73+
74+
real 0m20.868s
75+
user 0m19.692s
76+
sys 0m1.070s
77+
```
6278

src/bin/lightdock-rust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ fn run() {
118118
simulate(&setup, swarm_filename, steps, method.unwrap());
119119
}
120120
_ => {
121-
println!("Wrong command line. Usage: {} setup_filename swarm_filename steps", args[0]);
121+
println!("Wrong command line. Usage: {} setup_filename swarm_filename steps method", args[0]);
122122
}
123123
}
124124
}

0 commit comments

Comments
 (0)