Skip to content

Commit b015534

Browse files
committed
update yaml
1 parent 066cd9c commit b015534

File tree

2 files changed

+39
-19
lines changed

2 files changed

+39
-19
lines changed

config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,32 @@
1515
carpentry: 'incubator'
1616

1717
# Alt-text description of the lesson.
18-
carpentry_description: 'Lesson Description'
18+
carpentry_description: 'a collection of warpx tutorials'
1919

2020
# Overall title for pages.
21-
title: 'Lesson Title' # FIXME
21+
title: 'WarpX tutorials' # FIXME
2222

2323
# Date the lesson was created (YYYY-MM-DD, this is empty by default)
2424
created: ~ # FIXME: ( ~ means empty, replace with date formatted as above)
2525

2626
# Comma-separated list of keywords for the lesson
27-
keywords: 'software, data, lesson, The Carpentries' # FIXME
27+
keywords: 'particle-in-cell, simulations, physics, plasmas, beams, fusion' # FIXME
2828

2929
# Life cycle stage of the lesson
3030
# possible values: pre-alpha, alpha, beta, stable
31-
life_cycle: 'pre-alpha' # FIXME
31+
life_cycle: 'alpha' # FIXME
3232

3333
# License of the lesson
3434
license: 'CC-BY 4.0'
3535

3636
# Link to the source repository for this lesson
37-
source: 'https://github.com/carpentries/workbench-template-rmd' # FIXME
37+
source: 'https://aeriforme.github.io/warpx-tutorials/' # FIXME
3838

3939
# Default branch of your lesson
4040
branch: 'main'
4141

4242
# Who to contact if there are any issues
43-
contact: 'team@carpentries.org' # FIXME
43+
contact: 'ariannaformenti@lbl.gov' # FIXME
4444

4545
# Navigation ------------------------------------------------
4646
#

episodes/introduction.Rmd

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,16 @@ Everything you need to know to use WarpX is in the [documentation](https://warpx
4545

4646
Some cool features of WarpX:
4747

48-
* Open-source - we wouldn't be here otherwise!
49-
* Runs on GPUs: NVIDIA, AMD, and Intel!
50-
* Runs on multiple GPUs or CPUs, from laptops to supercomputers!
51-
* It has many options:
52-
* electrostatic, electromagnetic, magnetostatic
53-
* mesh refinement
54-
* embedded boundaries
48+
- [x] Open-source - we wouldn't be here otherwise
49+
- [x] Runs on GPUs: NVIDIA, AMD, and Intel
50+
- [x] Runs on multiple GPUs or CPUs, on systems ranging from laptops to supercomputers
5551

5652
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::
5753

5854
## Installing WarpX using Conda-Forge
5955

6056
First, you need a Conda installation and we will assume that you indeed have one.
61-
If not, follow the instruction at this [link](https://docs.conda.io/projects/conda/en/stable/user-guide/install/index.html#regular-installation).
57+
If not, follow the [instruction at this link](https://docs.conda.io/projects/conda/en/stable/user-guide/install/index.html#regular-installation).
6258
You can install Conda on most operative systems: Windows, macOS, and Linux.
6359
Once you have Conda on your system, WarpX is available as a package via [Conda-Forge](https://conda-forge.org/download/).
6460
It's a one-liner, no-brainer, small-potatoes 😌!
@@ -96,7 +92,7 @@ then you got this 🙌! You can also import `pywarpx` in `python`
9692
In this example we will simulate a bunch of protons inside a magnetic mirror machine.
9793
The protons are initialized with random positions and velocities.
9894
The magnetic field is loaded from a `.h5` file.
99-
You can download the full input file from this [link](../files/inputs_3d_magnetic_mirror.txt)
95+
You can download the [input file](./files/inputs_3d_magnetic_mirror.txt).
10096

10197
:::::::::::::::::::::::::::::::::::::::::: spoiler
10298

@@ -107,22 +103,46 @@ cat ./files/inputs_3d_magnetic_mirror.txt
107103
```
108104
::::::::::::::::::::::::::::::::::::::::::::::::::
109105

106+
Set up the directory, download the file, activate the environment.
107+
108+
::::::::::::::::::::::::::::::::::::: challenge
109+
110+
## Let's run it
111+
112+
Q: How?
113+
114+
:::::::::::::::: solution
115+
116+
```bash
117+
warpx.3d inputs_3d_magnetic_mirror.txt
118+
```
119+
120+
:::::::::::::::::::::::::
121+
:::::::::::::::::::::::::::::::::::::::::::::::
110122

111123

112124

113125
## Visualizing with Paraview
114126

127+
Add stuff...
128+
115129

116130
![Protons trajectories in a magnetic mirror](https://gist.github.com/user-attachments/assets/24b11226-4242-4958-bc12-c09159363065){alt="simulation of proton trajectories inside a magnetic mirror"}
117131

118132

119133
## Visualizing with python
120134

135+
Add stuff...
136+
137+
138+
139+
140+
121141
::::::::::::::::::::::::::::::::::::: keypoints
122142

123-
- Use `.md` files for episodes when you want static content
124-
- Use `.Rmd` files for episodes when you need to generate output
125-
- Run `sandpaper::check_lesson()` to identify any issues with your lesson
126-
- Run `sandpaper::build_lesson()` to preview your lesson locally
143+
- WarpX is a open-source high-performance particle-in-cell code
144+
- WarpX is easy to install using `Conda`: `conda -c conda-forge warpx`
145+
- The documentation is the first place to look for answers, otherwise check out our Issues and Discussions
146+
- Visualizing 3D results with Paraview and `openpmd` data using `.pmd` files.
127147

128148
::::::::::::::::::::::::::::::::::::::::::::::::

0 commit comments

Comments
 (0)