-
Notifications
You must be signed in to change notification settings - Fork 7
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
Closes #19: Adding capability for charged particle motion in electric and magnetic fields #20
Conversation
Job Documentation on 1ca808c wanted to post the following: View the site here This comment will be updated on new commits. |
… and magnetic fields - VelocityUpdater was refactored to ParticleStepper to be more descriptive - The updateVelocity method was changed to setupStep since it does more than just update the particle velocity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this contribution!
A partial first round of reviews (I did not make it to the tests yet).
It looks like a lot of comments, but these are generally minor since you submitted a very good base.
EDIT: by the way @gsgall , Casey taught me something I'm now sharing every chance I get: if you go to the file changes
, you can submit commits in batches from suggestions.
Let me know if you have any questions.
I just looked at the test coverage, @gsgall:
What are they for? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All pretty minor here.
Heh @simopier noticed without even looking at the coverage 😬 |
Co-authored-by: Pierre-Clement Simon <[email protected]> Co-authored-by: Logan Harbour <[email protected]>
- the getBankedRays() method was removed from the PICStudyBase - some temporary variables in the reinitialize method were removed for clarity - the temporary_velocity variable was renamed to _temporary_velocity
Sorry about that. I was using that method when I had written a test that output rayData into csv with a custom post processor object. I forgot to remove it when I transitioned the tests to be exodiffs because the post processor test was not parallel consistent. |
@loganharbour @simopier This should be good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My last comment. Content with everything else
Co-authored-by: Logan Harbour <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for these improvements, @gsgall. I have a few more minor comments and two suggestions:
- could you add a test case for the constant electric field case?
- I encourage you to add a reference to your submitted PBNC paper in the relevant documentation pages. This will improve its visibility. You can lark it as
submitted
, and we'll update this when it gets published.
Co-authored-by: Pierre-Clement Simon <[email protected]>
Co-authored-by: Pierre-Clement Simon <[email protected]>
Co-authored-by: Pierre-Clement Simon <[email protected]>
I have added these test cases for the BorisStepper I also left a comment about them on your review requests where you ask for them as well. Additionally, the paper reference has been added to the BorisStepper documentation page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gsgall, this looks great to me.
@loganharbour, could we add the json file capabilities you mentioned to make the gold file more human readable? Maybe in a follow up PR if it isn't ready to go in yet.
Yeah, this'll be a future effort. It's on a list :) |
(Closes #19)