You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: paper/paper.md
+12-4
Original file line number
Diff line number
Diff line change
@@ -74,11 +74,15 @@ RustBCA includes multiple example input files, under the examples/ folder on the
74
74
75
75
First, an example of 2 keV helium ions at normal incidence on a layered titanium dioxide, aluminum, and silicon target can be run in 2D with:
76
76
77
-
`cargo run --release examples/layered_target.toml`
77
+
```
78
+
cargo run --release examples/layered_target.toml
79
+
```
78
80
79
81
The same example using the 1D layered geometry can be run with:
80
82
81
-
`cargo run --release 1D examples/layered_target_1D.toml`
83
+
```
84
+
cargo run --release 1D examples/layered_target_1D.toml
85
+
```
82
86
83
87

84
88
@@ -88,15 +92,19 @@ First, an example of 2 keV helium ions at normal incidence on a layered titanium
88
92
89
93
Second, as an example of the capability of RustBCA to handle 2D geometry, the trajectories of 1 keV hydrogen on a circular cross-section of boron-nitride can be simulated.
90
94
91
-
`cargo run --release examples/boron_nitride.toml`
95
+
```
96
+
cargo run --release examples/boron_nitride.toml
97
+
```
92
98
93
99

94
100
95
101
## Example 3: Spherical geometry
96
102
97
103
Third, the 2D boron nitride example can be run as a spherical boron nitride dust grain, by running the following command:
98
104
99
-
`cargo run --release SPHERE examples/boron_nitride_sphere.toml`
105
+
```
106
+
cargo run --release SPHERE examples/boron_nitride_sphere.toml
107
+
```
100
108
101
109
The trajectories can be plotted in 3D with mayavi using `do_trajectory_plot_3d()` or in 2D with matplotlib using `do_trajectory_plot()` in `scripts/rustbca.py`.
0 commit comments