BG_Flood
0.8
Documentation (Work-in-progress)
|
#include "Halo.h"
Functions | |
template<class T > | |
void | fillHaloD (Param XParam, int ib, BlockP< T > XBlock, T *z) |
Wrapping function for calculating halos on CPU on every side of a block of a single variable. More... | |
template void | fillHaloD< double > (Param XParam, int ib, BlockP< double > XBlock, double *z) |
template void | fillHaloD< float > (Param XParam, int ib, BlockP< float > XBlock, float *z) |
template<class T > | |
void | fillHaloC (Param XParam, BlockP< T > XBlock, T *z) |
Wrapping function for calculating halos for each block of a single variable on CPU. More... | |
template void | fillHaloC< float > (Param XParam, BlockP< float > XBlock, float *z) |
template void | fillHaloC< double > (Param XParam, BlockP< double > XBlock, double *z) |
template<class T > | |
void | RecalculateZs (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb) |
Recalculate water surface after recalculating the values on the halo on the CPU. More... | |
template void | RecalculateZs< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb) |
template void | RecalculateZs< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb) |
template<class T > | |
void | Recalculatehh (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb) |
template void | Recalculatehh< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb) |
template void | Recalculatehh< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb) |
template<class T > | |
__global__ void | RecalculateZsGPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb) |
template __global__ void | RecalculateZsGPU< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb) |
template __global__ void | RecalculateZsGPU< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb) |
template<class T > | |
void | fillHaloF (Param XParam, bool doProlongation, BlockP< T > XBlock, T *z) |
Wrapping function for calculating flux in the halos for a block and a single variable on CPU. More... | |
template void | fillHaloF< float > (Param XParam, bool doProlongation, BlockP< float > XBlock, float *z) |
template void | fillHaloF< double > (Param XParam, bool doProlongation, BlockP< double > XBlock, double *z) |
template<class T > | |
void | fillHaloGPU (Param XParam, BlockP< T > XBlock, cudaStream_t stream, T *z) |
Wrapping function for calculating halos for each block of a single variable on GPU. More... | |
template void | fillHaloGPU< double > (Param XParam, BlockP< double > XBlock, cudaStream_t stream, double *z) |
template void | fillHaloGPU< float > (Param XParam, BlockP< float > XBlock, cudaStream_t stream, float *z) |
template<class T > | |
void | fillHaloGPUnew (Param XParam, BlockP< T > XBlock, cudaStream_t stream, T *z) |
template void | fillHaloGPUnew< double > (Param XParam, BlockP< double > XBlock, cudaStream_t stream, double *z) |
template void | fillHaloGPUnew< float > (Param XParam, BlockP< float > XBlock, cudaStream_t stream, float *z) |
template<class T > | |
void | fillHaloTopRightC (Param XParam, BlockP< T > XBlock, T *z) |
Wrapping function for calculating flux for halos for each block of a single variable on GPU. More... | |
template void | fillHaloTopRightC< double > (Param XParam, BlockP< double > XBlock, double *z) |
template void | fillHaloTopRightC< float > (Param XParam, BlockP< float > XBlock, float *z) |
template<class T > | |
void | fillHaloLRFluxC (Param XParam, BlockP< T > XBlock, T *z) |
template void | fillHaloLRFluxC< double > (Param XParam, BlockP< double > XBlock, double *z) |
template void | fillHaloLRFluxC< float > (Param XParam, BlockP< float > XBlock, float *z) |
template<class T > | |
void | fillHaloBTFluxC (Param XParam, BlockP< T > XBlock, T *z) |
template void | fillHaloBTFluxC< double > (Param XParam, BlockP< double > XBlock, double *z) |
template void | fillHaloBTFluxC< float > (Param XParam, BlockP< float > XBlock, float *z) |
template<class T > | |
void | fillHaloTopRightGPU (Param XParam, BlockP< T > XBlock, cudaStream_t stream, T *z) |
template void | fillHaloTopRightGPU< double > (Param XParam, BlockP< double > XBlock, cudaStream_t stream, double *z) |
template void | fillHaloTopRightGPU< float > (Param XParam, BlockP< float > XBlock, cudaStream_t stream, float *z) |
template<class T > | |
void | fillHaloLeftRightGPU (Param XParam, BlockP< T > XBlock, cudaStream_t stream, T *z) |
template void | fillHaloLeftRightGPU< double > (Param XParam, BlockP< double > XBlock, cudaStream_t stream, double *z) |
template void | fillHaloLeftRightGPU< float > (Param XParam, BlockP< float > XBlock, cudaStream_t stream, float *z) |
template<class T > | |
void | fillHaloLeftRightGPUnew (Param XParam, BlockP< T > XBlock, cudaStream_t stream, T *z) |
template void | fillHaloLeftRightGPUnew< double > (Param XParam, BlockP< double > XBlock, cudaStream_t stream, double *z) |
template void | fillHaloLeftRightGPUnew< float > (Param XParam, BlockP< float > XBlock, cudaStream_t stream, float *z) |
template<class T > | |
void | fillHaloBotTopGPU (Param XParam, BlockP< T > XBlock, cudaStream_t stream, T *z) |
template void | fillHaloBotTopGPU< double > (Param XParam, BlockP< double > XBlock, cudaStream_t stream, double *z) |
template void | fillHaloBotTopGPU< float > (Param XParam, BlockP< float > XBlock, cudaStream_t stream, float *z) |
template<class T > | |
void | fillHaloBotTopGPUnew (Param XParam, BlockP< T > XBlock, cudaStream_t stream, T *z) |
template void | fillHaloBotTopGPUnew< double > (Param XParam, BlockP< double > XBlock, cudaStream_t stream, double *z) |
template void | fillHaloBotTopGPUnew< float > (Param XParam, BlockP< float > XBlock, cudaStream_t stream, float *z) |
template<class T > | |
void | fillHalo (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb) |
template void | fillHalo< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb) |
template void | fillHalo< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb) |
template<class T > | |
void | fillHalo (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev) |
template void | fillHalo< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev) |
template void | fillHalo< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev) |
template<class T > | |
void | fillHaloGPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev) |
template void | fillHaloGPU< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev) |
template void | fillHaloGPU< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev) |
template<class T > | |
void | fillHaloGPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb) |
template void | fillHaloGPU< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb) |
template void | fillHaloGPU< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb) |
template<class T > | |
void | fillHalo (Param XParam, BlockP< T > XBlock, GradientsP< T > Grad) |
template void | fillHalo< float > (Param XParam, BlockP< float > XBlock, GradientsP< float > Grad) |
template void | fillHalo< double > (Param XParam, BlockP< double > XBlock, GradientsP< double > Grad) |
template<class T > | |
void | fillHaloGPU (Param XParam, BlockP< T > XBlock, GradientsP< T > Grad) |
template void | fillHaloGPU< float > (Param XParam, BlockP< float > XBlock, GradientsP< float > Grad) |
template void | fillHaloGPU< double > (Param XParam, BlockP< double > XBlock, GradientsP< double > Grad) |
template<class T > | |
void | fillHalo (Param XParam, BlockP< T > XBlock, FluxP< T > Flux) |
template void | fillHalo< float > (Param XParam, BlockP< float > XBlock, FluxP< float > Flux) |
template void | fillHalo< double > (Param XParam, BlockP< double > XBlock, FluxP< double > Flux) |
template<class T > | |
void | fillHaloGPU (Param XParam, BlockP< T > XBlock, FluxP< T > Flux) |
template void | fillHaloGPU< float > (Param XParam, BlockP< float > XBlock, FluxP< float > Flux) |
template void | fillHaloGPU< double > (Param XParam, BlockP< double > XBlock, FluxP< double > Flux) |
template<class T > | |
void | refine_linear_Left (Param XParam, int ib, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template void | refine_linear_Left< float > (Param XParam, int ib, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template void | refine_linear_Left< double > (Param XParam, int ib, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
__global__ void | refine_linear_LeftGPU (Param XParam, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template __global__ void | refine_linear_LeftGPU< float > (Param XParam, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template __global__ void | refine_linear_LeftGPU< double > (Param XParam, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
void | refine_linear_Right (Param XParam, int ib, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template void | refine_linear_Right< float > (Param XParam, int ib, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template void | refine_linear_Right< double > (Param XParam, int ib, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
__global__ void | refine_linear_RightGPU (Param XParam, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template __global__ void | refine_linear_RightGPU< float > (Param XParam, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template __global__ void | refine_linear_RightGPU< double > (Param XParam, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
void | refine_linear_Bot (Param XParam, int ib, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template void | refine_linear_Bot< float > (Param XParam, int ib, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template void | refine_linear_Bot< double > (Param XParam, int ib, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
__global__ void | refine_linear_BotGPU (Param XParam, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template __global__ void | refine_linear_BotGPU< float > (Param XParam, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template __global__ void | refine_linear_BotGPU< double > (Param XParam, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
void | refine_linear_Top (Param XParam, int ib, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template void | refine_linear_Top< float > (Param XParam, int ib, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template void | refine_linear_Top< double > (Param XParam, int ib, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
__global__ void | refine_linear_TopGPU (Param XParam, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template __global__ void | refine_linear_TopGPU< float > (Param XParam, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template __global__ void | refine_linear_TopGPU< double > (Param XParam, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
void | refine_linear (Param XParam, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template void | refine_linear< float > (Param XParam, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template void | refine_linear< double > (Param XParam, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
void | refine_linearGPU (Param XParam, BlockP< T > XBlock, T *z, T *dzdx, T *dzdy) |
template void | refine_linearGPU< float > (Param XParam, BlockP< float > XBlock, float *z, float *dzdx, float *dzdy) |
template void | refine_linearGPU< double > (Param XParam, BlockP< double > XBlock, double *z, double *dzdx, double *dzdy) |
template<class T > | |
void | HaloFluxCPULR (Param XParam, int ib, BlockP< T > XBlock, T *z) |
template<class T > | |
__global__ void | HaloFluxGPULR (Param XParam, BlockP< T > XBlock, T *z) |
template<class T > | |
__global__ void | HaloFluxGPULRnew (Param XParam, BlockP< T > XBlock, T *z) |
template<class T > | |
void | HaloFluxCPUBT (Param XParam, int ib, BlockP< T > XBlock, T *z) |
template<class T > | |
__global__ void | HaloFluxGPUBT (Param XParam, BlockP< T > XBlock, T *z) |
template<class T > | |
__global__ void | HaloFluxGPUBTnew (Param XParam, BlockP< T > XBlock, T *z) |
template<class T > | |
void | fillLeft (Param XParam, int ib, BlockP< T > XBlock, T *&z) |
template<class T > | |
__global__ void | fillLeft (int halowidth, int *active, int *level, int *leftbot, int *lefttop, int *rightbot, int *botright, int *topright, T *a) |
template __global__ void | fillLeft< float > (int halowidth, int *active, int *level, int *leftbot, int *lefttop, int *rightbot, int *botright, int *topright, float *a) |
template __global__ void | fillLeft< double > (int halowidth, int *active, int *level, int *leftbot, int *lefttop, int *rightbot, int *botright, int *topright, double *a) |
template<class T > | |
__global__ void | fillLeftnew (int halowidth, int nblk, int *active, int *level, int *leftbot, int *lefttop, int *rightbot, int *botright, int *topright, T *a) |
template __global__ void | fillLeftnew< float > (int halowidth, int nblk, int *active, int *level, int *leftbot, int *lefttop, int *rightbot, int *botright, int *topright, float *a) |
template __global__ void | fillLeftnew< double > (int halowidth, int nblk, int *active, int *level, int *leftbot, int *lefttop, int *rightbot, int *botright, int *topright, double *a) |
template<class T > | |
void | fillLeftFlux (Param XParam, bool doProlongation, int ib, BlockP< T > XBlock, T *&z) |
template<class T > | |
void | fillRight (Param XParam, int ib, BlockP< T > XBlock, T *&z) |
template<class T > | |
__global__ void | fillRight (int halowidth, int *active, int *level, int *rightbot, int *righttop, int *leftbot, int *botleft, int *topleft, T *a) |
template __global__ void | fillRight< float > (int halowidth, int *active, int *level, int *rightbot, int *righttop, int *leftbot, int *botleft, int *topleft, float *a) |
template __global__ void | fillRight< double > (int halowidth, int *active, int *level, int *rightbot, int *righttop, int *leftbot, int *botleft, int *topleft, double *a) |
template<class T > | |
__global__ void | fillRightnew (int halowidth, int nblk, int *active, int *level, int *rightbot, int *righttop, int *leftbot, int *botleft, int *topleft, T *a) |
template __global__ void | fillRightnew< float > (int halowidth, int nblk, int *active, int *level, int *rightbot, int *righttop, int *leftbot, int *botleft, int *topleft, float *a) |
template __global__ void | fillRightnew< double > (int halowidth, int nblk, int *active, int *level, int *rightbot, int *righttop, int *leftbot, int *botleft, int *topleft, double *a) |
template<class T > | |
void | fillRightFlux (Param XParam, bool doProlongation, int ib, BlockP< T > XBlock, T *&z) |
template void | fillRightFlux< float > (Param XParam, bool doProlongation, int ib, BlockP< float > XBlock, float *&z) |
template void | fillRightFlux< double > (Param XParam, bool doProlongation, int ib, BlockP< double > XBlock, double *&z) |
template<class T > | |
__global__ void | fillRightFlux (int halowidth, bool doProlongation, int *active, int *level, int *rightbot, int *righttop, int *leftbot, int *botleft, int *topleft, T *a) |
template __global__ void | fillRightFlux< float > (int halowidth, bool doProlongation, int *active, int *level, int *rightbot, int *righttop, int *leftbot, int *botleft, int *topleft, float *a) |
template __global__ void | fillRightFlux< double > (int halowidth, bool doProlongation, int *active, int *level, int *rightbot, int *righttop, int *leftbot, int *botleft, int *topleft, double *a) |
template<class T > | |
void | fillBot (Param XParam, int ib, BlockP< T > XBlock, T *&z) |
template<class T > | |
__global__ void | fillBot (int halowidth, int *active, int *level, int *botleft, int *botright, int *topleft, int *lefttop, int *righttop, T *a) |
template __global__ void | fillBot< float > (int halowidth, int *active, int *level, int *botleft, int *botright, int *topleft, int *lefttop, int *righttop, float *a) |
template __global__ void | fillBot< double > (int halowidth, int *active, int *level, int *botleft, int *botright, int *topleft, int *lefttop, int *righttop, double *a) |
template<class T > | |
__global__ void | fillBotnew (int halowidth, int nblk, int *active, int *level, int *botleft, int *botright, int *topleft, int *lefttop, int *righttop, T *a) |
template __global__ void | fillBotnew< float > (int halowidth, int nblk, int *active, int *level, int *botleft, int *botright, int *topleft, int *lefttop, int *righttop, float *a) |
template __global__ void | fillBotnew< double > (int halowidth, int nblk, int *active, int *level, int *botleft, int *botright, int *topleft, int *lefttop, int *righttop, double *a) |
template<class T > | |
void | fillBotFlux (Param XParam, bool doProlongation, int ib, BlockP< T > XBlock, T *&z) |
template<class T > | |
void | fillTop (Param XParam, int ib, BlockP< T > XBlock, T *&z) |
template<class T > | |
__global__ void | fillTop (int halowidth, int *active, int *level, int *topleft, int *topright, int *botleft, int *leftbot, int *rightbot, T *a) |
template __global__ void | fillTop< float > (int halowidth, int *active, int *level, int *topleft, int *topright, int *botleft, int *leftbot, int *rightbot, float *a) |
template __global__ void | fillTop< double > (int halowidth, int *active, int *level, int *topleft, int *topright, int *botleft, int *leftbot, int *rightbot, double *a) |
template<class T > | |
__global__ void | fillTopnew (int halowidth, int nblk, int *active, int *level, int *topleft, int *topright, int *botleft, int *leftbot, int *rightbot, T *a) |
template __global__ void | fillTopnew< float > (int halowidth, int nblk, int *active, int *level, int *topleft, int *topright, int *botleft, int *leftbot, int *rightbot, float *a) |
template __global__ void | fillTopnew< double > (int halowidth, int nblk, int *active, int *level, int *topleft, int *topright, int *botleft, int *leftbot, int *rightbot, double *a) |
template<class T > | |
void | fillTopFlux (Param XParam, bool doProlongation, int ib, BlockP< T > XBlock, T *&z) |
template void | fillTopFlux< float > (Param XParam, bool doProlongation, int ib, BlockP< float > XBlock, float *&z) |
template void | fillTopFlux< double > (Param XParam, bool doProlongation, int ib, BlockP< double > XBlock, double *&z) |
template<class T > | |
__global__ void | fillTopFlux (int halowidth, bool doProlongation, int *active, int *level, int *topleft, int *topright, int *botleft, int *leftbot, int *rightbot, T *a) |
template __global__ void | fillTopFlux< float > (int halowidth, bool doProlongation, int *active, int *level, int *topleft, int *topright, int *botleft, int *leftbot, int *rightbot, float *a) |
template __global__ void | fillTopFlux< double > (int halowidth, bool doProlongation, int *active, int *level, int *topleft, int *topright, int *botleft, int *leftbot, int *rightbot, double *a) |
template<class T > | |
void | fillCorners (Param XParam, BlockP< T > XBlock, T *&z) |
template void | fillCorners< float > (Param XParam, BlockP< float > XBlock, float *&z) |
template void | fillCorners< double > (Param XParam, BlockP< double > XBlock, double *&z) |
template<class T > | |
void | fillCorners (Param XParam, BlockP< T > XBlock, EvolvingP< T > &Xev) |
template void | fillCorners< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > &Xev) |
template void | fillCorners< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > &Xev) |
template<class T > | |
void | fillCorners (Param XParam, int ib, BlockP< T > XBlock, T *&z) |
template void | fillCorners< float > (Param XParam, int ib, BlockP< float > XBlock, float *&z) |
template void | fillCorners< double > (Param XParam, int ib, BlockP< double > XBlock, double *&z) |
__global__ void fillBot | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | botleft, | ||
int * | botright, | ||
int * | topleft, | ||
int * | lefttop, | ||
int * | righttop, | ||
T * | a | ||
) |
template __global__ void fillBot< double > | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | botleft, | ||
int * | botright, | ||
int * | topleft, | ||
int * | lefttop, | ||
int * | righttop, | ||
double * | a | ||
) |
template __global__ void fillBot< float > | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | botleft, | ||
int * | botright, | ||
int * | topleft, | ||
int * | lefttop, | ||
int * | righttop, | ||
float * | a | ||
) |
void fillBotFlux | ( | Param | XParam, |
bool | doProlongation, | ||
int | ib, | ||
BlockP< T > | XBlock, | ||
T *& | z | ||
) |
__global__ void fillBotnew | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | botleft, | ||
int * | botright, | ||
int * | topleft, | ||
int * | lefttop, | ||
int * | righttop, | ||
T * | a | ||
) |
template __global__ void fillBotnew< double > | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | botleft, | ||
int * | botright, | ||
int * | topleft, | ||
int * | lefttop, | ||
int * | righttop, | ||
double * | a | ||
) |
template __global__ void fillBotnew< float > | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | botleft, | ||
int * | botright, | ||
int * | topleft, | ||
int * | lefttop, | ||
int * | righttop, | ||
float * | a | ||
) |
template void fillCorners< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double *& | z | ||
) |
template void fillCorners< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > & | Xev | ||
) |
template void fillCorners< double > | ( | Param | XParam, |
int | ib, | ||
BlockP< double > | XBlock, | ||
double *& | z | ||
) |
template void fillCorners< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > & | Xev | ||
) |
template void fillCorners< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float *& | z | ||
) |
template void fillCorners< float > | ( | Param | XParam, |
int | ib, | ||
BlockP< float > | XBlock, | ||
float *& | z | ||
) |
void fillHalo | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
GradientsP< T > | Grad | ||
) |
template void fillHalo< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template void fillHalo< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
GradientsP< double > | Grad | ||
) |
template void fillHalo< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
template void fillHalo< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
GradientsP< float > | Grad | ||
) |
void fillHaloBotTopGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
cudaStream_t | stream, | ||
T * | z | ||
) |
template void fillHaloBotTopGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
cudaStream_t | stream, | ||
double * | z | ||
) |
template void fillHaloBotTopGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
cudaStream_t | stream, | ||
float * | z | ||
) |
void fillHaloBotTopGPUnew | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
cudaStream_t | stream, | ||
T * | z | ||
) |
template void fillHaloBotTopGPUnew< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
cudaStream_t | stream, | ||
double * | z | ||
) |
template void fillHaloBotTopGPUnew< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
cudaStream_t | stream, | ||
float * | z | ||
) |
template void fillHaloBTFluxC< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double * | z | ||
) |
template void fillHaloBTFluxC< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float * | z | ||
) |
Wrapping function for calculating flux in the halos for a block and a single variable on CPU.
This function is was never sucessful and will never be used. It is fundamentally flawed because is doesn't preserve the balance of fluxes on the restiction interface It should be deleted soon
template void fillHaloF< double > | ( | Param | XParam, |
bool | doProlongation, | ||
BlockP< double > | XBlock, | ||
double * | z | ||
) |
template void fillHaloF< float > | ( | Param | XParam, |
bool | doProlongation, | ||
BlockP< float > | XBlock, | ||
float * | z | ||
) |
void fillHaloGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
cudaStream_t | stream, | ||
T * | z | ||
) |
Wrapping function for calculating halos for each block of a single variable on GPU.
This function is a wraping fuction of the halo functions on GPU. It is called from the main Halo GPU function. The present imnplementation is naive and slow one that calls the rather complex fillLeft type functions
void fillHaloGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | Xev, | ||
T * | zb | ||
) |
void fillHaloGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
GradientsP< T > | Grad | ||
) |
template void fillHaloGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
cudaStream_t | stream, | ||
double * | z | ||
) |
template void fillHaloGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev | ||
) |
template void fillHaloGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template void fillHaloGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
FluxP< double > | Flux | ||
) |
template void fillHaloGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
GradientsP< double > | Grad | ||
) |
template void fillHaloGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
cudaStream_t | stream, | ||
float * | z | ||
) |
template void fillHaloGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev | ||
) |
template void fillHaloGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
template void fillHaloGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
FluxP< float > | Flux | ||
) |
template void fillHaloGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
GradientsP< float > | Grad | ||
) |
void fillHaloGPUnew | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
cudaStream_t | stream, | ||
T * | z | ||
) |
template void fillHaloGPUnew< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
cudaStream_t | stream, | ||
double * | z | ||
) |
template void fillHaloGPUnew< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
cudaStream_t | stream, | ||
float * | z | ||
) |
void fillHaloLeftRightGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
cudaStream_t | stream, | ||
T * | z | ||
) |
template void fillHaloLeftRightGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
cudaStream_t | stream, | ||
double * | z | ||
) |
template void fillHaloLeftRightGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
cudaStream_t | stream, | ||
float * | z | ||
) |
void fillHaloLeftRightGPUnew | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
cudaStream_t | stream, | ||
T * | z | ||
) |
template void fillHaloLeftRightGPUnew< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
cudaStream_t | stream, | ||
double * | z | ||
) |
template void fillHaloLeftRightGPUnew< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
cudaStream_t | stream, | ||
float * | z | ||
) |
template void fillHaloLRFluxC< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double * | z | ||
) |
template void fillHaloLRFluxC< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float * | z | ||
) |
Wrapping function for calculating flux for halos for each block of a single variable on GPU.
This function is a wraping function of the halo flux functions on GPU. It is called from the main Halo GPU function. The present imnplementation is naive and slow one that calls the rather complex fillLeft type functions
template void fillHaloTopRightC< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double * | z | ||
) |
template void fillHaloTopRightC< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float * | z | ||
) |
void fillHaloTopRightGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
cudaStream_t | stream, | ||
T * | z | ||
) |
template void fillHaloTopRightGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
cudaStream_t | stream, | ||
double * | z | ||
) |
template void fillHaloTopRightGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
cudaStream_t | stream, | ||
float * | z | ||
) |
__global__ void fillLeft | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | leftbot, | ||
int * | lefttop, | ||
int * | rightbot, | ||
int * | botright, | ||
int * | topright, | ||
T * | a | ||
) |
template __global__ void fillLeft< double > | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | leftbot, | ||
int * | lefttop, | ||
int * | rightbot, | ||
int * | botright, | ||
int * | topright, | ||
double * | a | ||
) |
template __global__ void fillLeft< float > | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | leftbot, | ||
int * | lefttop, | ||
int * | rightbot, | ||
int * | botright, | ||
int * | topright, | ||
float * | a | ||
) |
void fillLeftFlux | ( | Param | XParam, |
bool | doProlongation, | ||
int | ib, | ||
BlockP< T > | XBlock, | ||
T *& | z | ||
) |
__global__ void fillLeftnew | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | leftbot, | ||
int * | lefttop, | ||
int * | rightbot, | ||
int * | botright, | ||
int * | topright, | ||
T * | a | ||
) |
template __global__ void fillLeftnew< double > | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | leftbot, | ||
int * | lefttop, | ||
int * | rightbot, | ||
int * | botright, | ||
int * | topright, | ||
double * | a | ||
) |
template __global__ void fillLeftnew< float > | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | leftbot, | ||
int * | lefttop, | ||
int * | rightbot, | ||
int * | botright, | ||
int * | topright, | ||
float * | a | ||
) |
__global__ void fillRight | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | rightbot, | ||
int * | righttop, | ||
int * | leftbot, | ||
int * | botleft, | ||
int * | topleft, | ||
T * | a | ||
) |
template __global__ void fillRight< double > | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | rightbot, | ||
int * | righttop, | ||
int * | leftbot, | ||
int * | botleft, | ||
int * | topleft, | ||
double * | a | ||
) |
template __global__ void fillRight< float > | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | rightbot, | ||
int * | righttop, | ||
int * | leftbot, | ||
int * | botleft, | ||
int * | topleft, | ||
float * | a | ||
) |
__global__ void fillRightFlux | ( | int | halowidth, |
bool | doProlongation, | ||
int * | active, | ||
int * | level, | ||
int * | rightbot, | ||
int * | righttop, | ||
int * | leftbot, | ||
int * | botleft, | ||
int * | topleft, | ||
T * | a | ||
) |
void fillRightFlux | ( | Param | XParam, |
bool | doProlongation, | ||
int | ib, | ||
BlockP< T > | XBlock, | ||
T *& | z | ||
) |
template __global__ void fillRightFlux< double > | ( | int | halowidth, |
bool | doProlongation, | ||
int * | active, | ||
int * | level, | ||
int * | rightbot, | ||
int * | righttop, | ||
int * | leftbot, | ||
int * | botleft, | ||
int * | topleft, | ||
double * | a | ||
) |
template void fillRightFlux< double > | ( | Param | XParam, |
bool | doProlongation, | ||
int | ib, | ||
BlockP< double > | XBlock, | ||
double *& | z | ||
) |
template __global__ void fillRightFlux< float > | ( | int | halowidth, |
bool | doProlongation, | ||
int * | active, | ||
int * | level, | ||
int * | rightbot, | ||
int * | righttop, | ||
int * | leftbot, | ||
int * | botleft, | ||
int * | topleft, | ||
float * | a | ||
) |
template void fillRightFlux< float > | ( | Param | XParam, |
bool | doProlongation, | ||
int | ib, | ||
BlockP< float > | XBlock, | ||
float *& | z | ||
) |
__global__ void fillRightnew | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | rightbot, | ||
int * | righttop, | ||
int * | leftbot, | ||
int * | botleft, | ||
int * | topleft, | ||
T * | a | ||
) |
template __global__ void fillRightnew< double > | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | rightbot, | ||
int * | righttop, | ||
int * | leftbot, | ||
int * | botleft, | ||
int * | topleft, | ||
double * | a | ||
) |
template __global__ void fillRightnew< float > | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | rightbot, | ||
int * | righttop, | ||
int * | leftbot, | ||
int * | botleft, | ||
int * | topleft, | ||
float * | a | ||
) |
__global__ void fillTop | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | topleft, | ||
int * | topright, | ||
int * | botleft, | ||
int * | leftbot, | ||
int * | rightbot, | ||
T * | a | ||
) |
template __global__ void fillTop< double > | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | topleft, | ||
int * | topright, | ||
int * | botleft, | ||
int * | leftbot, | ||
int * | rightbot, | ||
double * | a | ||
) |
template __global__ void fillTop< float > | ( | int | halowidth, |
int * | active, | ||
int * | level, | ||
int * | topleft, | ||
int * | topright, | ||
int * | botleft, | ||
int * | leftbot, | ||
int * | rightbot, | ||
float * | a | ||
) |
__global__ void fillTopFlux | ( | int | halowidth, |
bool | doProlongation, | ||
int * | active, | ||
int * | level, | ||
int * | topleft, | ||
int * | topright, | ||
int * | botleft, | ||
int * | leftbot, | ||
int * | rightbot, | ||
T * | a | ||
) |
void fillTopFlux | ( | Param | XParam, |
bool | doProlongation, | ||
int | ib, | ||
BlockP< T > | XBlock, | ||
T *& | z | ||
) |
template __global__ void fillTopFlux< double > | ( | int | halowidth, |
bool | doProlongation, | ||
int * | active, | ||
int * | level, | ||
int * | topleft, | ||
int * | topright, | ||
int * | botleft, | ||
int * | leftbot, | ||
int * | rightbot, | ||
double * | a | ||
) |
template void fillTopFlux< double > | ( | Param | XParam, |
bool | doProlongation, | ||
int | ib, | ||
BlockP< double > | XBlock, | ||
double *& | z | ||
) |
template __global__ void fillTopFlux< float > | ( | int | halowidth, |
bool | doProlongation, | ||
int * | active, | ||
int * | level, | ||
int * | topleft, | ||
int * | topright, | ||
int * | botleft, | ||
int * | leftbot, | ||
int * | rightbot, | ||
float * | a | ||
) |
template void fillTopFlux< float > | ( | Param | XParam, |
bool | doProlongation, | ||
int | ib, | ||
BlockP< float > | XBlock, | ||
float *& | z | ||
) |
__global__ void fillTopnew | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | topleft, | ||
int * | topright, | ||
int * | botleft, | ||
int * | leftbot, | ||
int * | rightbot, | ||
T * | a | ||
) |
template __global__ void fillTopnew< double > | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | topleft, | ||
int * | topright, | ||
int * | botleft, | ||
int * | leftbot, | ||
int * | rightbot, | ||
double * | a | ||
) |
template __global__ void fillTopnew< float > | ( | int | halowidth, |
int | nblk, | ||
int * | active, | ||
int * | level, | ||
int * | topleft, | ||
int * | topright, | ||
int * | botleft, | ||
int * | leftbot, | ||
int * | rightbot, | ||
float * | a | ||
) |
void Recalculatehh | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | Xev, | ||
T * | zb | ||
) |
template void Recalculatehh< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template void Recalculatehh< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
void RecalculateZs | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | Xev, | ||
T * | zb | ||
) |
Recalculate water surface after recalculating the values on the halo on the CPU.
Recalculate water surface after recalculating the values on the halo on the GPU.
Recalculate water surface after recalculating the values on the halo on the CPU. zb (bottom elevation) on each halo is calculated at the start of the loop or as part of the initial condition. When conserve-elevation is not required, only h is recalculated on the halo at ever 1/2 steps.
zs then needs to be recalculated to obtain a mass-conservative solution (if zs is conserved then mass conservation is not garanteed)
This function calculate zs everywhere in the block... this is a bit unecessary. Instead it should recalculate only where there is a prolongation or a restiction
Recalculate water surface after recalculating the values on the halo on the CPU. zb (bottom elevation) on each halo is calculated at the start of the loop or as part of the initial condition. When conserve-elevation is not required, only h is recalculated on the halo at ever 1/2 steps. zs then needs to be recalculated to obtain a mass-conservative solution (if zs is conserved then mass conservation is not garanteed)
This function calculate zs everywhere in the block... this is a bit unecessary. Instead it should recalculate only where there is a prolongation or a restiction
template void RecalculateZs< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template void RecalculateZs< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
__global__ void RecalculateZsGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | Xev, | ||
T * | zb | ||
) |
template __global__ void RecalculateZsGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template __global__ void RecalculateZsGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
void refine_linear | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template void refine_linear< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template void refine_linear< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |
void refine_linear_Bot | ( | Param | XParam, |
int | ib, | ||
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template void refine_linear_Bot< double > | ( | Param | XParam, |
int | ib, | ||
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template void refine_linear_Bot< float > | ( | Param | XParam, |
int | ib, | ||
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |
__global__ void refine_linear_BotGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template __global__ void refine_linear_BotGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template __global__ void refine_linear_BotGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |
void refine_linear_Left | ( | Param | XParam, |
int | ib, | ||
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template void refine_linear_Left< double > | ( | Param | XParam, |
int | ib, | ||
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template void refine_linear_Left< float > | ( | Param | XParam, |
int | ib, | ||
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |
__global__ void refine_linear_LeftGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template __global__ void refine_linear_LeftGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template __global__ void refine_linear_LeftGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |
void refine_linear_Right | ( | Param | XParam, |
int | ib, | ||
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template void refine_linear_Right< double > | ( | Param | XParam, |
int | ib, | ||
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template void refine_linear_Right< float > | ( | Param | XParam, |
int | ib, | ||
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |
__global__ void refine_linear_RightGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template __global__ void refine_linear_RightGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template __global__ void refine_linear_RightGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |
void refine_linear_Top | ( | Param | XParam, |
int | ib, | ||
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template void refine_linear_Top< double > | ( | Param | XParam, |
int | ib, | ||
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template void refine_linear_Top< float > | ( | Param | XParam, |
int | ib, | ||
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |
__global__ void refine_linear_TopGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template __global__ void refine_linear_TopGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template __global__ void refine_linear_TopGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |
void refine_linearGPU | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
T * | z, | ||
T * | dzdx, | ||
T * | dzdy | ||
) |
template void refine_linearGPU< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
double * | z, | ||
double * | dzdx, | ||
double * | dzdy | ||
) |
template void refine_linearGPU< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
float * | z, | ||
float * | dzdx, | ||
float * | dzdy | ||
) |