-
Notifications
You must be signed in to change notification settings - Fork 23
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
Space Charge Solver #162
Space Charge Solver #162
Conversation
2c6fa8b
to
0dc5187
Compare
c8cde15
to
33c9558
Compare
db90b99
to
854802f
Compare
854802f
to
9bfc0bb
Compare
f462501
to
1b433fd
Compare
5a44717
to
507b2fe
Compare
248c7f2
to
acd2b1e
Compare
e7fb99f
to
560165f
Compare
Add new fields (MultiFabs) for the scalar potential and the space charge force.
Add function ForceFromSelfFields to calculate space charge self fields and their force.
560165f
to
e482a60
Compare
@cemitch99 @RemiLehe this PR is ready for review & merge. All other open points in the PR description will be done in follow-up PRs, to keep the lines in this PR small and quick to review. |
// scalar potential | ||
auto const phi_nodal_flag = rho_nodal_flag; | ||
int const num_components_phi = 1; | ||
int const num_guards_phi = num_guards_rho + 1; // todo: I think this just depends on max(MLMG, force calc) |
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.
@RemiLehe let's discuss this again, this might currently be too large (can be performance-optimized in a follow-up PR as well)
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.
Looks ok to me; I don't see any obvious problems. Thanks a lot.
Implement the space charge solver.
Close #101
Update Evolve Loop for Leap-Frog