-
Notifications
You must be signed in to change notification settings - Fork 196
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
Implicit add filtering #5086
Merged
JustinRayAngus
merged 8 commits into
ECP-WarpX:development
from
dpgrote:implicit_add_filtering_redo
Nov 11, 2024
Merged
Implicit add filtering #5086
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
dff9212
Change name ApplyFilterJ to ApplyFilterMF
dpgrote 5f17e4c
Add filtering to implicit solver
dpgrote 6ef68b0
Add CI test
dpgrote a8721db
Update CI benchmarks
dpgrote 61e0af4
Merge branch 'development' into implicit_add_filtering_redo
dpgrote 7441110
Merge branch 'development' into implicit_add_filtering_redo
dpgrote 71583a3
Remove EB line from Examples/Tests/implicit/CMakeLists.txt
dpgrote 608c7f2
Fix fetch of Efield_fp
dpgrote File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
31 changes: 31 additions & 0 deletions
31
Regression/Checksum/benchmarks_json/ThetaImplicitJFNK_VandB_2d_filtered.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"lev=0": { | ||
"Bx": 60986.14027968379, | ||
"By": 81807.16925197575, | ||
"Bz": 51620.23830412359, | ||
"Ex": 56569963234064.06, | ||
"Ey": 15735696324387.898, | ||
"Ez": 53301895885240.7, | ||
"divE": 5.10172977366128e+22, | ||
"jx": 1.7511741282649858e+19, | ||
"jy": 2.1441037234086957e+19, | ||
"jz": 1.8956446467052007e+19, | ||
"rho": 451716735861.51776 | ||
}, | ||
"electrons": { | ||
"particle_momentum_x": 4.864934380680235e-19, | ||
"particle_momentum_y": 4.862649855848387e-19, | ||
"particle_momentum_z": 4.884107133942756e-19, | ||
"particle_position_x": 0.004250258285605058, | ||
"particle_position_y": 0.004250550955854736, | ||
"particle_weight": 2823958719279159.5 | ||
}, | ||
"protons": { | ||
"particle_momentum_x": 2.088034298114596e-17, | ||
"particle_momentum_y": 2.0869487719950244e-17, | ||
"particle_momentum_z": 2.094045881084313e-17, | ||
"particle_position_x": 0.004251274413462257, | ||
"particle_position_y": 0.004251274300177191, | ||
"particle_weight": 2823958719279159.5 | ||
} | ||
} |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Should ApplyFilterJ() be different than applying a filter for E or B when using curvilinear geometries?
I believe the filter should be applied to the current before dividing by the volume element to convert to current density. Perhaps this is being done somewhere else?
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.
You are probably correct, but filtering doesn't work for RZ as it is now (at least for FDTD). As it is now, the inverse volume scaling is done before the filtering. That order could be changed but that would need to be a separate PR.