CarpetX icon indicating copy to clipboard operation
CarpetX copied to clipboard

CarpetX: fix bug in hermite prolongation

Open lwJi opened this issue 5 months ago • 0 comments

This PR is trying to fix bug in the Hermite type of prolongation.

  1. Since the first order Hermite interpolation is the same with Lagrange Interpolation and quit different from higher Hermite interpolations, we removed that coeffs and calling POLY directly for first order Hermite.
  2. We update the coeffs for higher Hermite interpolation according to the derivation here: https://github.com/lwJi/Docs-CarpetX-Public/blob/main/notes/Prolongation/Hermite.ipynb
  3. We update the size the stencils required by Hermite because it's two points larger compared to the same order Lagrangian.

lwJi avatar Jul 28 '25 01:07 lwJi