aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d2b648159..edc5d3fa5 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)"