j0j0_integrand_sum: j0j0_integrand_sum

Description Usage Arguments Value

View source: R/j0j0_integrand.R

Description

Function to calculate the sum in the j0j0 integrand.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
j0j0_integrand_sum(
  go_up_or_down,
  l_0,
  l_scale,
  p_perp,
  directions,
  k_perp,
  k_par,
  omega,
  omega_c,
  mass,
  distribution
)

Arguments

go_up_or_down

character starting from l_0, go "up" or go "down"

l_0

integer Starting point for sum over l values.

l_scale

integer Relevant range of l values

p_perp

numeric component of momentum vector perpendicular to the magnetic field divided by p_scale. Should be near 1.

directions

character vector with two spatial directions: acombination of x, y, and z. e.g xx, xy or yz.

k_perp

numeric length of component of wavevector perpendicular to the magnetic field.

k_par

numeric length of component of wavevector parallel to the magnetic field.

omega

numeric angular cyclotron frequency of current fluctuations.

omega_c

numeric particle angular cyclotron frequency (omega_c = qB/m).

mass

numeric particle mass in kg.

distribution

list with the velocity distribution.

Value

numeric


mstejner/j0j0r documentation built on May 23, 2020, 2:37 p.m.