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

Fixing staircased EM solver #2739

Merged
merged 8 commits into from
Jan 13, 2022
Merged

Conversation

lgiacome
Copy link
Member

@lgiacome lgiacome commented Jan 13, 2022

In the staircased EM solver we had redundant checks on B ensure it is zero inside conductors, but this is not needed because it follows from the fact that E is zero everywhere inside the conductor and on its surface.

When the EB boundary is not aligned with the grid, checking also B leads to inconsistencies so we remove the checks on B completely.

We also remove the checks in the PML damping as they are clearly redundant.

The way the staircased EB is implemented in this PR is exactly the same as in Warp.

@lgiacome lgiacome requested a review from RemiLehe January 13, 2022 08:27
@lgiacome lgiacome added component: boundary PML, embedded boundaries, et al. bug: affects latest release Bug also exists in latest release version component: FDTD FDTD solvers labels Jan 13, 2022
@RemiLehe RemiLehe merged commit ca67ae0 into ECP-WarpX:development Jan 13, 2022
@lgiacome lgiacome deleted the fix_staircase branch January 19, 2022 14:02
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 component: boundary PML, embedded boundaries, et al. component: FDTD FDTD solvers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants