23#include "core/DataTypes.h"
24#include "core/Macros.h"
34#pragma GCC diagnostic push
35#pragma GCC diagnostic ignored "-Wstrict-aliasing"
36#pragma GCC diagnostic ignored "-Wunused-variable"
37#pragma GCC diagnostic ignored "-Wconversion"
42#ifdef __NVCC_DIAG_PRAGMA_SUPPORT__
43#pragma nv_diag_suppress 177
45#pragma diag_suppress 177
49namespace internal_1955c52e82759b23ee69574de97d7a03 {
50static FUNC_PREFIX void reactionkernelindexed_2_double_precision_boundary_ReactionKernelIndexed_2_double_precision(
uint8_t *
RESTRICT const _data_indexVector,
double *
RESTRICT _data_rho_0,
double *
RESTRICT _data_rho_1,
int64_t const _stride_rho_0_0,
int64_t const _stride_rho_0_1,
int64_t const _stride_rho_0_2,
int64_t const _stride_rho_1_0,
int64_t const _stride_rho_1_1,
int64_t const _stride_rho_1_2,
int32_t indexVectorSize,
double order_0,
double order_1,
double rate_coefficient,
double stoech_0,
double stoech_1) {
56 const double local_rho_0 = _data_rho_0[_stride_rho_0_0 * x + _stride_rho_0_1 * y + _stride_rho_0_2 * z];
57 const double local_rho_1 = _data_rho_1[_stride_rho_1_0 * x + _stride_rho_1_1 * y + _stride_rho_1_2 * z];
59 _data_rho_0[_stride_rho_0_0 * x + _stride_rho_0_1 * y + _stride_rho_0_2 * z] =
local_rho_0 +
rate_factor * stoech_0;
60 _data_rho_1[_stride_rho_1_0 * x + _stride_rho_1_1 * y + _stride_rho_1_2 * z] =
local_rho_1 +
rate_factor * stoech_1;
67#pragma GCC diagnostic pop
74void ReactionKernelIndexed_2_double_precision::run_impl(IBlock *
block, IndexVectors::Type type) {
77 if (indexVectorSize == 0)
102 internal_1955c52e82759b23ee69574de97d7a03::reactionkernelindexed_2_double_precision_boundary_ReactionKernelIndexed_2_double_precision(_data_indexVector, _data_rho_0, _data_rho_1, _stride_rho_0_0, _stride_rho_0_1, _stride_rho_0_2, _stride_rho_1_0, _stride_rho_1_1, _stride_rho_1_2, indexVectorSize, order_0, order_1, rate_coefficient, stoech_0, stoech_1);
#define FUNC_PREFIX
\file AdvectiveFluxKernel_double_precision.cpp \author pystencils
#define RESTRICT
\file AdvectiveFluxKernel_double_precision.h \author pystencils
void inner(IBlock *block)
void outer(IBlock *block)
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
static double * block(double *p, std::size_t index, std::size_t size)
static FUNC_PREFIX void reactionkernelindexed_2_double_precision_boundary_ReactionKernelIndexed_2_double_precision(uint8_t *RESTRICT const _data_indexVector, double *RESTRICT _data_rho_0, double *RESTRICT _data_rho_1, int64_t const _stride_rho_0_0, int64_t const _stride_rho_0_1, int64_t const _stride_rho_0_2, int64_t const _stride_rho_1_0, int64_t const _stride_rho_1_1, int64_t const _stride_rho_1_2, int32_t indexVectorSize, double order_0, double order_1, double rate_coefficient, double stoech_0, double stoech_1)
\file PackInfoPdfDoublePrecision.cpp \author pystencils