XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
VelocityGrid Struct Reference

#include <velocity_grid.hpp>

Public Member Functions

 VelocityGrid (NLReader::NamelistReader &nlr)
 
KOKKOS_INLINE_FUNCTION double vpar_n (int ivz) const
 
KOKKOS_INLINE_FUNCTION double vperp_n (int ivr) const
 
KOKKOS_INLINE_FUNCTION VGridWeights get_weights (double smu, double vp) const
 
KOKKOS_INLINE_FUNCTION void weight_by_inv_dsmu (VGridWeights &vgrid_wts) const
 
KOKKOS_INLINE_FUNCTION void weight_by_vol (double vol, VGridWeights &vgrid_wts) const
 
KOKKOS_INLINE_FUNCTION void weight_by_inv_vol (double inv_vol, VGridWeights &vgrid_wts) const
 

Public Attributes

int nvp
 n points in parallel velocity (not including zero) More...
 
double vp_max
 max parallel velocity More...
 
double dvp
 grid spacing in parallel velocity More...
 
int nmu
 n points in mu (not including zero) More...
 
double smu_max
 max mu More...
 
double dsmu
 grid spacing in mu More...
 
double inv_mu0_factor = 1.0/3.0
 Set value of lowest mu in grid –> 1/mu0_factor. More...
 
int nvr
 full grid size (including zero) More...
 
int nvz
 full grid size (including negative and zero) More...
 
int element_order
 velocity grid finite element order (0 = nearest neighbor), (1 = linear), (2 = quadratic), (3 = cubic), .... More...
 
bool pseudo_inv_on
 whether pseudo-inverse interpolation is used in velocity space More...
 

Constructor & Destructor Documentation

VelocityGrid::VelocityGrid ( NLReader::NamelistReader nlr)
inline

Here is the call graph for this function:

Member Function Documentation

KOKKOS_INLINE_FUNCTION VGridWeights VelocityGrid::get_weights ( double  smu,
double  vp 
) const
inline

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double VelocityGrid::vpar_n ( int  ivz) const
inline

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION double VelocityGrid::vperp_n ( int  ivr) const
inline

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION void VelocityGrid::weight_by_inv_dsmu ( VGridWeights vgrid_wts) const
inline

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION void VelocityGrid::weight_by_inv_vol ( double  inv_vol,
VGridWeights vgrid_wts 
) const
inline

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION void VelocityGrid::weight_by_vol ( double  vol,
VGridWeights vgrid_wts 
) const
inline

Here is the caller graph for this function:

Member Data Documentation

double VelocityGrid::dsmu

grid spacing in mu

double VelocityGrid::dvp

grid spacing in parallel velocity

int VelocityGrid::element_order

velocity grid finite element order (0 = nearest neighbor), (1 = linear), (2 = quadratic), (3 = cubic), ....

double VelocityGrid::inv_mu0_factor = 1.0/3.0

Set value of lowest mu in grid –> 1/mu0_factor.

int VelocityGrid::nmu

n points in mu (not including zero)

int VelocityGrid::nvp

n points in parallel velocity (not including zero)

int VelocityGrid::nvr

full grid size (including zero)

int VelocityGrid::nvz

full grid size (including negative and zero)

bool VelocityGrid::pseudo_inv_on

whether pseudo-inverse interpolation is used in velocity space

double VelocityGrid::smu_max

max mu

double VelocityGrid::vp_max

max parallel velocity


The documentation for this struct was generated from the following file: