bvtnorm_setup: bvtnorm_setup

Description Usage Arguments Details Value

View source: R/bvtnorm.R

Description

Function to return a bivariate normal momentum distribution

Usage

1
bvtnorm_setup(n, center, covariance, A, Z, name)

Arguments

n

numeric Particle density.'

center

numeric center of velocity distribution (2d vector)

covariance

numeric covariance of velocity distribution (2 by 2 matrix)

A

numeric Particle mass number

Z

numeric Particle charge number

name

character Name of distribution/particle

Details

#' @title bvtnorm_grad #' #' @description function to calculate the gradient of a a bivariate normal #' momentum distribution with respect to parallel and perpencicular momentum #' #' @param p_perp numeric value of perpendicular momentum component #' @param p_par numeric value of parallel momentum component #' @param n numeric particle density. #' @param center numeric center of distribution (2d vector) #' @param covariance numeric covariance of distribution (2 by 2 matrix) #' #' @return list #' bvtnorm_grad <- deriv( expr = bvtnorm_expr, namevec = c("p_perp","p_par"), function.arg = c("p_perp", "p_par", "n", "center", "covariance") )

Value

list with momentum distribution setup


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