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

Go to the source code of this file.

Functions

template<class T , class F >
void CopyArrayBUQ (Param XParam, BlockP< F > XBlock, T *source, T *&dest)
 
template<class T >
void CopyArrayBUQ (Param XParam, BlockP< T > XBlock, EvolvingP< T > source, EvolvingP< T > &dest)
 
template<class T >
void CopyArrayBUQ (Param XParam, BlockP< T > XBlock, EvolvingP< T > source, EvolvingP_M< T > &dest)
 
template<class T , class F >
void InitArrayBUQ (Param XParam, BlockP< F > XBlock, T initval, T *&Arr)
 
template<class T , class F >
void InitBlkBUQ (Param XParam, BlockP< F > XBlock, T initval, T *&Arr)
 
template<class T >
void setedges (Param XParam, BlockP< T > XBlock, T *&zb)
 
template<class T >
void interp2BUQ (Param XParam, BlockP< T > XBlock, std::vector< StaticForcingP< float >> forcing, T *z)
 
template<class T , class F >
void interp2BUQ (Param XParam, BlockP< T > XBlock, F forcing, T *&z)
 
template<class T , class F >
interp2BUQ (T x, T y, F forcing)
 
template<class T , class F >
interp2BUQ (T x, T y, T dx, F forcing)
 
template<class T , class F >
void InterpstepCPU (int nx, int ny, int hdstep, F totaltime, F hddt, T *&Ux, T *Uo, T *Un)
 
template<class T >
__global__ void InterpstepGPU (int nx, int ny, int hdstp, T totaltime, T hddt, T *Ux, T *Uo, T *Un)
 
template<class T >
void Copy2CartCPU (int nx, int ny, T *dest, T *src)
 

Function Documentation

◆ Copy2CartCPU()

template<class T >
void Copy2CartCPU ( int  nx,
int  ny,
T *  dest,
T *  src 
)

◆ CopyArrayBUQ() [1/3]

template<class T , class F >
void CopyArrayBUQ ( Param  XParam,
BlockP< F >  XBlock,
T *  source,
T *&  dest 
)

◆ CopyArrayBUQ() [2/3]

template<class T >
void CopyArrayBUQ ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  source,
EvolvingP< T > &  dest 
)

◆ CopyArrayBUQ() [3/3]

template<class T >
void CopyArrayBUQ ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  source,
EvolvingP_M< T > &  dest 
)

◆ InitArrayBUQ()

template<class T , class F >
void InitArrayBUQ ( Param  XParam,
BlockP< F >  XBlock,
initval,
T *&  Arr 
)

◆ InitBlkBUQ()

template<class T , class F >
void InitBlkBUQ ( Param  XParam,
BlockP< F >  XBlock,
initval,
T *&  Arr 
)

◆ interp2BUQ() [1/4]

template<class T , class F >
void interp2BUQ ( Param  XParam,
BlockP< T >  XBlock,
forcing,
T *&  z 
)

◆ interp2BUQ() [2/4]

template<class T >
void interp2BUQ ( Param  XParam,
BlockP< T >  XBlock,
std::vector< StaticForcingP< float >>  forcing,
T *  z 
)

◆ interp2BUQ() [3/4]

template<class T , class F >
T interp2BUQ ( x,
y,
forcing 
)

◆ interp2BUQ() [4/4]

template<class T , class F >
T interp2BUQ ( x,
y,
dx,
forcing 
)

◆ InterpstepCPU()

template<class T , class F >
void InterpstepCPU ( int  nx,
int  ny,
int  hdstep,
totaltime,
hddt,
T *&  Ux,
T *  Uo,
T *  Un 
)

◆ InterpstepGPU()

template<class T >
__global__ void InterpstepGPU ( int  nx,
int  ny,
int  hdstp,
totaltime,
hddt,
T *  Ux,
T *  Uo,
T *  Un 
)

Ums[tx]

Ums[tx]

◆ setedges()

template<class T >
void setedges ( Param  XParam,
BlockP< T >  XBlock,
T *&  zb 
)