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

Simplify diagnostic functor setup #5455

Merged

Conversation

dpgrote
Copy link
Member

@dpgrote dpgrote commented Nov 12, 2024

This reduces code duplication when setting up the functors for the full diagnostics. Instead of having separate code for each field for each dimension, this uses a loop over the dimensions so there is only a line for each field. This also combines the Cartesian and RZ setup.

@dpgrote dpgrote added cleaning Clean code, improve readability component: diagnostics all types of outputs labels Nov 12, 2024
@RemiLehe RemiLehe merged commit 3323515 into ECP-WarpX:development Nov 13, 2024
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: diagnostics all types of outputs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants