setDistHarmonic Interface

interface
public module subroutine setDistHarmonic(dist, h, xArr, vArr)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(inout), dimension(:) :: dist
integer(kind=ik), intent(in) :: h
real(kind=rk), intent(in), dimension(:) :: xArr
real(kind=rk), intent(in), dimension(..) :: vArr

Description

Set the h-th harmonic of distribution function variable dist to xArr*vArr at corresponding x, and v coordinates. vArr should be either rank 1 or 2, and if it is rank 2 it should be size(numV,size(xArr))