-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add external current handling to Ohm's law solver (#4405)
* add `WarpX::getedgelengths` and WarpX::getfaceareas` functions to return pointers to those multifabs * add external current support to the hybrid-PIC solver * add external current specification (for hybrid-PIC scheme) to picmi * add RZ support for `FiniteDifferenceSolver::CalculateCurrentAmpere` * allow an initial Bz field to be set in RZ * code cleanup and addition of CI test * avoid lambda capture issue * update documentation to show external current implementation * revert unwanted changes * restore RZ support that was lost during rebase * fix segfault when EB support is OFF * fix codeQL issue * add some details to docs * the external current only needs to be calculated once per field solve step * add description of `hybrid_pic_model.J[x/y/z]_external_grid_function(x, y, z, t)` to the documentation
- Loading branch information
1 parent
d2633ba
commit a393c7b
Showing
9 changed files
with
329 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.