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

Fix Advection_AmrCore test #3690

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

WeiqunZhang
Copy link
Member

The particle container should not be a static member, because it's a member of a class derived from AmrCore, not AmrLevel. The issue of its being a static member is that it is not deleted properly (unless we explicitly do it).

Note that in the AmrLevel case we must make it a static member because all AmrLevel objects need to share the same particle container.

The particle container should not be a static member, because it's a member
of a class derived from AmrCore, not AmrLevel. The issue of its being a
static member is that it is not deleted properly (unless we explicitly do
it).

Note that in the AmrLevel case we must make it a static member because all
AmrLevel objects need to share the same particle container.
@atmyers atmyers merged commit e0b77e1 into AMReX-Codes:development Jan 8, 2024
69 checks passed
@WeiqunZhang WeiqunZhang deleted the amrcore_particle_test branch January 8, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants