Skip to content

Commit

Permalink
Merge pull request fbpic#697 from SchroederSa/patch-1
Browse files Browse the repository at this point in the history
Added comment on ion initialisation in boosted frame
  • Loading branch information
RemiLehe authored Sep 7, 2024
2 parents e826767 + 69679ca commit de984b3
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 de984b3

Please sign in to comment.