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

Boundary conditions in spline_builder_2d.hpp #402

Closed
Paulinemoi opened this issue Apr 11, 2024 · 1 comment · Fixed by #405
Closed

Boundary conditions in spline_builder_2d.hpp #402

Paulinemoi opened this issue Apr 11, 2024 · 1 comment · Fixed by #405
Assignees

Comments

@Paulinemoi
Copy link

It seems there is mix between the boundary conditions on the first dimension and the second dimension.
In spline_builder_2d.hpp, at lines

if constexpr (BcXmin1 == ddc::BoundCond::HERMITE) {

and
if constexpr (BcXmax1 == ddc::BoundCond::HERMITE) {

I think it should be BcXmin2 and BcXmax2 instead of BcXmin1 and BcXmax1 .
In the case of Hermite boundary conditions on the two dimensions, it doesnt seem to affect it. But when the 2D basis has Hermite boundary conditions for one dimension and periodic boundary conditions for the second dimension, we have a error at the compilation.

@blegouix
Copy link
Collaborator

Yes I think you are right!

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

Successfully merging a pull request may close this issue.

2 participants