Skip to content

Commit

Permalink
Added comment on ion initialisation in boosted frame
Browse files Browse the repository at this point in the history
  • Loading branch information
SchroederSa authored Sep 7, 2024
1 parent e826767 commit 69679ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/example_input/boosted_frame_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ def dens_func( z, r ):
# 'r': 'open' can also be used, but is more computationally expensive

# Add the plasma electron and plasma ions
# NB: In the boosted frame, ions move at relativistic speed and are thus needed for correct modeling.
plasma_elec = sim.add_new_species( q=-e, m=m_e, n=n_e,
dens_func=dens_func, boost_positions_in_dens_func=True,
p_zmin=p_zmin, p_zmax=p_zmax, p_rmax=p_rmax,
Expand Down

0 comments on commit 69679ca

Please sign in to comment.