afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
|
Module for cubic spline interpolation. More...
Data Types | |
type | spline_t |
Functions/Subroutines | |
subroutine, public | spline_set_coeffs (x, y, n, spl) |
Calculate coefficients for cubic spline interpolation. | |
pure elemental real(dp) function, public | spline_evaluate (u, spl) |
Module for cubic spline interpolation.
Author: Jannis Teunissen
This code is based on:
License: the above two files do not specify a license, so I assume they are in the public domain, as is this code.
pure elemental real(dp) function, public m_spline_interp::spline_evaluate | ( | real(dp), intent(in) | u, |
type(spline_t), intent(in) | spl ) |
[in] | u | Evaluate at this coordinate |
[in] | spl | Spline data |
Definition at line 153 of file m_spline_interp.f90.
subroutine, public m_spline_interp::spline_set_coeffs | ( | real(dp), dimension(n), intent(in) | x, |
real(dp), dimension(n), intent(in) | y, | ||
integer, intent(in) | n, | ||
type(spline_t), intent(out) | spl ) |
Calculate coefficients for cubic spline interpolation.
[in] | n | Size of tabulated data |
[in] | x | Tabulated coordinates (in strictly increasing order) |
[in] | y | Tabulated values |
Definition at line 42 of file m_spline_interp.f90.