Development of B-spline techniques for dynamic ion-metal interaction theories