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

Add support for inactive particles #20

Open
LasNikas opened this issue May 24, 2024 · 1 comment
Open

Add support for inactive particles #20

LasNikas opened this issue May 24, 2024 · 1 comment

Comments

@LasNikas
Copy link
Collaborator

The open boundaries in trixi-framework/TrixiParticles.jl#442 require inactive and active particles.

So far, we avoid adding inactive particles to the neighbor lists by setting very large coordinates.
This could be circumvented by passing active_coordinates instead of current_coordinates.

The problem is, that we then have to remove inactive particles from the neighbor lists in every update_nhs!.

@efaulhaber
Copy link
Member

Note that the large coordinates that are currently used are not compatible with the FullGridCellList, which doesn't allow arbitrarily large coordinates.
Open boundaries are thus currently not GPU-compatible.

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

No branches or pull requests

2 participants