aboutsummaryrefslogtreecommitdiff
path: root/Examples/Modules
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2021-04-13 00:06:37 +0200
committerGravatar GitHub <noreply@github.com> 2021-04-12 15:06:37 -0700
commit599d590e60e480cf2e8a7c766565da1edaf79b0b (patch)
tree06626bdaaf8e09eadb731359b71a8a7570aa686c /Examples/Modules
parent346f0a6f6c2744d0d7f0ca5b4e3110a0137c0d44 (diff)
downloadWarpX-599d590e60e480cf2e8a7c766565da1edaf79b0b.tar.gz
WarpX-599d590e60e480cf2e8a7c766565da1edaf79b0b.tar.zst
WarpX-599d590e60e480cf2e8a7c766565da1edaf79b0b.zip
Add a delay to laser profile read from "txye" file (#1816)
* add delay to txye laser * add delay in test * fix bug * fixed bug * Update Docs/source/running_cpp/parameters.rst Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> * Update Docs/source/running_cpp/parameters.rst Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Diffstat (limited to 'Examples/Modules')
-rw-r--r--Examples/Modules/laser_injection_from_file/inputs.2d_test_txye1
1 files changed, 1 insertions, 0 deletions
diff --git a/Examples/Modules/laser_injection_from_file/inputs.2d_test_txye b/Examples/Modules/laser_injection_from_file/inputs.2d_test_txye
index 28269598d..43f0d1c93 100644
--- a/Examples/Modules/laser_injection_from_file/inputs.2d_test_txye
+++ b/Examples/Modules/laser_injection_from_file/inputs.2d_test_txye
@@ -36,6 +36,7 @@ txye_laser.wavelength = 1.0e-6 # The wavelength of the laser (in meters)
txye_laser.profile = from_txye_file
txye_laser.txye_file_name = "gauss_2d_unf.txye"
txye_laser.time_chunk_size = 50
+txye_laser.delay = 0.0
# Diagnostics
diagnostics.diags_names = diag1