Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Laser Injection #1201

Open
wants to merge 81 commits into
base: development
Choose a base branch
from
Open

Conversation

EyaDammak
Copy link
Contributor

@EyaDammak EyaDammak commented Jan 31, 2025

  • new beam parameter:
    <plasma name>.can_laser_injection
    <plasma name>.injection_product
  • new function in PlasmaParticleContainer.cpp: PlasmaToBeam that transfers the plasma ionized electrons in the beam particle container.
  • DONE: creation of the function PlasmaToBeam in the PlasmaParticleContainer, function defined in the source code, method defined in hipace.cpp as DoLaserInjection
  • TO DO: for loop on the ionised electrons in the plasma particle container to transfer them in an empty beam container and test it.

How the input script would look like:

plasmas.names = elec ion
[...]

beams.names = beam1

beam1.injection_type = fixed_weight
beam1.num_particles = 0
beam1.total_charge = 0
beam1.position_mean = 0 0 0
beam1.position_std  = 0 0 0
beam1.u_mean  = 0 0 0
beam1.u_std = 0 0 0

elec.injection_product = beam1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant