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

Bugfix: sum guard cell values in current density diagnostic #4596

Merged

Conversation

roelof-groenewald
Copy link
Member

Fixes #4562.

WarpX::SumBoundaryJ which would also apply appropriate filtering to the current density values is private to WarpX, so this PR introduces an intermediate quick-fix that simply sums the guard cell values in the newly deposited current density multifab. Note that this bug only affects the current density diagnostic for electrostatic simulations (or simulations with no field solver).

@roelof-groenewald roelof-groenewald added bug Something isn't working bug: affects latest release Bug also exists in latest release version component: diagnostics all types of outputs labels Jan 9, 2024
@RemiLehe RemiLehe merged commit c5aea94 into BLAST-WarpX:development Feb 13, 2024
@roelof-groenewald roelof-groenewald deleted the j_functor_sum_boundary branch February 13, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working component: diagnostics all types of outputs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong current density diagnostics in ES mode with domain decomposition
2 participants