Skip to content

Commit

Permalink
Example Updates: CFChannel, Thermal
Browse files Browse the repository at this point in the history
CFChannel: diagnostics per slice not needed.

Thermal: Python example was not included in a test yet.
  • Loading branch information
ax3l committed Jan 8, 2024
1 parent dc5450d commit 99293e2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,13 @@ add_impactx_test(thermal
examples/epac2004_benchmarks/analysis_thermal.py
OFF # no plot script yet
)
add_impactx_test(thermal.py
examples/epac2004_benchmarks/run_thermal.py
ON # ImpactX MPI-parallel
ON # ImpactX Python interface
examples/epac2004_benchmarks/analysis_thermal.py
OFF # no plot script yet
)

# Bithermal Beam EPAC2004 #####################################################
#
Expand Down
2 changes: 1 addition & 1 deletion examples/cfchannel/run_cfchannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
sim.particle_shape = 2 # B-spline order
sim.space_charge = False
# sim.diagnostics = False # benchmarking
sim.slice_step_diagnostics = True
sim.slice_step_diagnostics = False

# domain decomposition & space charge mesh
sim.init_grids()
Expand Down
2 changes: 1 addition & 1 deletion examples/cfchannel/run_cfchannel_10nC.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
sim.space_charge = True
sim.prob_relative = [3.0]
# sim.diagnostics = False # benchmarking
sim.slice_step_diagnostics = True
sim.slice_step_diagnostics = False

# domain decomposition & space charge mesh
sim.init_grids()
Expand Down
2 changes: 1 addition & 1 deletion examples/kurth/run_kurth_10nC_periodic.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
sim.particle_shape = 2 # B-spline order
sim.space_charge = True
# sim.diagnostics = False # benchmarking
sim.slice_step_diagnostics = True
sim.slice_step_diagnostics = False

# domain decomposition & space charge mesh
sim.init_grids()
Expand Down

0 comments on commit 99293e2

Please sign in to comment.