jagot / FEDVR.jl

Finite-Element, Discrete Variable Representation package for Julia
Other
2 stars 2 forks source link

Spurious dips in basis functions #1

Closed jagot closed 4 years ago

jagot commented 6 years ago

As seen at x=0.6,0.9 in basis functions plot

jagot commented 6 years ago

Tentatively fixed by 6237f4068697d8242fb81383176b11074e2350fa. Due to bad numerical interpolation of grid point locations from the Gauss–Lobatto quadrature points, it could sometimes happen that the start of one finite element occurred before the end of the previous one. Fixed by more stable implementation of linear interpolation.

basis functions