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

Feature request: Derivative boundary condition for BVP ODEs #83

Open
yewalenikhil65 opened this issue Jan 17, 2023 · 2 comments
Open

Feature request: Derivative boundary condition for BVP ODEs #83

yewalenikhil65 opened this issue Jan 17, 2023 · 2 comments

Comments

@yewalenikhil65
Copy link

At the moment BoundaryValueDiffEq doesn't seem to support derivative boundary conditions(neumann, robin) at the boundaries in ODEs of BVP form. Requesting maintainers for same !

@cpf-work
Copy link

cpf-work commented Oct 9, 2023

I'm not 100% sure whether I'm correct here, and it is probably not efficient. But I think you can take your differential equation function to calculate the derivatives at the boundaries and use those to calculate the residual in the BCs.

@ChrisRackauckas
Copy link
Member

The interpolation function that is used for computing u(t) in the multi-point boundary conditions can just be analytically differentiated. We just need to support the same syntax as the ODE solver, i.e. u(t, Val{1}) for the first derivative, and then this can be treated as a multipoint BVP.

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

No branches or pull requests

3 participants