-
Notifications
You must be signed in to change notification settings - Fork 15
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
Ballistic motion electrons #22
Comments
Hi, |
Hi Kristien. The source is computed and stored in np.array "sourceM", which is a 2D array S[x,t]. Look then for "def sourceprofile", here is where you want to put the formula. Right now, the code treats separately the space and time dependence, so you want to create an if/elif on the same level of
In this new if branch, you want to write the code which compute the expression you posted. I see there are many parameter in the analytical expression you wrote. If they are not universal constant, I would suggest to add in the source class a method which set as properties all the parameters you need. One last thing: I am currently working on the new version I will post (probably) by the end of June. Let me know if you already wrote some code for this feature, because I could insert it in the next release of the code. If you have any doubt, do not hesitate to tell us. :) |
Hi!
Thanks for sharing this great code via GitHub!
I am trying to add the ballistic range electrons can move in the laser source term as in the following equation:
In this equation delta is the optical penetration depth and delta_b the ballistic range.
How can I include this ballistic range in the laser source term of the NTMpy code? Which definition in which class do I need to redefine?
Thanks in advance
The text was updated successfully, but these errors were encountered: