aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/pec
diff options
context:
space:
mode:
authorGravatar Davide Terzani <titoiride@gmail.com> 2023-02-21 09:05:16 -0800
committerGravatar GitHub <noreply@github.com> 2023-02-21 09:05:16 -0800
commit8f31cea2a47749ca697b64a93837842f990312ed (patch)
tree155ec4b9d31063b407797203c2fa7202117ecd4c /Examples/Tests/pec
parent7eae30870646a2efbdf9164d46c75e540251e5f0 (diff)
downloadWarpX-8f31cea2a47749ca697b64a93837842f990312ed.tar.gz
WarpX-8f31cea2a47749ca697b64a93837842f990312ed.tar.zst
WarpX-8f31cea2a47749ca697b64a93837842f990312ed.zip
Renamed "particle_vel" to "particle_mom" (#3672)
* Renamed particle_vel to particle_mom * Changed vel to u * Updated gitignore with vscode-specific folder * Updated docs for single particle * Revert "Updated gitignore with vscode-specific folder" This reverts commit cb44ef8d66c123daa93d6a13d5a1d88416e866bb. * Fixed typo * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixed other typo * Add species indication in warning --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to 'Examples/Tests/pec')
-rw-r--r--Examples/Tests/pec/inputs_particle_PEC_3d4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/Tests/pec/inputs_particle_PEC_3d b/Examples/Tests/pec/inputs_particle_PEC_3d
index 278eb4d47..ded8582b0 100644
--- a/Examples/Tests/pec/inputs_particle_PEC_3d
+++ b/Examples/Tests/pec/inputs_particle_PEC_3d
@@ -37,14 +37,14 @@ electron.charge = -q_e
electron.mass = m_p
electron.injection_style = "singleparticle"
electron.single_particle_pos = 31.998e-6 0. 0.
-electron.single_particle_vel = 0. 0. 0.
+electron.single_particle_u = 0. 0. 0.
electron.single_particle_weight = 1.0
proton.charge = q_e
proton.mass = m_p # Very heavy ; should not move
proton.injection_style = "singleparticle"
proton.single_particle_pos = 31.998e-6 0.e-6 0.
-proton.single_particle_vel = 0. -2. 0.
+proton.single_particle_u = 0. -2. 0.
proton.single_particle_weight = 1.0
# Particle shape factor in each direction