Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Private Member Functions | List of all members
match_moment_1d_weight_linear Interface Reference

!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...

Private Member Functions

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

Detailed Description

!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)

Definition at line 27 of file sll_m_moment_matching.F90.

Member Function/Subroutine Documentation

◆ sll_s_match_moment_1d_weight_linear_real64()

subroutine 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 
)
private

Definition at line 47 of file sll_m_moment_matching.F90.

    Report Typos and Errors