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

Fix bug with PML in 2D when compiling with EB #3637

Merged
merged 5 commits into from
Jan 24, 2023

Conversation

RemiLehe
Copy link
Member

@RemiLehe RemiLehe commented Jan 24, 2023

In the current version of WarpX, the PML field update is not done properly in 2D, if the code is compiled with EB support.

There are 2 bugs that are causing this, which are being fixed in this PR:

Many thanks to @anecas1979 for finding this bug and helping with the debugging process!

@RemiLehe RemiLehe changed the title Fix condition to update PML in 2D [WIP] Fix condition to update PML in 2D Jan 24, 2023
@RemiLehe RemiLehe changed the title [WIP] Fix condition to update PML in 2D Fix condition to update PML in 2D Jan 24, 2023
@RemiLehe RemiLehe requested a review from EZoni January 24, 2023 19:35
@RemiLehe RemiLehe changed the title Fix condition to update PML in 2D Fix bug with PML in 2D when compiling with EB Jan 24, 2023
Copy link
Member

@EZoni EZoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this fix, @RemiLehe!

@EZoni EZoni self-assigned this Jan 24, 2023
@EZoni EZoni added bug Something isn't working bug: affects latest release Bug also exists in latest release version component: boundary PML, embedded boundaries, et al. labels Jan 24, 2023
@RemiLehe RemiLehe merged commit f94a1f1 into ECP-WarpX:development Jan 24, 2023
@ax3l ax3l mentioned this pull request Aug 5, 2024
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: boundary PML, embedded boundaries, et al.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants