Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Functions to compute primitive of 1d function.
Functions/Subroutines | |
subroutine, public | sll_s_function_to_primitive (f, x, n, xm) |
Compute primitive of f. More... | |
subroutine, public | sll_s_primitive_to_function (f, x, n, xm) |
Compute function value from primitive. More... | |
subroutine, public sll_m_primitives::sll_s_function_to_primitive | ( | real(kind=f64), dimension(:), intent(inout) | f, |
real(kind=f64), dimension(:), intent(in) | x, | ||
integer(kind=i32), intent(in) | n, | ||
real(kind=f64), intent(out) | xm | ||
) |
Compute primitive of f.
[in] | f | 1d array of double float |
[in] | x | nodes positions |
[in] | n | nodes number |
[out] | xm | mean function |
Definition at line 23 of file sll_m_primitives.F90.
subroutine, public sll_m_primitives::sll_s_primitive_to_function | ( | real(kind=f64), dimension(:), intent(inout) | f, |
real(kind=f64), dimension(:), intent(in) | x, | ||
integer(kind=i32), intent(in) | n, | ||
real(kind=f64), intent(in) | xm | ||
) |
Compute function value from primitive.
[in,out] | f | 1d array of double float |
[in] | x | nodes positions |
[in] | n | nodes number |
[in] | xm | mean function |
Definition at line 61 of file sll_m_primitives.F90.