BG_Flood  0.8
Documentation (Work-in-progress)
ConserveElevation.h File Reference
#include "General.h"
#include "Param.h"
#include "Write_txtlog.h"
#include "Util_CPU.h"
#include "Arrays.h"
#include "MemManagement.h"
Include dependency graph for ConserveElevation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T >
void conserveElevation (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
void conserveElevationGPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
void conserveElevationGradHalo (Param XParam, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx, T *dhdy, T *dzsdy)
 
template<class T >
void conserveElevationGradHaloGPU (Param XParam, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx, T *dhdy, T *dzsdy)
 
template<class T >
void conserveElevationLeft (Param XParam, int ib, int ibLB, int ibLT, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
__global__ void conserveElevationLeft (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
void conserveElevationRight (Param XParam, int ib, int ibRB, int ibRT, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
__global__ void conserveElevationRight (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
void conserveElevationTop (Param XParam, int ib, int ibTL, int ibTR, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
__global__ void conserveElevationTop (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
void conserveElevationBot (Param XParam, int ib, int ibBL, int ibBR, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
__global__ void conserveElevationBot (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
void conserveElevationGHLeft (Param XParam, int ib, int ibLB, int ibLT, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx)
 
template<class T >
__global__ void conserveElevationGHLeft (Param XParam, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx)
 
template<class T >
void conserveElevationGHRight (Param XParam, int ib, int ibRB, int ibRT, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx)
 
template<class T >
__global__ void conserveElevationGHRight (Param XParam, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx)
 
template<class T >
void conserveElevationGHTop (Param XParam, int ib, int ibTL, int ibTR, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx)
 
template<class T >
__global__ void conserveElevationGHTop (Param XParam, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx)
 
template<class T >
void conserveElevationGHBot (Param XParam, int ib, int ibBL, int ibBR, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx)
 
template<class T >
__global__ void conserveElevationGHBot (Param XParam, BlockP< T > XBlock, T *h, T *zs, T *zb, T *dhdx, T *dzsdx)
 
template<class T >
void WetDryProlongationGPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
void WetDryProlongation (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
void WetDryRestrictionGPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
void WetDryRestriction (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEv, T *zb)
 
template<class T >
__host__ __device__ void wetdryrestriction (int halowidth, int blkmemwidth, T eps, int ib, int ibn, int ihalo, int jhalo, int i, int j, T *h, T *zs, T *zb)
 
template<class T >
__host__ __device__ void ProlongationElevation (int halowidth, int blkmemwidth, T eps, int ib, int ibn, int ihalo, int jhalo, int ip, int jp, T *h, T *zs, T *zb)
 

Function Documentation

◆ conserveElevation()

template<class T >
void conserveElevation ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ conserveElevationBot() [1/2]

template<class T >
__global__ void conserveElevationBot ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ conserveElevationBot() [2/2]

template<class T >
void conserveElevationBot ( Param  XParam,
int  ib,
int  ibBL,
int  ibBR,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ conserveElevationGHBot() [1/2]

template<class T >
__global__ void conserveElevationGHBot ( Param  XParam,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx 
)

◆ conserveElevationGHBot() [2/2]

template<class T >
void conserveElevationGHBot ( Param  XParam,
int  ib,
int  ibBL,
int  ibBR,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx 
)

◆ conserveElevationGHLeft() [1/2]

template<class T >
__global__ void conserveElevationGHLeft ( Param  XParam,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx 
)

◆ conserveElevationGHLeft() [2/2]

template<class T >
void conserveElevationGHLeft ( Param  XParam,
int  ib,
int  ibLB,
int  ibLT,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx 
)

◆ conserveElevationGHRight() [1/2]

template<class T >
__global__ void conserveElevationGHRight ( Param  XParam,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx 
)

◆ conserveElevationGHRight() [2/2]

template<class T >
void conserveElevationGHRight ( Param  XParam,
int  ib,
int  ibRB,
int  ibRT,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx 
)

◆ conserveElevationGHTop() [1/2]

template<class T >
__global__ void conserveElevationGHTop ( Param  XParam,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx 
)

◆ conserveElevationGHTop() [2/2]

template<class T >
void conserveElevationGHTop ( Param  XParam,
int  ib,
int  ibTL,
int  ibTR,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx 
)

◆ conserveElevationGPU()

template<class T >
void conserveElevationGPU ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ conserveElevationGradHalo()

template<class T >
void conserveElevationGradHalo ( Param  XParam,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx,
T *  dhdy,
T *  dzsdy 
)

◆ conserveElevationGradHaloGPU()

template<class T >
void conserveElevationGradHaloGPU ( Param  XParam,
BlockP< T >  XBlock,
T *  h,
T *  zs,
T *  zb,
T *  dhdx,
T *  dzsdx,
T *  dhdy,
T *  dzsdy 
)

◆ conserveElevationLeft() [1/2]

template<class T >
__global__ void conserveElevationLeft ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ conserveElevationLeft() [2/2]

template<class T >
void conserveElevationLeft ( Param  XParam,
int  ib,
int  ibLB,
int  ibLT,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ conserveElevationRight() [1/2]

template<class T >
__global__ void conserveElevationRight ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ conserveElevationRight() [2/2]

template<class T >
void conserveElevationRight ( Param  XParam,
int  ib,
int  ibRB,
int  ibRT,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ conserveElevationTop() [1/2]

template<class T >
__global__ void conserveElevationTop ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ conserveElevationTop() [2/2]

template<class T >
void conserveElevationTop ( Param  XParam,
int  ib,
int  ibTL,
int  ibTR,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ ProlongationElevation()

template<class T >
__host__ __device__ void ProlongationElevation ( int  halowidth,
int  blkmemwidth,
eps,
int  ib,
int  ibn,
int  ihalo,
int  jhalo,
int  ip,
int  jp,
T *  h,
T *  zs,
T *  zb 
)

◆ WetDryProlongation()

template<class T >
void WetDryProlongation ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ WetDryProlongationGPU()

template<class T >
void WetDryProlongationGPU ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ wetdryrestriction()

template<class T >
__host__ __device__ void wetdryrestriction ( int  halowidth,
int  blkmemwidth,
eps,
int  ib,
int  ibn,
int  ihalo,
int  jhalo,
int  i,
int  j,
T *  h,
T *  zs,
T *  zb 
)

◆ WetDryRestriction()

template<class T >
void WetDryRestriction ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)

◆ WetDryRestrictionGPU()

template<class T >
void WetDryRestrictionGPU ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEv,
T *  zb 
)