project_to_curve Subroutine

public subroutine project_to_curve(x, c, t, t0)

Project a point onto a curve.

Arguments

Type IntentOptional Attributes Name
real(kind=rkind), intent(inout) :: x(:)

The point to be projected

type(curve_t), intent(in) :: c

The curve

real(kind=rkind), intent(out), optional :: t

The parameter value of the projection

real(kind=rkind), intent(in), optional :: t0

The initial guess for the parameter of the projection