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 overwrite_amrex_parser_defaults WarpXAMReXInit.cpp #4965

Open
wants to merge 6 commits into
base: development
Choose a base branch
from

Conversation

lucafedeli88
Copy link
Member

overwrite_amrex_parser_defaults in WarpXAMReXInit.cpp does several different things. This PR subdivides what overwrite_amrex_parser_defaults into smaller functions that are called sequentially in order to improve readability.

@lucafedeli88 lucafedeli88 added the cleaning Clean code, improve readability label Jun 3, 2024
@lucafedeli88 lucafedeli88 changed the title Simplify in overwrite_amrex_parser_defaults WarpXAMReXInit.cpp Simplify overwrite_amrex_parser_defaults WarpXAMReXInit.cpp Jun 4, 2024
@lucafedeli88 lucafedeli88 requested a review from EZoni July 25, 2024 14:10
@ax3l
Copy link
Member

ax3l commented Aug 12, 2024

Restarting CI

@ax3l ax3l closed this Aug 12, 2024
@ax3l ax3l reopened this Aug 12, 2024
@ax3l
Copy link
Member

ax3l commented Aug 12, 2024

Is that truly simpler? :D
Or more structured/readable?

Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

OK with me :)

@ax3l ax3l enabled auto-merge (squash) August 12, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleaning Clean code, improve readability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants