XGCa
Classes | Namespaces | Functions
col_grid.cpp File Reference
#include <Kokkos_Atomic.hpp>
#include <iostream>
#include <chrono>
#include "timer_macro.hpp"
#include "nan_check.hpp"
#include "elliptics.hpp"
#include "col_grid.hpp"
Include dependency graph for col_grid.cpp:

Classes

struct  Kokkos::reduction_identity< MomentSet >
 

Namespaces

 Kokkos
 

Functions

void negative_f_correction (double *pdf_np1, double *mesh_z, double *mesh_r, double *vol_h, double *vp_vol_fac_h, int col_f_nvz, int col_f_nvr, double mass, double dens, double mom, double energy)
 
template<typename F >
View< int *, CLayout, HostTypeteam_row_wise_sum_int (int batch_size, int n, F func)
 
template<typename F >
View< MomentSet *, CLayout, HostTypeteam_row_wise_sum (int batch_size, int n, F func)
 
template<class Device >
View< MomentSet **, CLayout, HostTypecalculate_delta_moments (int mb_n_nodes, const CollisionVelocityGrids< Device > &cvg, const CollisionSpecies< Device > &cs)
 
template<>
View< MomentSet **, CLayout, HostTypecalculate_delta_moments (int mb_n_nodes, const CollisionVelocityGrids< DeviceType > &cvg, const CollisionSpecies< DeviceType > &cs)
 
template<>
View< MomentSet **, CLayout, HostTypecalculate_delta_moments (int mb_n_nodes, const CollisionVelocityGrids< HostType > &cvg, const CollisionSpecies< HostType > &cs)
 
template<class Device >
void calculate_moments (int mb_n_nodes, const CollisionVelocityGrids< Device > &cvg, const CollisionSpecies< Device > &cs)
 
template<>
void calculate_moments (int mb_n_nodes, const CollisionVelocityGrids< DeviceType > &cvg, const CollisionSpecies< DeviceType > &cs)
 
template<>
void calculate_moments (int mb_n_nodes, const CollisionVelocityGrids< HostType > &cvg, const CollisionSpecies< HostType > &cs)
 
template<class Device >
Convergence::Status evaluate_conservation (int mesh_ind, const CollisionVelocityGrids< Device > &col_vgrids, const CollisionSpecies< Device > &col_spall, const View< MomentSet **, CLayout, HostType > &dmoments)
 
template<class Device >
void count_negatives (const View< double ****, CLayout, Device > &pdf, int mb_n_nodes, const View< Convergence::Status *, HostType > &convergence_status)
 
template<>
void count_negatives (const View< double ****, CLayout, DeviceType > &pdf, int mb_n_nodes, const View< Convergence::Status *, HostType > &convergence_status)
 
template<>
void count_negatives (const View< double ****, CLayout, HostType > &pdf, int mb_n_nodes, const View< Convergence::Status *, HostType > &convergence_status)
 

Function Documentation

◆ calculate_delta_moments() [1/3]

template<class Device >
View<MomentSet**,CLayout,HostType> calculate_delta_moments ( int  mb_n_nodes,
const CollisionVelocityGrids< Device > &  cvg,
const CollisionSpecies< Device > &  cs 
)
Here is the caller graph for this function:

◆ calculate_delta_moments() [2/3]

template<>
View<MomentSet**,CLayout,HostType> calculate_delta_moments ( int  mb_n_nodes,
const CollisionVelocityGrids< DeviceType > &  cvg,
const CollisionSpecies< DeviceType > &  cs 
)
Here is the call graph for this function:

◆ calculate_delta_moments() [3/3]

template<>
View<MomentSet**,CLayout,HostType> calculate_delta_moments ( int  mb_n_nodes,
const CollisionVelocityGrids< HostType > &  cvg,
const CollisionSpecies< HostType > &  cs 
)

◆ calculate_moments() [1/3]

template<class Device >
void calculate_moments ( int  mb_n_nodes,
const CollisionVelocityGrids< Device > &  cvg,
const CollisionSpecies< Device > &  cs 
)
Here is the caller graph for this function:

◆ calculate_moments() [2/3]

template<>
void calculate_moments ( int  mb_n_nodes,
const CollisionVelocityGrids< DeviceType > &  cvg,
const CollisionSpecies< DeviceType > &  cs 
)
Here is the call graph for this function:

◆ calculate_moments() [3/3]

template<>
void calculate_moments ( int  mb_n_nodes,
const CollisionVelocityGrids< HostType > &  cvg,
const CollisionSpecies< HostType > &  cs 
)
Here is the call graph for this function:

◆ count_negatives() [1/3]

template<class Device >
void count_negatives ( const View< double ****, CLayout, Device > &  pdf,
int  mb_n_nodes,
const View< Convergence::Status *, HostType > &  convergence_status 
)
Here is the caller graph for this function:

◆ count_negatives() [2/3]

template<>
void count_negatives ( const View< double ****, CLayout, DeviceType > &  pdf,
int  mb_n_nodes,
const View< Convergence::Status *, HostType > &  convergence_status 
)
Here is the call graph for this function:

◆ count_negatives() [3/3]

template<>
void count_negatives ( const View< double ****, CLayout, HostType > &  pdf,
int  mb_n_nodes,
const View< Convergence::Status *, HostType > &  convergence_status 
)
Here is the call graph for this function:

◆ evaluate_conservation()

template<class Device >
Convergence::Status evaluate_conservation ( int  mesh_ind,
const CollisionVelocityGrids< Device > &  col_vgrids,
const CollisionSpecies< Device > &  col_spall,
const View< MomentSet **, CLayout, HostType > &  dmoments 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ negative_f_correction()

void negative_f_correction ( double *  pdf_np1,
double *  mesh_z,
double *  mesh_r,
double *  vol_h,
double *  vp_vol_fac_h,
int  col_f_nvz,
int  col_f_nvr,
double  mass,
double  dens,
double  mom,
double  energy 
)
Here is the caller graph for this function:

◆ team_row_wise_sum()

template<typename F >
View<MomentSet*,CLayout,HostType> team_row_wise_sum ( int  batch_size,
int  n,
func 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ team_row_wise_sum_int()

template<typename F >
View<int*,CLayout,HostType> team_row_wise_sum_int ( int  batch_size,
int  n,
func 
)
Here is the call graph for this function:
Here is the caller graph for this function: