Skip to content

Commit a0b5dc2

Browse files
committed
fix typos and broken sentence
1 parent 81f48dc commit a0b5dc2

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

episodes/a-beam-beam-collision.Rmd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Learn how to setup, run, and visualize your own beam-beam ☄️☄️ simulatio
2222
## Setup
2323

2424
In this example we will simulate a bunch of electrons colliding against a bunch of positrons.
25-
We have selected the parameters of the C$^3$ linear collider, arbitrarily.
25+
We have selected the parameters of the C$^3$ linear collider.
2626

2727
Whenever you need to prepare an input file, [this is where you want to go](https://warpx.readthedocs.io/en/latest/usage/parameters.html).
2828

@@ -45,8 +45,8 @@ The full 3D version of this solver is also available with `warpx.use_2d_slices_f
4545

4646
* Resolution: the number of grid cells is reduced to fit in a laptop. For production simulations, make sure you increase the resolution.
4747

48-
* Timestep: since the beams travel at the speed of light along $z$, it makes sense to choose $dt =
49-
However this is not strictly necessary. Sometimes it can be useful to save resources by choosing a larger timestep.
48+
* Timestep: since the beams travel at the speed of light along $z$ and the simulation frame is the center of mass frame,
49+
it makes sense to choose $dt = dz / ( 2 c ) $. However this is not strictly necessary. Sometimes it can be useful to save resources by choosing a larger timestep.
5050
Just make sure you resolve ''well-enough'' the shortest timescale that you're interested in.
5151

5252
* QED lookup tables: here we use the built-in ones for convenience. For production runs, make sure to use tables with enough points and set the
@@ -107,7 +107,6 @@ On my laptop's CPU (12th Gen Intel® Core™ i9-12900H × 20) the serial simulat
107107

108108

109109
### With Python 🐍
110-
12th Gen Intel® Core™ i9-12900H × 20
111110
Now that we have the results, we can analyze them using Python.
112111
We will use the [openPMD-viewer][openpmd-viewer] library to grab the data that the simulation produced in `openPMD` format.
113112
Here you can find [a few great tutorials on how to use the viewer](https://openpmd-viewer.readthedocs.io/en/latest/tutorials/tutorials.html).

episodes/install.Rmd

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ To check this, run:
5959
which warpx.1d warpx.2d warpx.3d warpx.rz
6060
```
6161

62-
::: caution
63-
64-
Conda's WarpX is serial! To get a parallel WarpX version, install it from source.
65-
66-
:::
6762

6863
If you get 3 different paths that look something like:
6964
```bash
@@ -72,6 +67,13 @@ If you get 3 different paths that look something like:
7267
then you got this 🙌! You can also import `pywarpx` in Python.
7368

7469

70+
::: caution
71+
72+
Conda's WarpX is serial! To get a parallel WarpX version, install it from source.
73+
74+
:::
75+
76+
7577

7678
## From source
7779

0 commit comments

Comments
 (0)