You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I am not mistaken, we mentioned that in the case of even degree uniform splines along with Hermite boundary conditions the function compute_interpolation_points_uniform produces a non-uniform mesh. However when printing the mesh it seems to be uniform whatever the value of the degree.
I imagine that the outermost points have been absorbed into the boundary condition. This is not an unreasonable thing to do as specifying Hermite boundary conditions officially means specifying the value and the derivatives at the bounds. Thus the interpolation points are the Greville points, and the boundary conditions are any additional information required to solve the system.
For degree 3 we obtain:
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
which includes the points at the boundary as this time they are Greville points.
We therefore have 2 options:
Add the points that I expected to see to the interpolation points. This way all values to be evaluated are available in one table, and it is not necessary to know the value of the Hermite boundary conditions at the boundary. The derivative is sufficient
Keep the current points. In this case we have a uniform mesh, however we must be able to provide the value of the function at the boundary
In any case this is not a vital point as it is rare that even degree splines are used. Indeed the stability proofs become much harder for even degrees due to this kind of asymmetry so it is usually safer to stick to odd degrees.
If I am not mistaken, we mentioned that in the case of even degree uniform splines along with Hermite boundary conditions the function
compute_interpolation_points_uniform
produces a non-uniform mesh. However when printing the mesh it seems to be uniform whatever the value of the degree.Originally created by @tpadioleau in gysela-developpers/gyselalibxx#89
The text was updated successfully, but these errors were encountered: