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

Embedded Boundary: take some EB-related methods out of WarpX class #5625

Conversation

lucafedeli88
Copy link
Member

ComputeEdgeLengths, ComputeFaceAreas, ScaleAreas, and ScaleEdges are pure functions that can be easily taken out of the WarpX class, in order to make it simpler.

This PR places these two functions under a newly created namespace warpx::embedded_boundary, inside the files EmbeddedBoundray/EmbeddedBoundary.H/cpp .

@lucafedeli88 lucafedeli88 added cleaning Clean code, improve readability component: boundary PML, embedded boundaries, et al. labels Jan 31, 2025
@lucafedeli88 lucafedeli88 requested review from ax3l and RemiLehe January 31, 2025 12:24
@RemiLehe RemiLehe merged commit a50cc40 into ECP-WarpX:development Jan 31, 2025
35 of 37 checks passed
@RemiLehe
Copy link
Member

RemiLehe commented Jan 31, 2025

Thanks for this PR! This is great!

Would you be able to do a follow-up PR to do the same treatment for the Mark...Cells functions (e.g., MarkUpdateBCellsECT)

@lucafedeli88
Copy link
Member Author

Thanks for this PR! This is great!

Would you be able to do a follow-up PR to do the same treatment for the Mark...Cells functions (e.g., MarkUpdateBCellsECT)

Sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleaning Clean code, improve readability component: boundary PML, embedded boundaries, et al.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants