BG_Flood  0.8
Documentation (Work-in-progress)
Updateforcing.h File Reference
#include "General.h"
#include "Param.h"
#include "Arrays.h"
#include "Forcing.h"
#include "InitialConditions.h"
#include "MemManagement.h"
#include "ReadForcing.h"
#include "GridManip.h"
#include "Util_CPU.h"
Include dependency graph for Updateforcing.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 updateforcing (Param XParam, Loop< T > XLoop, Forcing< float > &XForcing)
 
template<class T >
__device__ T interpDyn2BUQ (T x, T y, TexSetP Forcing)
 
template<class T >
__host__ void AddwindforcingCPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > Uwind, DynForcingP< float > Vwind, AdvanceP< T > XAdv)
 
template<class T >
__global__ void AddwindforcingGPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > Uwind, DynForcingP< float > Vwind, AdvanceP< T > XAdv)
 
template<class T >
__host__ void AddrainforcingCPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > Rain, AdvanceP< T > XAdv)
 
template<class T >
__host__ void AddrainforcingImplicitCPU (Param XParam, Loop< T > XLoop, BlockP< T > XBlock, DynForcingP< float > Rain, EvolvingP< T > XEv)
 
template<class T >
__global__ void AddrainforcingGPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > Rain, AdvanceP< T > XAdv)
 
template<class T >
__global__ void AddrainforcingImplicitGPU (Param XParam, Loop< T > XLoop, BlockP< T > XBlock, DynForcingP< float > Rain, EvolvingP< T > XEv)
 
template<class T >
__host__ void AddinfiltrationImplicitCPU (Param XParam, Loop< T > XLoop, BlockP< T > XBlock, T *il, T *cl, EvolvingP< T > XEv, T *hgw)
 
template<class T >
__global__ void AddinfiltrationImplicitGPU (Param XParam, Loop< T > XLoop, BlockP< T > XBlock, T *il, T *cl, EvolvingP< T > XEv, T *hgw)
 
template<class T >
__global__ void AddPatmforcingGPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > PAtm, Model< T > XModel)
 
template<class T >
__host__ void AddPatmforcingCPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > PAtm, Model< T > XModel)
 
template<class T >
__host__ void AddRiverForcing (Param XParam, Loop< T > XLoop, std::vector< River > XRivers, Model< T > XModel)
 
template<class T >
void deformstep (Param XParam, Loop< T > XLoop, std::vector< deformmap< float >> deform, Model< T > XModel, Model< T > XModel_g)
 
template<class T >
__global__ void InjectRiverGPU (Param XParam, River XRiver, T qnow, int *Riverblks, BlockP< T > XBlock, AdvanceP< T > XAdv)
 
template<class T >
__global__ void AddDeformGPU (Param XParam, BlockP< T > XBlock, deformmap< float > defmap, T scale, T *zs, T *zb)
 

Function Documentation

◆ AddDeformGPU()

template<class T >
__global__ void AddDeformGPU ( Param  XParam,
BlockP< T >  XBlock,
deformmap< float >  defmap,
scale,
T *  zs,
T *  zb 
)

◆ AddinfiltrationImplicitCPU()

template<class T >
__host__ void AddinfiltrationImplicitCPU ( Param  XParam,
Loop< T >  XLoop,
BlockP< T >  XBlock,
T *  il,
T *  cl,
EvolvingP< T >  XEv,
T *  hgw 
)

◆ AddinfiltrationImplicitGPU()

template<class T >
__global__ void AddinfiltrationImplicitGPU ( Param  XParam,
Loop< T >  XLoop,
BlockP< T >  XBlock,
T *  il,
T *  cl,
EvolvingP< T >  XEv,
T *  hgw 
)

◆ AddPatmforcingCPU()

template<class T >
__host__ void AddPatmforcingCPU ( Param  XParam,
BlockP< T >  XBlock,
DynForcingP< float >  PAtm,
Model< T >  XModel 
)

◆ AddPatmforcingGPU()

template<class T >
__global__ void AddPatmforcingGPU ( Param  XParam,
BlockP< T >  XBlock,
DynForcingP< float >  PAtm,
Model< T >  XModel 
)

◆ AddrainforcingCPU()

template<class T >
__host__ void AddrainforcingCPU ( Param  XParam,
BlockP< T >  XBlock,
DynForcingP< float >  Rain,
AdvanceP< T >  XAdv 
)

◆ AddrainforcingGPU()

template<class T >
__global__ void AddrainforcingGPU ( Param  XParam,
BlockP< T >  XBlock,
DynForcingP< float >  Rain,
AdvanceP< T >  XAdv 
)

◆ AddrainforcingImplicitCPU()

template<class T >
__host__ void AddrainforcingImplicitCPU ( Param  XParam,
Loop< T >  XLoop,
BlockP< T >  XBlock,
DynForcingP< float >  Rain,
EvolvingP< T >  XEv 
)

◆ AddrainforcingImplicitGPU()

template<class T >
__global__ void AddrainforcingImplicitGPU ( Param  XParam,
Loop< T >  XLoop,
BlockP< T >  XBlock,
DynForcingP< float >  Rain,
EvolvingP< T >  XEv 
)

◆ AddRiverForcing()

template<class T >
__host__ void AddRiverForcing ( Param  XParam,
Loop< T >  XLoop,
std::vector< River XRivers,
Model< T >  XModel 
)

◆ AddwindforcingCPU()

template<class T >
__host__ void AddwindforcingCPU ( Param  XParam,
BlockP< T >  XBlock,
DynForcingP< float >  Uwind,
DynForcingP< float >  Vwind,
AdvanceP< T >  XAdv 
)

◆ AddwindforcingGPU()

template<class T >
__global__ void AddwindforcingGPU ( Param  XParam,
BlockP< T >  XBlock,
DynForcingP< float >  Uwind,
DynForcingP< float >  Vwind,
AdvanceP< T >  XAdv 
)

◆ deformstep()

template<class T >
void deformstep ( Param  XParam,
Loop< T >  XLoop,
std::vector< deformmap< float >>  deform,
Model< T >  XModel,
Model< T >  XModel_g 
)

◆ InjectRiverGPU()

template<class T >
__global__ void InjectRiverGPU ( Param  XParam,
River  XRiver,
qnow,
int *  Riverblks,
BlockP< T >  XBlock,
AdvanceP< T >  XAdv 
)

◆ interpDyn2BUQ()

template<class T >
__device__ T interpDyn2BUQ ( x,
y,
TexSetP  Forcing 
)

◆ updateforcing()

template<class T >
void updateforcing ( Param  XParam,
Loop< T >  XLoop,
Forcing< float > &  XForcing 
)