Description
1D interpolation with regular X spacing
Subroutines
  • FindNext(this, x, llo, xlo, xhi)
    • TRegularCubicSpline   :: this
    • real(sp_acc) intent(in) :: x
    • integer intent(inout) :: llo
    • real(sp_acc) intent(out) :: xlo
    • real(sp_acc) intent(out) :: xhi
  • Init(this, xmin, xmax, n, values, End1, End2)
    • TRegularCubicSpline   :: this
    • real(sp_acc) intent(in) :: xmin
    • real(sp_acc) intent(in) :: xmax
    • integer intent(in) :: n
    • real(sp_acc) intent(in), optional :: values(1:)
    • real(sp_acc) intent(in), optional :: End1
    • real(sp_acc) intent(in), optional :: End2
  • InitInterp(this, End1, End2)
    • TRegularCubicSpline   :: this
    • real(sp_acc) intent(in), optional :: End1
    • real(sp_acc) intent(in), optional :: End2
  • LoadState(this, F)
  • regular_spline(n, delta, y, d11, d1n, d2)
    • integer intent(in) :: n
    • real(sp_acc) intent(in) :: delta
    • real(sp_acc) intent(in) :: y(n)
    • real(sp_acc) intent(in) :: d11
    • real(sp_acc) intent(in) :: d1n
    • real(sp_acc) intent(out) :: d2(n)
  • SaveState(this, F)
  • TSpline1D_ArrayValue(this, x, y, error)
    Get array of values y(x), assuming x is monotonically increasing
    • TRegularCubicSpline   :: this
    • real(sp_acc) intent(in) :: x(1:)
    • real(sp_acc) intent(out) :: y(1:)
    • integer intent(inout), optional :: error initialize to zero outside, changed if bad
  • TSpline1D_IntRangeValue(this, xmin, xmax, y, error)
    Get array of values y(x), assuming x is monotonically increasing
    • TRegularCubicSpline   :: this
    • integer intent(in) :: xmin
    • integer intent(in) :: xmax
    • real(sp_acc) intent(out) :: y(xmin:)
    • integer intent(inout), optional :: error initialize to zero outside, changed if bad
Functions
  • real(sp_acc)
    Derivative(this, x, error)
    • TRegularCubicSpline   :: this
    • real(sp_acc) intent(in) :: x
    • integer intent(inout), optional :: error initialize to zero outside, changed if bad
  • real(sp_acc)
    GetValue(this, x, error)
    • TRegularCubicSpline   :: this
    • real(sp_acc) intent(in) :: x
    • integer intent(inout), optional :: error initialize to zero outside, changed if bad
Properties
  • real(sp_acc) :: xmin
  • real(sp_acc) :: xmax
  • real(sp_acc) :: delta_x
  • real(sp_acc) :: inv_delta_x private