WarpX icon indicating copy to clipboard operation
WarpX copied to clipboard

Allow filtering with implicit and semi-implicit solver

Open dpgrote opened this issue 1 year ago • 0 comments

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 avatar Jan 10 '24 01:01 dpgrote