-
Notifications
You must be signed in to change notification settings - Fork 20
[WIP] Complete version for ionization injection #1226
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
Open
EyaDammak
wants to merge
224
commits into
Hi-PACE:development
Choose a base branch
from
EyaDammak:injection_bis
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6593444
to
45f3e60
Compare
* Resize Beam Diagnostic buffer (Hi-PACE#1227) * Fix shadow issue in AddGridExternalFields (Hi-PACE#1230) * Update Ubuntu version of CI tests (Hi-PACE#1232) * Remove CONDA from CUDA Local CI (Hi-PACE#1236) * Beam read_from_file also reads spin (Hi-PACE#1172) Co-authored-by: Alexander Sinn <[email protected]> * Update physical constants (Hi-PACE#1223) * Fix laser from file hanging with MPI (Hi-PACE#1235) * Add Parser Debug Print Utility (Hi-PACE#1238) * Fix CI with MPI (Hi-PACE#1241) --------- Co-authored-by: Alexander Sinn <[email protected]> Co-authored-by: Maxence Thévenet <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY OF THE PR
If
elec.can_laser_injection=1
andgaz.can_laser_ionize=1
in the input script,-- the function
DoLaserInjection()
inHipace.cpp
is activated-- -- The function
ConditionInjection()
inPlasmaParticleContainer.cpp
detects the plasma particles that has been injected and marks the particles detected with an id = 3-- -- Then, the function
PlasmaToBeam()
does the transfer of the detected plasma particles to the beam containerThe condition to detect injected electrons has to be checked.$\gamma / (1+\psi)$ > max_qsa_weighting_factor
For now, it is set at:
The weight of the new beam particle created (from the transfer from a plasma particle) has to be checked too.$w_{beam}=w_{plasma}*dt * \gamma / \psi$ (from the condition $j_{x_{beam}}=j_{x_{plasma}}$ and $(x,y,\zeta)$ --> $(x,y,t)$ )
Now, it is set at
Performance has to be checked too