-
Notifications
You must be signed in to change notification settings - Fork 85
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
Change default components to constraint to be all components #506
Comments
Makes sense to me. |
fredrikekre
added a commit
that referenced
this issue
Oct 6, 2022
This patch changes the default components to prescribe for (Periodic)Dirichlet from component one to all components. This change does not affect scalar problems, and judging by tests, does not really affect vector valued problems either since it was already rather strange to rely on the default behavior of prescribing only the first component. Fixes #506.
fredrikekre
added a commit
that referenced
this issue
Oct 6, 2022
This patch changes the default components to prescribe for (Periodic)Dirichlet from component one to all components. This change does not affect scalar problems, and judging by tests, does not really affect vector valued problems either since it was already rather strange to rely on the default behavior of prescribing only the first component. Fixes #506.
fredrikekre
added a commit
that referenced
this issue
Oct 6, 2022
This patch changes the default components to prescribe for (Periodic)Dirichlet from component one to all components. This change does not affect scalar problems, and judging by tests, does not really affect vector valued problems either since it was already rather strange to rely on the default behavior of prescribing only the first component. Fixes #506.
fredrikekre
added a commit
that referenced
this issue
Oct 6, 2022
This patch changes the default components to prescribe for (Periodic)Dirichlet from component one to all components. This change does not affect scalar problems, and judging by tests, does not really affect vector valued problems either since it was already rather strange to rely on the default behavior of prescribing only the first component. Fixes #506.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the default components to constrain in e.g. Dirichlet and PeriodicDirichlet is the first component. It becomes pretty annoying to always have to specify, since you more often than not prescribe them all. For scalar problems "all components" is already the default in a way, but for vector problems it is really strange to default to just the first one.
I suggest that we default to all components instead. One alternative would be to always require the components to be specified explicitly.
The text was updated successfully, but these errors were encountered: