Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Derived types and interfaces | |
type | sll_t_lagrange_interpolation_1d |
interface | delete |
Functions/Subroutines | |
type(sll_t_lagrange_interpolation_1d) function, pointer, public | sll_f_new_lagrange_interpolation_1d (num_points, xmin, xmax, bc_type, d, periodic_last) |
subroutine, public | sll_s_compute_lagrange_interpolation_1d (lagrange) |
This function computes the weights w_j for the barycentric formula. More... | |
subroutine, public | sll_s_cubic_spline_1d_eval_array (fi, alpha, lagrange) |
This function computes the value at the grid points displacement by -alpha. More... | |
subroutine | delete_lagrange_interpolation_1d (sll_m_lagrange_interpolation) |
|
private |
Definition at line 176 of file sll_m_lagrange_interpolation_1d.F90.
type(sll_t_lagrange_interpolation_1d) function, pointer, public sll_m_lagrange_interpolation_1d::sll_f_new_lagrange_interpolation_1d | ( | integer(kind=i32), intent(in) | num_points, |
real(kind=f64) | xmin, | ||
real(kind=f64) | xmax, | ||
integer(kind=i32), intent(in) | bc_type, | ||
integer(kind=i32), intent(in) | d, | ||
integer(kind=i32), intent(in), optional | periodic_last | ||
) |
[in] | periodic_last | periodic_last indicates if the input data repeats the first point at the end if we have periodic data. It takes the values 0 (not repeated) or 1 (repeated). Default : 1. |
Definition at line 45 of file sll_m_lagrange_interpolation_1d.F90.
subroutine, public sll_m_lagrange_interpolation_1d::sll_s_compute_lagrange_interpolation_1d | ( | type(sll_t_lagrange_interpolation_1d), pointer | lagrange | ) |
This function computes the weights w_j for the barycentric formula.
lagrange | lagrange is the lagrange interpolator object |
Definition at line 72 of file sll_m_lagrange_interpolation_1d.F90.
subroutine, public sll_m_lagrange_interpolation_1d::sll_s_cubic_spline_1d_eval_array | ( | real(kind=f64), dimension(1:lagrange%nb_cell + 1), intent(in) | fi, |
real(kind=f64), intent(in) | alpha, | ||
type(sll_t_lagrange_interpolation_1d), pointer | lagrange | ||
) |
This function computes the value at the grid points displacement by -alpha.
lagrange | lagrange is the lagrange interpolator object | |
[in] | alpha | alpha is the (negative) displacement |
[in] | fi | fi are the values at the grid points |
Definition at line 100 of file sll_m_lagrange_interpolation_1d.F90.