linearSpline_t Derived Type

type, public, extends(spline_t) :: linearSpline_t

type~~linearspline_t~~InheritsGraph type~linearspline_t linearSpline_t type~spline_t spline_t type~spline_t->type~linearspline_t
Help


Linear spline type



Components

TypeVisibility AttributesNameInitial
real(kind=wp), public, dimension(:), allocatable:: t0

Parameterization variable data

real(kind=wp), public, dimension(:,:), allocatable:: x0

Datapoints for spline


Constructor

public interface linearSpline_t

Constructor for linearSpline_t

  • private function newLinearSpline(t0, x0) result(self)

    Constructor for linearSpline_t

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in), dimension(:):: t0

    Parameterization data \(t_0\)

    real(kind=wp), intent(in), dimension(:,:):: x0

    Datapoints for spline \(\vec{x}_0\)

    Return Value type(linearSpline_t)

    New spline


Type-Bound Procedures

procedure, public :: x => x_linearSpline

  • private function x_linearSpline(self, t) result(o)

    Evalute the linear spline at point \(t\)

    Arguments

    Type IntentOptional AttributesName
    class(linearSpline_t), intent(in) :: self

    Spline of curve

    real(kind=wp), intent(in) :: t

    Parameterization point

    Return Value real(kind=wp), dimension(:), allocatable

    Spline location \(\vec{x}\)