XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
CollisionVelocityGrids< Device > Struct Template Reference

#include <col_vgrids.hpp>

Public Member Functions

Kokkos::DualView< int
*, Kokkos::LayoutRight, Device > 
count_species_in_grid (const CollisionSpecies< Device > &col_spall) const
 
int count_grids () const
 
 CollisionVelocityGrids ()
 
 CollisionVelocityGrids (const CollisionSpecies< Device > &col_spall)
 
void setup_one (int isp, int mesh_ind, double vth, double dsmu, double dvp, double vp_max)
 
void setup_all (const std::vector< Species< Device >> &all_species, const CollisionSpecies< Device > &col_species, const Kokkos::View< int **, HostType > &mesh_nodes, int mesh_batch_ind)
 

Public Attributes

Kokkos::DualView< int
*, Kokkos::LayoutRight, 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...
 
Kokkos::View< double
***, Kokkos::LayoutRight,
HostType
mesh_r
 
Kokkos::View< double
***, Kokkos::LayoutRight,
HostType
mesh_z
 
Kokkos::View< double
***, Kokkos::LayoutRight,
Device > 
vol
 
Kokkos::View< double
***, Kokkos::LayoutRight,
HostType
vol_h
 
Kokkos::View< double ****, Device > delta_r
 
Kokkos::View< double ****, Device > delta_z
 
Kokkos::DualView< double
***, Device > 
mesh_r_half
 
Kokkos::DualView< double
***, Device > 
mesh_z_half
 
Kokkos::DualView< double
***, Device > 
local_center_volume
 
Kokkos::DualView< double
**, Device > 
vpar_beg
 
Kokkos::DualView< double
**, Device > 
mesh_dz
 
Kokkos::DualView< double
**, Device > 
mesh_dr
 
Kokkos::DualView< int
**, Kokkos::LayoutRight,
Device > 
map_grid_to_species
 

Constructor & Destructor Documentation

template<class Device>
CollisionVelocityGrids< Device >::CollisionVelocityGrids ( )
inline
template<class Device>
CollisionVelocityGrids< Device >::CollisionVelocityGrids ( const CollisionSpecies< Device > &  col_spall)
inline

Member Function Documentation

template<class Device>
int CollisionVelocityGrids< Device >::count_grids ( ) const
inline
template<class Device>
Kokkos::DualView<int*,Kokkos::LayoutRight,Device> CollisionVelocityGrids< Device >::count_species_in_grid ( const CollisionSpecies< Device > &  col_spall) const
inline
template<class Device>
void CollisionVelocityGrids< Device >::setup_all ( const std::vector< Species< Device >> &  all_species,
const CollisionSpecies< Device > &  col_species,
const Kokkos::View< int **, HostType > &  mesh_nodes,
int  mesh_batch_ind 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Device>
void CollisionVelocityGrids< Device >::setup_one ( int  isp,
int  mesh_ind,
double  vth,
double  dsmu,
double  dvp,
double  vp_max 
)
inline

Here is the caller graph for this function:

Member Data Documentation

template<class Device>
Kokkos::View<double****,Device> CollisionVelocityGrids< Device >::delta_r
template<class Device>
Kokkos::View<double****,Device> CollisionVelocityGrids< Device >::delta_z
template<class Device>
Kokkos::DualView<double***,Device> CollisionVelocityGrids< Device >::local_center_volume
template<class Device>
Kokkos::DualView<int**,Kokkos::LayoutRight,Device> CollisionVelocityGrids< Device >::map_grid_to_species
template<class Device>
const int CollisionVelocityGrids< Device >::mb_n_nodes

Batch size.

template<class Device>
Kokkos::DualView<double**,Device> CollisionVelocityGrids< Device >::mesh_dr
template<class Device>
Kokkos::DualView<double**,Device> CollisionVelocityGrids< Device >::mesh_dz
template<class Device>
Kokkos::View<double***,Kokkos::LayoutRight,HostType> CollisionVelocityGrids< Device >::mesh_r
template<class Device>
Kokkos::DualView<double***,Device> CollisionVelocityGrids< Device >::mesh_r_half
template<class Device>
Kokkos::View<double***,Kokkos::LayoutRight,HostType> CollisionVelocityGrids< Device >::mesh_z
template<class Device>
Kokkos::DualView<double***,Device> CollisionVelocityGrids< Device >::mesh_z_half
template<class Device>
const int CollisionVelocityGrids< Device >::n

Number of velocity grids.

template<class Device>
const int CollisionVelocityGrids< Device >::n_species

Number of species total.

template<class Device>
Kokkos::DualView<int*,Kokkos::LayoutRight,Device> CollisionVelocityGrids< Device >::nspecies_in_grid
template<class Device>
const int CollisionVelocityGrids< Device >::nvr

grid points in r

template<class Device>
const int CollisionVelocityGrids< Device >::nvz

grid points in z

template<class Device>
Kokkos::View<double***,Kokkos::LayoutRight,Device> CollisionVelocityGrids< Device >::vol
template<class Device>
Kokkos::View<double***,Kokkos::LayoutRight,HostType> CollisionVelocityGrids< Device >::vol_h
template<class Device>
Kokkos::DualView<double**,Device> CollisionVelocityGrids< Device >::vpar_beg

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