-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mainly this PR adds a laplacian for face-centered B to `CleanupDivergence`, which is automatically used if the B_CT package is loaded. It doesn't actually seem faster than the cell-centered version despite having a smaller stencil. It also adds a "PtoU" for face-centered fields, which takes a cell-centered B and interpolates it to faces. Yes, this means interpolating interpolated values, which is not ideal but doesn't seem egregious. Finally, it adds a version of the `resize` test with face-centered fields. I also rephrased the face divB in terms of derivatives for clarity, spit out Flux-CT device functions into a header like Face-CT has, and modified some uncommon device-side B field functions a bit. Finally, this adds an unrelated feature allowing re-initialization of electron temps at user option, designed for restarting ideal simulations w/electrons enabled.
- Loading branch information
Showing
15 changed files
with
540 additions
and
281 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.