Skip to content

Commit dff44ab

Browse files
committed
Further updates to paper.
1 parent cf18a92 commit dff44ab

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

paper/paper.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,15 @@ RustBCA includes multiple example input files, under the examples/ folder on the
7474

7575
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:
7676

77-
`cargo run --release examples/layered_target.toml`
77+
```
78+
cargo run --release examples/layered_target.toml
79+
```
7880

7981
The same example using the 1D layered geometry can be run with:
8082

81-
`cargo run --release 1D examples/layered_target_1D.toml`
83+
```
84+
cargo run --release 1D examples/layered_target_1D.toml
85+
```
8286

8387
![Helium implantation depth distributions at 2 keV in a layered TiO2-Al-Si target.](layered_target.png)
8488

@@ -88,15 +92,19 @@ First, an example of 2 keV helium ions at normal incidence on a layered titanium
8892

8993
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.
9094

91-
`cargo run --release examples/boron_nitride.toml`
95+
```
96+
cargo run --release examples/boron_nitride.toml
97+
```
9298

9399
![Trajectories of hydrogen and mobile boron and nitrogen resulting from 10 1 keV hydrogen ions impacting on a circular cross-section boron-nitride target.](H_B_N.png)
94100

95101
## Example 3: Spherical geometry
96102

97103
Third, the 2D boron nitride example can be run as a spherical boron nitride dust grain, by running the following command:
98104

99-
`cargo run --release SPHERE examples/boron_nitride_sphere.toml`
105+
```
106+
cargo run --release SPHERE examples/boron_nitride_sphere.toml
107+
```
100108

101109
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`.
102110

0 commit comments

Comments
 (0)