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

Move several EB-related methods out of the WarpX class #5630

Merged

Conversation

lucafedeli88
Copy link
Member

@lucafedeli88 lucafedeli88 commented Feb 3, 2025

This PR transforms the WarpX member functions MarkReducedShapeCells, MarkUpdateCellsStairCase, MarkUpdateECellsECT, MarkUpdateBCellsECT, MarkExtensionCells into pure functions inside the namespace warpx::embedded_boundary, together with ComputeEdgeLengths, ComputeFaceAreas, ScaleEdges, and ScaleAreas. The source files containing these functions are renamed as EmbeddedBoundaryInit.H/cpp , since these functions are called only during the initialization.

@lucafedeli88 lucafedeli88 added cleaning Clean code, improve readability component: boundary PML, embedded boundaries, et al. labels Feb 3, 2025
@lucafedeli88 lucafedeli88 requested a review from RemiLehe February 5, 2025 12:37
@lucafedeli88 lucafedeli88 changed the title [WIP] Move several EB-related methods out of the WarpX class Move several EB-related methods out of the WarpX class Feb 5, 2025
@RemiLehe RemiLehe merged commit 7c9f8f2 into ECP-WarpX:development Feb 14, 2025
37 checks passed
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