9 template <
class T> __host__ __device__ T
sq(T a);
10 template <
class T> __host__ __device__
const T&
max(
const T& a,
const T& b);
11 template <
class T> __host__ __device__
const T&
min(
const T& a,
const T& b);
12 template <
class T> __host__ __device__
const T&
nearest(
const T& a,
const T& b,
const T& c);
13 template <
class T> __host__ __device__
const T&
nearest(
const T& a,
const T& b);
22 double interptime(
double next,
double prev,
double timenext,
double time);
24 template <
class T> __host__ __device__ T
BilinearInterpolation(T q11, T q12, T q21, T q22, T x1, T x2, T y1, T y2, T
x, T
y);
25 template <
class T> __host__ __device__ T
BarycentricInterpolation(T q1, T x1, T y1, T q2, T x2, T y2, T q3, T x3, T y3, T
x, T
y);
27 template <
class T> __host__ __device__ T
calcres(T dx,
int level);
28 template <
class T> __host__ __device__ T
minmod2(T theta, T s0, T s1, T s2);
30 template <
class T> __host__ __device__
bool OBBdetect(T Axmin, T Axmax, T Aymin, T Aymax, T Bxmin, T Bxmax, T Bymin, T Bymax);
33 template <
class T>
int ftoi(T value);
double * y
Definition: BasCart_gpu.cu:51
double * x
Definition: BasCart_gpu.cu:51
int * level
Definition: BasCart_gpu.cu:166
double interptime(double next, double prev, double timenext, double time)
Definition: read_input.cpp:1992
__host__ __device__ T calcres(T dx, int level)
Definition: Adapt_gpu.cu:20
int ftoi(T value)
Definition: Util_CPU.cu:214
__host__ __device__ bool OBBdetect(T Axmin, T Axmax, T Aymin, T Aymax, T Bxmin, T Bxmax, T Bymin, T Bymax)
Definition: Util_CPU.cu:198
__host__ __device__ T minmod2(T theta, T s0, T s1, T s2)
Definition: Bas_Cart_CPU.cpp:135
unsigned int nextPow2(unsigned int x)
Definition: Init.cpp:25
__host__ __device__ T BilinearInterpolation(T q11, T q12, T q21, T q22, T x1, T x2, T y1, T y2, T x, T y)
Definition: Util_CPU.cu:106
__host__ __device__ T BarycentricInterpolation(T q1, T x1, T y1, T q2, T x2, T y2, T q3, T x3, T y3, T x, T y)
Definition: Util_CPU.cu:127
Definition: Util_CPU.cu:27
__host__ __device__ const T & nearest(const T &a, const T &b, const T &c)
Definition: Util_CPU.cu:52
__host__ __device__ const T & min(const T &a, const T &b)
Definition: Util_CPU.cu:45
__host__ __device__ T sq(T a)
Definition: Util_CPU.cu:31
__host__ __device__ const T & max(const T &a, const T &b)
Definition: Util_CPU.cu:38