BG_Flood  0.8
Documentation (Work-in-progress)
Reimann.h
Go to the documentation of this file.
1 #ifndef REIMANN_H
2 #define REIMANN_H
3 
4 #include "General.h"
5 #include "Param.h"
6 #include "Arrays.h"
7 #include "Forcing.h"
8 #include "MemManagement.h"
9 #include "Util_CPU.h"
10 
11 template <class T> __global__ void UpdateButtingerXGPU(Param XParam, BlockP<T> XBlock, EvolvingP<T> XEv, GradientsP<T> XGrad, FluxP<T> XFlux, T* dtmax, T* zb);
12 template <class T> __host__ void UpdateButtingerXCPU(Param XParam, BlockP<T> XBlock, EvolvingP<T> XEv, GradientsP<T> XGrad, FluxP<T> XFlux, T* dtmax, T* zb);
13 template <class T> __global__ void UpdateButtingerYGPU(Param XParam, BlockP<T> XBlock, EvolvingP<T> XEv, GradientsP<T> XGrad, FluxP<T> XFlux, T* dtmax, T* zb);
14 template <class T> __host__ void UpdateButtingerYCPU(Param XParam, BlockP<T> XBlock, EvolvingP<T> XEv, GradientsP<T> XGrad, FluxP<T> XFlux, T* dtmax, T* zb);
15 template <class T> __host__ __device__ T hllc(T g, T delta, T epsi, T CFL, T cm, T fm, T hm, T hp, T um, T up, T& fh, T& fq);
16 #endif
__host__ void UpdateButtingerXCPU(Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, FluxP< T > XFlux, T *dtmax, T *zb)
"Adaptive" second-order hydrostatic reconstruction. CPU version for the X-axis
Definition: Reimann.cu:205
__host__ __device__ T hllc(T g, T delta, T epsi, T CFL, T cm, T fm, T hm, T hp, T um, T up, T &fh, T &fq)
Calculate the Harten-Lax-van Leer-contact (HLLC) flux.
Definition: Reimann.cu:785
__global__ void UpdateButtingerXGPU(Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, FluxP< T > XFlux, T *dtmax, T *zb)
"Adaptive" second-order hydrostatic reconstruction. GPU version for t X-axis
Definition: Reimann.cu:22
__global__ void UpdateButtingerYGPU(Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, FluxP< T > XFlux, T *dtmax, T *zb)
"Adaptive" second-order hydrostatic reconstruction. GPU version for the Y-axis
Definition: Reimann.cu:401
__host__ void UpdateButtingerYCPU(Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, FluxP< T > XFlux, T *dtmax, T *zb)
"Adaptive" second-order hydrostatic reconstruction. CPU version for the Y-axis
Definition: Reimann.cu:583
Definition: Param.h:10
Definition: Arrays.h:86
Definition: Arrays.h:29
Definition: Arrays.h:46
Definition: Arrays.h:11