Skip to content
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

Allow filtering with implicit and semi-implicit solver #4600

Closed

Conversation

dpgrote
Copy link
Member

@dpgrote dpgrote commented Jan 10, 2024

This PR adds a call to filter the E-fields that are applied to the particles when filtering is turned on. The current is already filtered in the call to SyncCurrentAndRho. With the filtering of E, the energy conservation is maintained.

Note that it is using the ApplyFilterJ routine to apply the filtering to the E-field. Perhaps that routine could be renamed to ApplyFilterMF since it is not specific to J.

@dpgrote dpgrote added the component: implicit solvers Anything related to implicit solvers label Jan 10, 2024
@ax3l ax3l requested a review from RemiLehe January 23, 2024 00:17
@dpgrote dpgrote mentioned this pull request Jul 26, 2024
@dpgrote
Copy link
Member Author

dpgrote commented Jul 26, 2024

Replaced by PR #5086

@dpgrote dpgrote closed this Jul 26, 2024
@dpgrote dpgrote deleted the implicit_add_filtering branch July 26, 2024 21:45
JustinRayAngus pushed a commit that referenced this pull request Nov 11, 2024
This adds filtering to the implicit solver, replacing PR #4600.

It is a simple change. All that is needed is adding a call to filter the
`Efield_fp` just before the particles are pushed. The current density is
already filtered in `SyncCurrentAndRho`.

The name of the routine `ApplyFilterJ` was changed to `ApplyFilterMF`
since it now has a more general usage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: implicit solvers Anything related to implicit solvers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants