XGCa
 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>

Collaboration diagram for CollisionVelocityGrids< Device >:
Collaboration graph
[legend]

Public Member Functions

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)
 
void setup_one (int isp, int mesh_ind, double vth, double dsmu, double dvp, double vp_max)
 
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 std::vector< Species< Device >> &all_species, const CollisionSpecies< Device > &col_species, const View< int **, HostType > &mesh_nodes, int mesh_batch_ind)
 

Public Attributes

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
 
View< double ***, CLayout,
HostType
mesh_z
 
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
 

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*,CLayout,Device> CollisionVelocityGrids< Device >::count_species_in_grid ( const CollisionSpecies< Device > &  col_spall) const
inline
template<class Device>
KOKKOS_INLINE_FUNCTION double CollisionVelocityGrids< Device >::local_center_volume ( int  ibatch,
int  igrid,
int  j 
) const
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Device>
KOKKOS_INLINE_FUNCTION double CollisionVelocityGrids< Device >::mesh_r_half ( int  ibatch,
int  igrid,
int  j 
) const
inline

Here is the caller graph for this function:

template<class Device>
KOKKOS_INLINE_FUNCTION double CollisionVelocityGrids< Device >::mesh_z_half ( int  ibatch,
int  igrid,
int  j 
) const
inline

Here is the caller graph for this function:

template<class Device>
void CollisionVelocityGrids< Device >::setup_all ( const std::vector< Species< Device >> &  all_species,
const CollisionSpecies< Device > &  col_species,
const 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>
View<double****,Device> CollisionVelocityGrids< Device >::delta_r
template<class Device>
View<double****,Device> CollisionVelocityGrids< Device >::delta_z
template<class Device>
Kokkos::DualView<int**,CLayout,Device> CollisionVelocityGrids< Device >::map_grid_to_species
template<class Device>
const int CollisionVelocityGrids< Device >::mb_n_nodes

Batch size.

template<class Device>
View<double**,Kokkos::LayoutLeft,Device> CollisionVelocityGrids< Device >::mesh_dr
template<class Device>
View<double**,Kokkos::LayoutLeft,HostType> CollisionVelocityGrids< Device >::mesh_dr_h
template<class Device>
View<double**,Kokkos::LayoutLeft,Device> CollisionVelocityGrids< Device >::mesh_dz
template<class Device>
View<double**,Kokkos::LayoutLeft,HostType> CollisionVelocityGrids< Device >::mesh_dz_h
template<class Device>
View<double***,CLayout,HostType> CollisionVelocityGrids< Device >::mesh_r
template<class Device>
View<double***,CLayout,HostType> CollisionVelocityGrids< Device >::mesh_z
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*,CLayout,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>
View<double***,CLayout,Device> CollisionVelocityGrids< Device >::vol
template<class Device>
View<double***,CLayout,HostType> CollisionVelocityGrids< Device >::vol_h
template<class Device>
View<double**,Kokkos::LayoutLeft,Device> CollisionVelocityGrids< Device >::vpar_beg
template<class Device>
View<double**,Kokkos::LayoutLeft,HostType> CollisionVelocityGrids< Device >::vpar_beg_h

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