aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2018-07-19 20:43:18 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2018-07-19 20:43:18 -0700
commit92ec90cec36b396b51e26137bd67a8fb64f624d3 (patch)
tree4b6fc9c35622d744fcb2aea027ae76c157cc2127
parentffd10561ac00fca86c1faa4c50d52a6a96d11a8f (diff)
downloadWarpX-92ec90cec36b396b51e26137bd67a8fb64f624d3.tar.gz
WarpX-92ec90cec36b396b51e26137bd67a8fb64f624d3.tar.zst
WarpX-92ec90cec36b396b51e26137bd67a8fb64f624d3.zip
Remove unnecessary parenthesis
-rw-r--r--Example/Langmuir/inputs.multi.rt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Example/Langmuir/inputs.multi.rt b/Example/Langmuir/inputs.multi.rt
index edc5d3fa5..d2b648159 100644
--- a/Example/Langmuir/inputs.multi.rt
+++ b/Example/Langmuir/inputs.multi.rt
@@ -63,9 +63,9 @@ electrons.zmax = 20.e-6
electrons.profile = constant
electrons.density = 2.e24 # number of electrons per m^3
electrons.momentum_distribution_type = parse_momentum_function
-electrons.momentum_function_ux(x,y,z) = "epsilon * (k/kp) * sin(k*x) * cos(k*y) * cos(k*z)"
-electrons.momentum_function_uy(x,y,z) = "epsilon * (k/kp) * cos(k*x) * sin(k*y) * cos(k*z)"
-electrons.momentum_function_uz(x,y,z) = "epsilon * (k/kp) * cos(k*x) * cos(k*y) * sin(k*z)"
+electrons.momentum_function_ux(x,y,z) = "epsilon * k/kp * sin(k*x) * cos(k*y) * cos(k*z)"
+electrons.momentum_function_uy(x,y,z) = "epsilon * k/kp * cos(k*x) * sin(k*y) * cos(k*z)"
+electrons.momentum_function_uz(x,y,z) = "epsilon * k/kp * cos(k*x) * cos(k*y) * sin(k*z)"
positrons.charge = q_e
positrons.mass = m_e
@@ -81,6 +81,6 @@ positrons.zmax = 20.e-6
positrons.profile = constant
positrons.density = 2.e24 # number of positrons per m^3
positrons.momentum_distribution_type = parse_momentum_function
-positrons.momentum_function_ux(x,y,z) = "-epsilon * (k/kp) * sin(k*x) * cos(k*y) * cos(k*z)"
-positrons.momentum_function_uy(x,y,z) = "-epsilon * (k/kp) * cos(k*x) * sin(k*y) * cos(k*z)"
-positrons.momentum_function_uz(x,y,z) = "-epsilon * (k/kp) * cos(k*x) * cos(k*y) * sin(k*z)"
+positrons.momentum_function_ux(x,y,z) = "-epsilon * k/kp * sin(k*x) * cos(k*y) * cos(k*z)"
+positrons.momentum_function_uy(x,y,z) = "-epsilon * k/kp * cos(k*x) * sin(k*y) * cos(k*z)"
+positrons.momentum_function_uz(x,y,z) = "-epsilon * k/kp * cos(k*x) * cos(k*y) * sin(k*z)"