#include <col_vgrids.hpp>
|
Kokkos::DualView< int *, CLayout, Device > | count_species_in_grid (const CollisionSpecies< Device > &col_spall) const |
|
int | count_grids () const |
|
| CollisionVelocityGrids () |
|
| CollisionVelocityGrids (const CollisionSpecies< Device > &col_spall) |
|
KOKKOS_INLINE_FUNCTION double | vp_vol_fac (int ivz) const |
|
void | setup_one (int isp, int mesh_ind, double vth, double dsmu, double dvp, double vp_max) |
|
KOKKOS_INLINE_FUNCTION double | mesh_r (int ibatch, int igrid, int j) const |
|
KOKKOS_INLINE_FUNCTION double | mesh_z (int ibatch, int igrid, int j) const |
|
KOKKOS_INLINE_FUNCTION double | mesh_r_half (int ibatch, int igrid, int j) const |
|
KOKKOS_INLINE_FUNCTION double | mesh_z_half (int ibatch, int igrid, int j) const |
|
KOKKOS_INLINE_FUNCTION double | local_center_volume (int ibatch, int igrid, int j) const |
|
void | setup_all (const CollisionSpecies< Device > &col_species, const View< int *, HostType > &mesh_nodes, int mb_n_nodes) |
|
|
Kokkos::DualView< int *, CLayout, Device > | nspecies_in_grid |
|
const int | n |
| Number of velocity grids. More...
|
|
const int | mb_n_nodes |
| Batch size. More...
|
|
const int | n_species |
| Number of species total. More...
|
|
const int | nvr |
| grid points in r More...
|
|
const int | nvz |
| grid points in z More...
|
|
View< double ***, CLayout, HostType > | mesh_r_h |
|
View< double ***, CLayout, HostType > | mesh_z_h |
|
View< double ***, CLayout, Device > | vol |
|
View< double ***, CLayout, HostType > | vol_h |
|
View< double ****, Device > | delta_r |
|
View< double ****, Device > | delta_z |
|
View< double **, Kokkos::LayoutLeft, HostType > | vpar_beg_h |
|
View< double **, Kokkos::LayoutLeft, HostType > | mesh_dz_h |
|
View< double **, Kokkos::LayoutLeft, HostType > | mesh_dr_h |
|
View< double **, Kokkos::LayoutLeft, Device > | vpar_beg |
|
View< double **, Kokkos::LayoutLeft, Device > | mesh_dz |
|
View< double **, Kokkos::LayoutLeft, Device > | mesh_dr |
|
Kokkos::DualView< int **, CLayout, Device > | map_grid_to_species |
|
◆ CollisionVelocityGrids() [1/2]
◆ CollisionVelocityGrids() [2/2]
◆ count_grids()
◆ count_species_in_grid()
◆ local_center_volume()
template<class Device >
KOKKOS_INLINE_FUNCTION double CollisionVelocityGrids< Device >::local_center_volume |
( |
int |
ibatch, |
|
|
int |
igrid, |
|
|
int |
j |
|
) |
| const |
|
inline |
◆ mesh_r()
◆ mesh_r_half()
template<class Device >
KOKKOS_INLINE_FUNCTION double CollisionVelocityGrids< Device >::mesh_r_half |
( |
int |
ibatch, |
|
|
int |
igrid, |
|
|
int |
j |
|
) |
| const |
|
inline |
◆ mesh_z()
◆ mesh_z_half()
template<class Device >
KOKKOS_INLINE_FUNCTION double CollisionVelocityGrids< Device >::mesh_z_half |
( |
int |
ibatch, |
|
|
int |
igrid, |
|
|
int |
j |
|
) |
| const |
|
inline |
◆ setup_all()
◆ setup_one()
template<class Device >
void CollisionVelocityGrids< Device >::setup_one |
( |
int |
isp, |
|
|
int |
mesh_ind, |
|
|
double |
vth, |
|
|
double |
dsmu, |
|
|
double |
dvp, |
|
|
double |
vp_max |
|
) |
| |
|
inline |
◆ vp_vol_fac()
Get the boundary weighting factor of the velocity volume element in \(v_\parallel\) direction. The boundary weighting factor in \(v_\perp\) direction is already included in vol/vol_h. The return value is 1 for interior vertices, and 1/2 for boundary vertices.
- Parameters
-
[in] | ivz | Parallel velocity grid index (0...nvz-1) |
- Returns
- vp_vol_fac Boundary weighting factor in \(v_\parallel\) for velocity integration
◆ delta_r
◆ delta_z
◆ map_grid_to_species
◆ mb_n_nodes
◆ mesh_dr
◆ mesh_dr_h
◆ mesh_dz
◆ mesh_dz_h
◆ mesh_r_h
◆ mesh_z_h
Number of velocity grids.
◆ n_species
◆ nspecies_in_grid
◆ nvr
◆ nvz
◆ vol
◆ vol_h
◆ vpar_beg
◆ vpar_beg_h
The documentation for this struct was generated from the following file:
- /p/test_ssd/builds/t3_84szKM/0/xgc/XGC-Devel/XGC_core/cpp/col_vgrids.hpp