BG_Flood  0.8
Documentation (Work-in-progress)
Advection.cu File Reference
#include "Advection.h"
Include dependency graph for Advection.cu:

Classes

struct  SharedMemory< T >
 
struct  SharedMemory< double >
 

Functions

template<class T >
__global__ void updateEVGPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, FluxP< T > XFlux, AdvanceP< T > XAdv)
 
template __global__ void updateEVGPU< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > XEv, FluxP< float > XFlux, AdvanceP< float > XAdv)
 
template __global__ void updateEVGPU< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > XEv, FluxP< double > XFlux, AdvanceP< double > XAdv)
 
template<class T >
__host__ void updateEVCPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, FluxP< T > XFlux, AdvanceP< T > XAdv)
 
template __host__ void updateEVCPU< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > XEv, FluxP< float > XFlux, AdvanceP< float > XAdv)
 
template __host__ void updateEVCPU< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > XEv, FluxP< double > XFlux, AdvanceP< double > XAdv)
 
template<class T >
__global__ void AdvkernelGPU (Param XParam, BlockP< T > XBlock, T dt, T *zb, EvolvingP< T > XEv, AdvanceP< T > XAdv, EvolvingP< T > XEv_o)
 
template __global__ void AdvkernelGPU< float > (Param XParam, BlockP< float > XBlock, float dt, float *zb, EvolvingP< float > XEv, AdvanceP< float > XAdv, EvolvingP< float > XEv_o)
 
template __global__ void AdvkernelGPU< double > (Param XParam, BlockP< double > XBlock, double dt, double *zb, EvolvingP< double > XEv, AdvanceP< double > XAdv, EvolvingP< double > XEv_o)
 
template<class T >
__host__ void AdvkernelCPU (Param XParam, BlockP< T > XBlock, T dt, T *zb, EvolvingP< T > XEv, AdvanceP< T > XAdv, EvolvingP< T > XEv_o)
 
template __host__ void AdvkernelCPU< float > (Param XParam, BlockP< float > XBlock, float dt, float *zb, EvolvingP< float > XEv, AdvanceP< float > XAdv, EvolvingP< float > XEv_o)
 
template __host__ void AdvkernelCPU< double > (Param XParam, BlockP< double > XBlock, double dt, double *zb, EvolvingP< double > XEv, AdvanceP< double > XAdv, EvolvingP< double > XEv_o)
 
template<class T >
__global__ void cleanupGPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, EvolvingP< T > XEv_o)
 
template __global__ void cleanupGPU< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > XEv, EvolvingP< float > XEv_o)
 
template __global__ void cleanupGPU< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > XEv, EvolvingP< double > XEv_o)
 
template<class T >
__host__ void cleanupCPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, EvolvingP< T > XEv_o)
 
template __host__ void cleanupCPU< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > XEv, EvolvingP< float > XEv_o)
 
template __host__ void cleanupCPU< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > XEv, EvolvingP< double > XEv_o)
 
template<class T >
__host__ T timestepreductionCPU (Param XParam, Loop< T > XLoop, BlockP< T > XBlock, TimeP< T > XTime)
 
template __host__ float timestepreductionCPU (Param XParam, Loop< float > XLoop, BlockP< float > XBlock, TimeP< float > XTime)
 
template __host__ double timestepreductionCPU (Param XParam, Loop< double > XLoop, BlockP< double > XBlock, TimeP< double > XTime)
 
template<class T >
__host__ T CalctimestepCPU (Param XParam, Loop< T > XLoop, BlockP< T > XBlock, TimeP< T > XTime)
 
template __host__ float CalctimestepCPU< float > (Param XParam, Loop< float > XLoop, BlockP< float > XBlock, TimeP< float > XTime)
 
template __host__ double CalctimestepCPU< double > (Param XParam, Loop< double > XLoop, BlockP< double > XBlock, TimeP< double > XTime)
 
template<class T >
__host__ T CalctimestepGPU (Param XParam, Loop< T > XLoop, BlockP< T > XBlock, TimeP< T > XTime)
 
template __host__ float CalctimestepGPU< float > (Param XParam, Loop< float > XLoop, BlockP< float > XBlock, TimeP< float > XTime)
 
template __host__ double CalctimestepGPU< double > (Param XParam, Loop< double > XLoop, BlockP< double > XBlock, TimeP< double > XTime)
 
template<class T >
__global__ void reducemin3 (T *g_idata, T *g_odata, unsigned int n)
 
template<class T >
__global__ void densify (Param XParam, BlockP< T > XBlock, T *g_idata, T *g_odata)
 

Function Documentation

◆ AdvkernelCPU()

template<class T >
__host__ void AdvkernelCPU ( Param  XParam,
BlockP< T >  XBlock,
dt,
T *  zb,
EvolvingP< T >  XEv,
AdvanceP< T >  XAdv,
EvolvingP< T >  XEv_o 
)

◆ AdvkernelCPU< double >()

template __host__ void AdvkernelCPU< double > ( Param  XParam,
BlockP< double >  XBlock,
double  dt,
double *  zb,
EvolvingP< double >  XEv,
AdvanceP< double >  XAdv,
EvolvingP< double >  XEv_o 
)

◆ AdvkernelCPU< float >()

template __host__ void AdvkernelCPU< float > ( Param  XParam,
BlockP< float >  XBlock,
float  dt,
float *  zb,
EvolvingP< float >  XEv,
AdvanceP< float >  XAdv,
EvolvingP< float >  XEv_o 
)

◆ AdvkernelGPU()

template<class T >
__global__ void AdvkernelGPU ( Param  XParam,
BlockP< T >  XBlock,
dt,
T *  zb,
EvolvingP< T >  XEv,
AdvanceP< T >  XAdv,
EvolvingP< T >  XEv_o 
)

◆ AdvkernelGPU< double >()

template __global__ void AdvkernelGPU< double > ( Param  XParam,
BlockP< double >  XBlock,
double  dt,
double *  zb,
EvolvingP< double >  XEv,
AdvanceP< double >  XAdv,
EvolvingP< double >  XEv_o 
)

◆ AdvkernelGPU< float >()

template __global__ void AdvkernelGPU< float > ( Param  XParam,
BlockP< float >  XBlock,
float  dt,
float *  zb,
EvolvingP< float >  XEv,
AdvanceP< float >  XAdv,
EvolvingP< float >  XEv_o 
)

◆ CalctimestepCPU()

template<class T >
__host__ T CalctimestepCPU ( Param  XParam,
Loop< T >  XLoop,
BlockP< T >  XBlock,
TimeP< T >  XTime 
)

◆ CalctimestepCPU< double >()

template __host__ double CalctimestepCPU< double > ( Param  XParam,
Loop< double >  XLoop,
BlockP< double >  XBlock,
TimeP< double >  XTime 
)

◆ CalctimestepCPU< float >()

template __host__ float CalctimestepCPU< float > ( Param  XParam,
Loop< float >  XLoop,
BlockP< float >  XBlock,
TimeP< float >  XTime 
)

◆ CalctimestepGPU()

template<class T >
__host__ T CalctimestepGPU ( Param  XParam,
Loop< T >  XLoop,
BlockP< T >  XBlock,
TimeP< T >  XTime 
)

◆ CalctimestepGPU< double >()

template __host__ double CalctimestepGPU< double > ( Param  XParam,
Loop< double >  XLoop,
BlockP< double >  XBlock,
TimeP< double >  XTime 
)

◆ CalctimestepGPU< float >()

template __host__ float CalctimestepGPU< float > ( Param  XParam,
Loop< float >  XLoop,
BlockP< float >  XBlock,
TimeP< float >  XTime 
)

◆ cleanupCPU()

template<class T >
__host__ void cleanupCPU ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
EvolvingP< T >  XEv_o 
)

◆ cleanupCPU< double >()

template __host__ void cleanupCPU< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  XEv,
EvolvingP< double >  XEv_o 
)

◆ cleanupCPU< float >()

template __host__ void cleanupCPU< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  XEv,
EvolvingP< float >  XEv_o 
)

◆ cleanupGPU()

template<class T >
__global__ void cleanupGPU ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
EvolvingP< T >  XEv_o 
)

◆ cleanupGPU< double >()

template __global__ void cleanupGPU< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  XEv,
EvolvingP< double >  XEv_o 
)

◆ cleanupGPU< float >()

template __global__ void cleanupGPU< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  XEv,
EvolvingP< float >  XEv_o 
)

◆ densify()

template<class T >
__global__ void densify ( Param  XParam,
BlockP< T >  XBlock,
T *  g_idata,
T *  g_odata 
)

◆ reducemin3()

template<class T >
__global__ void reducemin3 ( T *  g_idata,
T *  g_odata,
unsigned int  n 
)

◆ timestepreductionCPU() [1/3]

template __host__ double timestepreductionCPU ( Param  XParam,
Loop< double >  XLoop,
BlockP< double >  XBlock,
TimeP< double >  XTime 
)

◆ timestepreductionCPU() [2/3]

template __host__ float timestepreductionCPU ( Param  XParam,
Loop< float >  XLoop,
BlockP< float >  XBlock,
TimeP< float >  XTime 
)

◆ timestepreductionCPU() [3/3]

template<class T >
__host__ T timestepreductionCPU ( Param  XParam,
Loop< T >  XLoop,
BlockP< T >  XBlock,
TimeP< T >  XTime 
)

◆ updateEVCPU()

template<class T >
__host__ void updateEVCPU ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
FluxP< T >  XFlux,
AdvanceP< T >  XAdv 
)

◆ updateEVCPU< double >()

template __host__ void updateEVCPU< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  XEv,
FluxP< double >  XFlux,
AdvanceP< double >  XAdv 
)

◆ updateEVCPU< float >()

template __host__ void updateEVCPU< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  XEv,
FluxP< float >  XFlux,
AdvanceP< float >  XAdv 
)

◆ updateEVGPU()

template<class T >
__global__ void updateEVGPU ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
FluxP< T >  XFlux,
AdvanceP< T >  XAdv 
)

◆ updateEVGPU< double >()

template __global__ void updateEVGPU< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  XEv,
FluxP< double >  XFlux,
AdvanceP< double >  XAdv 
)

◆ updateEVGPU< float >()

template __global__ void updateEVGPU< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  XEv,
FluxP< float >  XFlux,
AdvanceP< float >  XAdv 
)