Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Derived types and interfaces | Functions/Subroutines
sll_m_moment_matching Module Reference

Derived types and interfaces

interface  match_moment_1d_linear
 !Match mean E[X] and E[X^2] = first and second order moment More...
 
interface  match_moment_1d_weight_linear
 !Match mean E[W X] and E[W X^2] = first and second order moment modifies only X, montecarlo estimate is: sum(W X)/N, N=len(X) More...
 

Functions/Subroutines

subroutine match_moment_1d_linear_real64 (x, mean, mom2)
 
subroutine, public sll_s_match_moment_1d_weight_linear_real64 (x, w, mean, mom2, num)
 

Function/Subroutine Documentation

◆ match_moment_1d_linear_real64()

subroutine sll_m_moment_matching::match_moment_1d_linear_real64 ( real(kind=f64), dimension(:), intent(inout)  x,
real(kind=f64), intent(in)  mean,
real(kind=f64), intent(in)  mom2 
)
private

Definition at line 34 of file sll_m_moment_matching.F90.

Here is the caller graph for this function:

◆ sll_s_match_moment_1d_weight_linear_real64()

subroutine, public sll_m_moment_matching::sll_s_match_moment_1d_weight_linear_real64 ( real(kind=f64), dimension(:), intent(inout)  x,
real(kind=f64), dimension(:), intent(in)  w,
real(kind=f64), intent(in)  mean,
real(kind=f64), intent(in)  mom2,
integer(kind=i32), intent(in)  num 
)

Definition at line 47 of file sll_m_moment_matching.F90.

    Report Typos and Errors