diff options
author | 2019-05-07 19:44:54 -0700 | |
---|---|---|
committer | 2019-05-07 19:44:54 -0700 | |
commit | 5f2cfab237461821ee79c0ca17c506b07be95fbd (patch) | |
tree | 302396db649e9bf599db9e687912cb8a53a4bb79 /Docs/source/running_cpp | |
parent | 2b2286fa3221d14feed9961ddeaed70f54f7a4e8 (diff) | |
parent | 8ae480604c740fff0c28838ae84fdc31dc0c8254 (diff) | |
download | WarpX-5f2cfab237461821ee79c0ca17c506b07be95fbd.tar.gz WarpX-5f2cfab237461821ee79c0ca17c506b07be95fbd.tar.zst WarpX-5f2cfab237461821ee79c0ca17c506b07be95fbd.zip |
Merge pull request #119 from ECP-WarpX/inject_laser
Continuous injection for laser particles
Diffstat (limited to 'Docs/source/running_cpp')
-rw-r--r-- | Docs/source/running_cpp/parameters.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Docs/source/running_cpp/parameters.rst b/Docs/source/running_cpp/parameters.rst index 32ac12104..fb8931c60 100644 --- a/Docs/source/running_cpp/parameters.rst +++ b/Docs/source/running_cpp/parameters.rst @@ -154,6 +154,11 @@ Particle initialization * ``NRandomPerCell``: injection with a fixed number of randomly-distributed particles per cell. This requires the additional parameter ``<species_name>.num_particles_per_cell``. +* ``<species_name>.do_continuous_injection`` (`0` or `1`) + Whether to inject particles during the simulation, and not only at + initialization. This can be required whith a moving window and/or when + running in a boosted frame. + * ``<species_name>.profile`` (`string`) Density profile for this species. The options are: @@ -408,6 +413,17 @@ Laser initialization Temporal chirp at focus. See definition in Akturk et al., Opt Express, vol 12, no 19 (2014). +* ``<laser_name>.do_continuous_injection`` (`0` or `1`) optional (default `0`). + Whether or not to use continuous injection (`0` or not `0`). + If the antenna starts outside of the simulation domain but enters it + at some point (due to moving window or moving antenna in the boosted + frame), use this so that the laser antenna is injected when it reaches + the box boundary. If running in a boosted frame, this requires the + boost direction, moving window direction and laser propagation direction + to be along `z`. If not running in a boosted frame, this requires the + moving window and laser propagation directions to be the same (`x`, `y` + or `z`) + * ``warpx.num_mirrors`` (`int`) optional (default `0`) Users can input perfect mirror condition inside the simulation domain. The number of mirrors is given by ``warpx.num_mirrors``. The mirrors are |