16 template <
class T> __host__ __device__ T
smartfriction(T hi,T zo);
17 template <
class T> __host__ __device__ T
manningfriction(T g, T hi, T n);
19 template <
class T> __host__ __device__
bool ThresholdVelocity(T Threshold, T& u, T& v);
__host__ void TheresholdVelCPU(Param XParam, BlockP< T > XBlock, EvolvingP< T > XEvolv)
Function Used to prevent crazy velocity on the CPU.
Definition: Friction.cu:339
__global__ void XiafrictionGPU(Param XParam, BlockP< T > XBlock, T dt, T *cf, EvolvingP< T > XEvolv, EvolvingP< T > XEvolv_o)
Definition: Friction.cu:198
__global__ void bottomfrictionGPU(Param XParam, BlockP< T > XBlock, T dt, T *cf, EvolvingP< T > XEvolv)
Definition: Friction.cu:5
__host__ void XiafrictionCPU(Param XParam, BlockP< T > XBlock, T dt, T *cf, EvolvingP< T > XEvolv, EvolvingP< T > XEvolv_o)
Definition: Friction.cu:134
__host__ __device__ T smartfriction(T hi, T zo)
Definition: Friction.cu:262
__host__ __device__ T manningfriction(T g, T hi, T n)
Definition: Friction.cu:281
__global__ void TheresholdVelGPU(Param XParam, BlockP< T > XBlock, EvolvingP< T > XEvolv)
Function Used to prevent crazy velocity on the GPU.
Definition: Friction.cu:296
__host__ __device__ bool ThresholdVelocity(T Threshold, T &u, T &v)
Function Used to prevent crazy velocity.
Definition: Friction.cu:389
__host__ void bottomfrictionCPU(Param XParam, BlockP< T > XBlock, T dt, T *cf, EvolvingP< T > XEvolv)
Definition: Friction.cu:65