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

Conditions that return a vector #123

Open
kaipartmann opened this issue Jun 25, 2024 · 1 comment
Open

Conditions that return a vector #123

kaipartmann opened this issue Jun 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kaipartmann
Copy link
Owner

Add the possibility for conditions to return a Vector, such as:

velocity_bc!(t -> SVector{3}(0.0, t, 0.0), body, :set_a)

This makes it possible to develop more complex boundary conditions with the direction dependent on t or p.

@kaipartmann kaipartmann added the enhancement New feature or request label Jun 25, 2024
@kaipartmann
Copy link
Owner Author

This probably makes it necessary to reexport SVector.

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