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

Implement a generic version for set_zero! #1818

Open
bennibolm opened this issue Jan 30, 2024 · 0 comments
Open

Implement a generic version for set_zero! #1818

bennibolm opened this issue Jan 30, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bennibolm
Copy link
Contributor

bennibolm commented Jan 30, 2024

I might be useful to implement a generic version of set_zero!.
Right now, it is used in different places to reset arrays (also others than du), thread-parallelized for the last entry.

E.g. in

    # TODO: Do not abuse `reset_du!` but maybe implement a generic `set_zero!`
    @trixi_timeit timer() "reset alpha" reset_du!(alpha, dg, semi.cache)

Originally posted by @sloede in #1736 (comment)

@sloede sloede added enhancement New feature or request good first issue Good for newcomers labels Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants