Skip to content

Commit

Permalink
clarifying ion initialisation via initialize_ions flag in the simulat…
Browse files Browse the repository at this point in the history
…ion class

I added a sentence on the need to specify also the ion density profile in the simulation class.
  • Loading branch information
SchroederSa authored Sep 9, 2024
1 parent de984b3 commit 543247a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/advanced/boosted_frame.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ or read a `more detailed description of the speedup
in this case the ions move with relativistic speed and do produce a
non-negligible current :math:`\boldsymbol{j}`. Therefore, **in boosted-frame
simulations, the ions are required**. Make sure to include them, either
by setting the flag ``initialize_ions=True`` in the :any:`Simulation`
object, or by adding them separately with :any:`add_new_species`.
by setting the flag ``initialize_ions=True`` and specifying the ion plasma density in the :any:`Simulation`
object, or by adding them separately with :any:`add_new_species`. We recommend the latter approach, using
:any:`add_new_species` function.


Converting input parameters from the lab frame to the boosted frame
Expand Down

0 comments on commit 543247a

Please sign in to comment.