Skip to content

Commit

Permalink
Revert the changes to Examples/Tests/langmuir/inputs_2d
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Nov 17, 2023
1 parent a3d83a4 commit a47448f
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions Examples/Tests/langmuir/inputs_2d
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,16 @@ my_constants.k = 2.*pi/20.e-6 # perturbation wavenumber
# Particles
particles.species_names = electrons positrons

# Split the loading of the plasma to test multiple injection sources
# The two sources s1 and s2 are identical except their zmin and zmax
electrons.charge = -q_e
electrons.mass = m_e

electrons.injection_sources = s1 s2
electrons.s1.injection_style = "NUniformPerCell"
electrons.s1.zmin = -20.e-6
electrons.s1.zmax = 0.e-6
electrons.s2.injection_style = "NUniformPerCell"
electrons.s2.zmin = 0.e-6
electrons.s2.zmax = 20.e-6

# These parameters are common to both sources
electrons.injection_style = "NUniformPerCell"
electrons.num_particles_per_cell_each_dim = 2 2
electrons.xmin = -20.e-6
electrons.xmax = 20.e-6
electrons.ymin = -20.e-6
electrons.ymax = 20.e-6
electrons.zmin = -20.e-6
electrons.zmax = 20.e-6

electrons.profile = constant
electrons.density = n0 # number of electrons per m^3
Expand Down

0 comments on commit a47448f

Please sign in to comment.