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

[mini] reset ID incrementor before starting initializing a beam #994

Merged
merged 5 commits into from
Jul 10, 2023

Conversation

MaxThevenet
Copy link
Member

Add an option, see title.

@MaxThevenet MaxThevenet added the component: beam About the beam species label Jul 7, 2023
Copy link
Member

@SeverinDiederichs SeverinDiederichs left a comment

Choose a reason for hiding this comment

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

Thank you for the addition. It works well (but not for openPMD output, that requires an additional fix).

Can be merged after the suggestion is added.

Note that for #991 it must be changed to

    if (m_do_reset_id_init) BeamTileInit::ParticleType::NextID(1);    

src/particles/beam/BeamParticleContainer.cpp Outdated Show resolved Hide resolved
Co-authored-by: Severin Diederichs <65728274+SeverinDiederichs@users.noreply.github.com>
@MaxThevenet MaxThevenet merged commit 1869942 into Hi-PACE:development Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: beam About the beam species
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants