1#ifndef __MAPPING_KERNELS__
2#define __MAPPING_KERNELS__
52 for (
int i = idx;
i < n;
i +=
str) {
55 x[
i] =
pow(t, 3.0) * (t * (t * 6.0 - 15.0) + 10.0);
75 for (
int i = idx;
i < n;
i +=
str) {
97 for (
int i = idx;
i < n;
i +=
str) {
__global__ void const T *__restrict__ x
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
__global__ void permeability_kernel(T *__restrict__ x, const T k_0, const T k_1, const T q, const int n)
__global__ void smooth_step_kernel(T *__restrict__ x, const T edge0, const T edge1, const int n)
__global__ void step_kernel(T *__restrict__ x, const T edge, const T left, const T right, const int n)