BoundaryValueDiffEq.jl icon indicating copy to clipboard operation
BoundaryValueDiffEq.jl copied to clipboard

Feature request: Derivative boundary condition for BVP ODEs

Open yewalenikhil65 opened this issue 2 years ago • 2 comments

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 !

yewalenikhil65 avatar Jan 17 '23 07:01 yewalenikhil65

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.

cpf-work avatar Oct 09 '23 07:10 cpf-work

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.

ChrisRackauckas avatar Oct 09 '23 07:10 ChrisRackauckas