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

[Feat]: allow for 1 dimensional vector variables #253

Open
1 task done
ward-haegeman opened this issue Jan 9, 2025 · 0 comments
Open
1 task done

[Feat]: allow for 1 dimensional vector variables #253

ward-haegeman opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ward-haegeman
Copy link

ward-haegeman commented Jan 9, 2025

What do you want?

in fluid simulations, the velocity is a vector of dimension dim

image

vel1[cell][0] is not allowed if dim=1 and as a consequence the code is not dimensionally independent, we have to make two codes :
_one for the 1d case
_one for the multi-d case

Please allow the access of the 1-d velocity field by vel1[cell][0] instead of vel1[cell] only.

A possible usage

No response

A possible implementation

No response

Other informations

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ward-haegeman ward-haegeman added the enhancement New feature or request label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant