Commit a41a7c8
committed
Examples: Default openPMD Backend
We default to ADIOS2 output when available for
performance in the I/O of our `BeamMonitor` element.
For CI and correctness tests, because sometimes it is easier/faster
to install from packages (e.g., Debian), we hard-code the HDF5
openPMD backend, to avoid that the test behaves differently if
ADIOS2 is present (switches to bp) or not (switches to h5).
Now, we can actually let the code switch automatically because
with openPMD 0.16+, we have a generic pattern `.%E` in analsy
scripts to read the written files and match the first openPMD
backend that works (by file name extension). That way, we can now
simplify our examples by not adding the extra lines to control
the openPMD backend anymore.1 parent 0d15878 commit a41a7c8
File tree
197 files changed
+141
-208
lines changed- docs/source/dataanalysis
- examples
- achromatic_spectrometer
- alignment
- aperture
- apochromatic
- cfbend
- cfchannel
- chicane
- compression
- coupled_optics
- cyclotron
- distgen
- dogleg
- epac2004_benchmarks
- expanding_beam
- fodo_channel
- fodo_chromatic
- fodo_programmable
- fodo_rf
- fodo_space_charge
- fodo_tune
- fodo_userdef
- fodo
- initialize_from_array
- iota_lattice
- iota_lens
- kicker
- kurth
- linac_segment
- linear_map
- multipole
- optimize_triplet
- positron_channel
- pytorch_surrogate_model
- quadrupole_softedge
- rfcavity
- rotation
- scraping_beam
- solenoid_restart
- solenoid_softedge
- solenoid
- thin_dipole
- src/python/impactx
- tests/python
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
197 files changed
+141
-208
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments