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

refactor to avoid code duplication #5220

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

BrianMarre
Copy link
Member

@BrianMarre BrianMarre commented Nov 14, 2024

This PR is the combination of different refactors reducing code duplication in preparation for the implementation of instant field ionization transitions.

The first commit is provides the starting point, the remaining 7 commits contain one feature refactor each and are tested to compile with gcc 12.2.0 .

Please review this PR commit wise.

extracts the check for passed atomic data dataBoxes to avoid code
duplication

ci: picongpu
allows specifying the precision to use in the bound-free rate
calculation and seperates the find maximum and minimum E-field norm in a
superCell to allow reuse

ci: picongpu
refactors the ApplyIPDIonization kernel by seperating out reuseable
modules for reuse

ci: picongpu
removes the code duplciation of caching the EField

ci: picongpu
@BrianMarre BrianMarre force-pushed the topic-refactorToAvoidCodeCuplication branch from 702397c to 0c9ebfe Compare November 15, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: core in PIConGPU (core application) refactoring code change to improve performance or to unify a concept but does not change public API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants