-
Notifications
You must be signed in to change notification settings - Fork 195
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
Add external particle fields ohms law hybrid #5275
base: development
Are you sure you want to change the base?
Add external particle fields ohms law hybrid #5275
Conversation
Signed-off-by: S. Eric Clark <[email protected]>
Adding time value for particle field lookup in field substepping.
b534e43
to
5f75428
Compare
for more information, see https://pre-commit.ci
Signed-off-by: S. Eric Clark <[email protected]>
….com:clarkse/WarpX into add_external_particle_fields_ohms_law_hybrid
… Cylindrical and Cartesian.
for more information, see https://pre-commit.ci
Signed-off-by: S. Eric Clark <[email protected]>
….com:clarkse/WarpX into add_external_particle_fields_ohms_law_hybrid
for more information, see https://pre-commit.ci
Signed-off-by: S. Eric Clark <[email protected]>
….com:clarkse/WarpX into add_external_particle_fields_ohms_law_hybrid
…tical field values into ghost cells. The E/B fields and edge_lengths have different numbers of ghost cells. Signed-off-by: S. Eric Clark <[email protected]>
…hen not enabled. Signed-off-by: S. Eric Clark <[email protected]>
…ternal data loading. Signed-off-by: S. Eric Clark <[email protected]>
… computed by curlA and E is computed by computing numerical derivative of seperable time component.
….com:clarkse/WarpX into add_external_particle_fields_ohms_law_hybrid
….com:clarkse/WarpX into add_external_particle_fields_ohms_law_hybrid
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Source/FieldSolver/FiniteDifferenceSolver/HybridPICModel/ExternalVectorPotential.cpp
Fixed
Show fixed
Hide fixed
Signed-off-by: S. Eric Clark <[email protected]>
Signed-off-by: S. Eric Clark <[email protected]>
Signed-off-by: S. Eric Clark <[email protected]>
Signed-off-by: S. Eric Clark <[email protected]>
Signed-off-by: S. Eric Clark <[email protected]>
Signed-off-by: S. Eric Clark <[email protected]>
for more information, see https://pre-commit.ci
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 for this PR!
I like the approach in that it mostly keeps the augmented functionality separate from the Ohm's law solving.
One thing though, this really includes 2 PRs in one
- Introduction of the EB "Covered" functionality
- The external fields in the hybrid algorithm
Do you think it would be feasible to pull the "covered" stuff into a separate PR? That would help a lot in reviewing and merging.
auto& warpx = WarpX::GetInstance(); | ||
warpx.ApplyEfieldBoundary(lev, PatchType::fine); |
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.
Why is it necessary to move this here?
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.
I was looking around to fix some boundary issues. I will double check on this.
… not using. Signed-off-by: S. Eric Clark <[email protected]>
Signed-off-by: S. Eric Clark <[email protected]>
for more information, see https://pre-commit.ci
Co-authored-by: Roelof Groenewald <[email protected]>
Co-authored-by: Roelof Groenewald <[email protected]>
Co-authored-by: Roelof Groenewald <[email protected]>
Co-authored-by: Roelof Groenewald <[email protected]>
Co-authored-by: Roelof Groenewald <[email protected]>
Co-authored-by: Roelof Groenewald <[email protected]>
Co-authored-by: Roelof Groenewald <[email protected]>
Signed-off-by: S. Eric Clark <[email protected]>
….com:clarkse/WarpX into add_external_particle_fields_ohms_law_hybrid
This PR allows for the addition of external fields through the particle fields analytical interface. This is useful for field splitting external vs. self fields in the hybrid ohm's law solver.