BG_Flood
0.8
Documentation (Work-in-progress)
|
#include "General.h"
#include "Param.h"
#include "Arrays.h"
#include "Forcing.h"
#include "Util_CPU.h"
#include "Setup_GPU.h"
#include "MemManagement.h"
#include "Halo.h"
Go to the source code of this file.
Functions | |
template<class T > | |
void | gradientCPU (Param XParam, BlockP< T >XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, T *zb) |
template<class T > | |
void | gradientC (Param XParam, BlockP< T > XBlock, T *a, T *dadx, T *dady) |
template<class T > | |
void | gradientHalo (Param XParam, BlockP< T >XBlock, T *a, T *dadx, T *dady) |
template<class T > | |
void | gradientGPU (Param XParam, BlockP< T >XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, T *zb) |
template<class T > | |
void | gradientGPUnew (Param XParam, BlockP< T >XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, T *zb) |
template<class T > | |
__global__ void | gradient (int halowidth, int *active, int *level, T theta, T dx, T *a, T *dadx, T *dady) |
template<class T > | |
__global__ void | gradientSM (int halowidth, int *active, int *level, T theta, T dx, T *a, T *dadx, T *dady) |
template<class T > | |
__global__ void | gradientSMB (int halowidth, int *active, int *level, T theta, T dx, T *a, T *dadx, T *dady) |
template<class T > | |
__global__ void | gradientSMC (int halowidth, int *active, int *level, T theta, T dx, T *a, T *dadx, T *dady) |
template<class T > | |
__global__ void | gradientedgeX (int halowidth, int *active, int *level, T theta, T dx, T *a, T *dadx) |
template<class T > | |
__global__ void | gradientedgeY (int halowidth, int *active, int *level, T theta, T dx, T *a, T *dady) |
template<class T > | |
void | gradientHaloGPU (Param XParam, BlockP< T >XBlock, T *a, T *dadx, T *dady) |
template<class T > | |
__global__ void | WetsloperesetXGPU (Param XParam, BlockP< T >XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, T *zb) |
template<class T > | |
__global__ void | WetsloperesetYGPU (Param XParam, BlockP< T >XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, T *zb) |
template<class T > | |
__global__ void | WetsloperesetHaloLeftGPU (Param XParam, BlockP< T >XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, T *zb) |
template<class T > | |
__global__ void | WetsloperesetHaloRightGPU (Param XParam, BlockP< T >XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, T *zb) |
template<class T > | |
__global__ void | WetsloperesetHaloBotGPU (Param XParam, BlockP< T >XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, T *zb) |
template<class T > | |
__global__ void | WetsloperesetHaloTopGPU (Param XParam, BlockP< T >XBlock, EvolvingP< T > XEv, GradientsP< T > XGrad, T *zb) |
template<class T > | |
__global__ void | gradientHaloLeftGPU (Param XParam, BlockP< T >XBlock, T *a, T *dadx, T *dady) |
template<class T > | |
__global__ void | gradientHaloRightGPU (Param XParam, BlockP< T >XBlock, T *a, T *dadx, T *dady) |
template<class T > | |
__global__ void | gradientHaloTopGPU (Param XParam, BlockP< T >XBlock, T *a, T *dadx, T *dady) |
template<class T > | |
__global__ void | gradientHaloBotGPU (Param XParam, BlockP< T >XBlock, T *a, T *dadx, T *dady) |
__global__ void gradient | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
T | theta, | ||
T | dx, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
Device kernel for calculating grdients for an evolving poarameter using the minmod limiter
void gradientCPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | XEv, | ||
GradientsP< T > | XGrad, | ||
T * | zb | ||
) |
__global__ void gradientedgeX | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
T | theta, | ||
T | dx, | ||
T * | a, | ||
T * | dadx | ||
) |
__global__ void gradientedgeY | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
T | theta, | ||
T | dx, | ||
T * | a, | ||
T * | dady | ||
) |
void gradientGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | XEv, | ||
GradientsP< T > | XGrad, | ||
T * | zb | ||
) |
Wrapping function to calculate gradien of evolving variables on GPU This function is the entry point to the gradient functions on the GPU
void gradientGPUnew | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | XEv, | ||
GradientsP< T > | XGrad, | ||
T * | zb | ||
) |
void gradientHalo | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
__global__ void gradientHaloBotGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
void gradientHaloGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
__global__ void gradientHaloLeftGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
__global__ void gradientHaloRightGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
__global__ void gradientHaloTopGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
__global__ void gradientSM | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
T | theta, | ||
T | dx, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
Depreciated shared memory version of Device kernel for calculating gradients Much slower than above
__global__ void gradientSMB | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
T | theta, | ||
T | dx, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
__global__ void gradientSMC | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
T | theta, | ||
T | dx, | ||
T * | a, | ||
T * | dadx, | ||
T * | dady | ||
) |
__global__ void WetsloperesetHaloBotGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | XEv, | ||
GradientsP< T > | XGrad, | ||
T * | zb | ||
) |
__global__ void WetsloperesetHaloLeftGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | XEv, | ||
GradientsP< T > | XGrad, | ||
T * | zb | ||
) |
__global__ void WetsloperesetHaloRightGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | XEv, | ||
GradientsP< T > | XGrad, | ||
T * | zb | ||
) |
__global__ void WetsloperesetHaloTopGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | XEv, | ||
GradientsP< T > | XGrad, | ||
T * | zb | ||
) |
__global__ void WetsloperesetXGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | XEv, | ||
GradientsP< T > | XGrad, | ||
T * | zb | ||
) |
__global__ void WetsloperesetYGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | XEv, | ||
GradientsP< T > | XGrad, | ||
T * | zb | ||
) |