Skip to content

Reset plasma id at every call of Init#963

Merged
AlexanderSinn merged 1 commit intoHi-PACE:developmentfrom
MaxThevenet:fixid
May 31, 2023
Merged

Reset plasma id at every call of Init#963
AlexanderSinn merged 1 commit intoHi-PACE:developmentfrom
MaxThevenet:fixid

Conversation

@MaxThevenet
Copy link
Copy Markdown
Member

This fixes an issue that large simulations (counting nx*ny*nt) run out of id. Another option would be to always use amrex::Long in this function for ID handling. Preliminary tests seem to show that both fix the problem (we'll know when Jupyter @ JSC is back). This one is a bit simpler.

@MaxThevenet MaxThevenet added bug Something isn't working component: plasma About the plasma species labels May 30, 2023
@MaxThevenet MaxThevenet changed the title [WIP] Reset plasma id at every call of Init Reset plasma id at every call of Init May 31, 2023
@MaxThevenet
Copy link
Copy Markdown
Member Author

Confirmed, this fixes the issue.

@AlexanderSinn AlexanderSinn merged commit 41e6ff4 into Hi-PACE:development May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working component: plasma About the plasma species

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants