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

Functions

template<class T >
void updateforcing (Param XParam, Loop< T > XLoop, Forcing< float > &XForcing)
 
template void updateforcing< float > (Param XParam, Loop< float > XLoop, Forcing< float > &XForcing)
 
template void updateforcing< double > (Param XParam, Loop< double > XLoop, Forcing< float > &XForcing)
 
template<class T >
void Forcingthisstep (Param XParam, Loop< T > XLoop, DynForcingP< float > &XDynForcing)
 
template<class T >
__host__ void AddRiverForcing (Param XParam, Loop< T > XLoop, std::vector< River > XRivers, Model< T > XModel)
 
template __host__ void AddRiverForcing< float > (Param XParam, Loop< float > XLoop, std::vector< River > XRivers, Model< float > XModel)
 
template __host__ void AddRiverForcing< double > (Param XParam, Loop< double > XLoop, std::vector< River > XRivers, Model< double > XModel)
 
template<class T >
__global__ void InjectRiverGPU (Param XParam, River XRiver, T qnow, int *Riverblks, BlockP< T > XBlock, AdvanceP< T > XAdv)
 
template __global__ void InjectRiverGPU< float > (Param XParam, River XRiver, float qnow, int *Riverblks, BlockP< float > XBlock, AdvanceP< float > XAdv)
 
template __global__ void InjectRiverGPU< double > (Param XParam, River XRiver, double qnow, int *Riverblks, BlockP< double > XBlock, AdvanceP< double > XAdv)
 
template<class T >
__host__ void InjectRiverCPU (Param XParam, River XRiver, T qnow, int nblkriver, int *Riverblks, BlockP< T > XBlock, AdvanceP< T > XAdv)
 
template __host__ void InjectRiverCPU< float > (Param XParam, River XRiver, float qnow, int nblkriver, int *Riverblks, BlockP< float > XBlock, AdvanceP< float > XAdv)
 
template __host__ void InjectRiverCPU< double > (Param XParam, River XRiver, double qnow, int nblkriver, int *Riverblks, BlockP< double > XBlock, AdvanceP< double > XAdv)
 
template<class T >
__global__ void AddrainforcingGPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > Rain, AdvanceP< T > XAdv)
 
template __global__ void AddrainforcingGPU< float > (Param XParam, BlockP< float > XBlock, DynForcingP< float > Rain, AdvanceP< float > XAdv)
 
template __global__ void AddrainforcingGPU< double > (Param XParam, BlockP< double > XBlock, DynForcingP< float > Rain, AdvanceP< double > XAdv)
 
template<class T >
__global__ void AddrainforcingImplicitGPU (Param XParam, Loop< T > XLoop, BlockP< T > XBlock, DynForcingP< float > Rain, EvolvingP< T > XEv)
 
template __global__ void AddrainforcingImplicitGPU< float > (Param XParam, Loop< float > XLoop, BlockP< float > XBlock, DynForcingP< float > Rain, EvolvingP< float > XEv)
 
template __global__ void AddrainforcingImplicitGPU< double > (Param XParam, Loop< double > XLoop, BlockP< double > XBlock, DynForcingP< float > Rain, EvolvingP< double > XEv)
 
template<class T >
__host__ void AddrainforcingCPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > Rain, AdvanceP< T > XAdv)
 
template __host__ void AddrainforcingCPU< float > (Param XParam, BlockP< float > XBlock, DynForcingP< float > Rain, AdvanceP< float > XAdv)
 
template __host__ void AddrainforcingCPU< double > (Param XParam, BlockP< double > XBlock, DynForcingP< float > Rain, AdvanceP< double > XAdv)
 
template<class T >
__host__ void AddrainforcingImplicitCPU (Param XParam, Loop< T > XLoop, BlockP< T > XBlock, DynForcingP< float > Rain, EvolvingP< T > XEv)
 
template __host__ void AddrainforcingImplicitCPU< float > (Param XParam, Loop< float > XLoop, BlockP< float > XBlock, DynForcingP< float > Rain, EvolvingP< float > XEv)
 
template __host__ void AddrainforcingImplicitCPU< double > (Param XParam, Loop< double > XLoop, BlockP< double > XBlock, DynForcingP< float > Rain, EvolvingP< double > 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 __host__ void AddinfiltrationImplicitCPU< float > (Param XParam, Loop< float > XLoop, BlockP< float > XBlock, float *il, float *cl, EvolvingP< float > XEv, float *hgw)
 
template __host__ void AddinfiltrationImplicitCPU< double > (Param XParam, Loop< double > XLoop, BlockP< double > XBlock, double *il, double *cl, EvolvingP< double > XEv, double *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 __global__ void AddinfiltrationImplicitGPU< float > (Param XParam, Loop< float > XLoop, BlockP< float > XBlock, float *il, float *cl, EvolvingP< float > XEv, float *hgw)
 
template __global__ void AddinfiltrationImplicitGPU< double > (Param XParam, Loop< double > XLoop, BlockP< double > XBlock, double *il, double *cl, EvolvingP< double > XEv, double *hgw)
 
template<class T >
__global__ void AddwindforcingGPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > Uwind, DynForcingP< float > Vwind, AdvanceP< T > XAdv)
 
template __global__ void AddwindforcingGPU< float > (Param XParam, BlockP< float > XBlock, DynForcingP< float > Uwind, DynForcingP< float > Vwind, AdvanceP< float > XAdv)
 
template __global__ void AddwindforcingGPU< double > (Param XParam, BlockP< double > XBlock, DynForcingP< float > Uwind, DynForcingP< float > Vwind, AdvanceP< double > XAdv)
 
template<class T >
__global__ void AddPatmforcingGPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > PAtm, Model< T > XModel)
 
template __global__ void AddPatmforcingGPU< float > (Param XParam, BlockP< float > XBlock, DynForcingP< float > PAtm, Model< float > XModel)
 
template __global__ void AddPatmforcingGPU< double > (Param XParam, BlockP< double > XBlock, DynForcingP< float > PAtm, Model< double > XModel)
 
template<class T >
__host__ void AddwindforcingCPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > Uwind, DynForcingP< float > Vwind, AdvanceP< T > XAdv)
 
template __host__ void AddwindforcingCPU< float > (Param XParam, BlockP< float > XBlock, DynForcingP< float > Uwind, DynForcingP< float > Vwind, AdvanceP< float > XAdv)
 
template __host__ void AddwindforcingCPU< double > (Param XParam, BlockP< double > XBlock, DynForcingP< float > Uwind, DynForcingP< float > Vwind, AdvanceP< double > XAdv)
 
template<class T >
__host__ void AddPatmforcingCPU (Param XParam, BlockP< T > XBlock, DynForcingP< float > PAtm, Model< T > XModel)
 
template __host__ void AddPatmforcingCPU< float > (Param XParam, BlockP< float > XBlock, DynForcingP< float > PAtm, Model< float > XModel)
 
template __host__ void AddPatmforcingCPU< double > (Param XParam, BlockP< double > XBlock, DynForcingP< float > PAtm, Model< double > XModel)
 
template<class T >
__device__ T interpDyn2BUQ (T x, T y, TexSetP Forcing)
 
template __device__ float interpDyn2BUQ< float > (float x, float y, TexSetP Forcing)
 
template __device__ double interpDyn2BUQ< double > (double x, double y, TexSetP Forcing)
 
template<class T >
__device__ T interp2BUQ (T x, T y, TexSetP Forcing)
 
template __device__ float interp2BUQ< float > (float x, float y, TexSetP Forcing)
 
template __device__ double interp2BUQ< double > (double x, double y, TexSetP Forcing)
 
template<class T >
void deformstep (Param XParam, Loop< T > XLoop, std::vector< deformmap< float >> deform, Model< T > XModel, Model< T > XModel_g)
 
template void deformstep< float > (Param XParam, Loop< float > XLoop, std::vector< deformmap< float >> deform, Model< float > XModel, Model< float > XModel_g)
 
template void deformstep< double > (Param XParam, Loop< double > XLoop, std::vector< deformmap< float >> deform, Model< double > XModel, Model< double > XModel_g)
 
template<class T >
void deformstep (Param XParam, Loop< T > XLoop, std::vector< deformmap< float >> deform, Model< T > XModel)
 
template<class T >
__global__ void AddDeformGPU (Param XParam, BlockP< T > XBlock, deformmap< float > defmap, T scale, T *zs, T *zb)
 
template<class T >
__host__ void AddDeformCPU (Param XParam, BlockP< T > XBlock, deformmap< float > defmap, T scale, T *zs, T *zb)
 

Function Documentation

◆ AddDeformCPU()

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

◆ 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 
)

◆ AddinfiltrationImplicitCPU< double >()

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

◆ AddinfiltrationImplicitCPU< float >()

template __host__ void AddinfiltrationImplicitCPU< float > ( Param  XParam,
Loop< float >  XLoop,
BlockP< float >  XBlock,
float *  il,
float *  cl,
EvolvingP< float >  XEv,
float *  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 
)

◆ AddinfiltrationImplicitGPU< double >()

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

◆ AddinfiltrationImplicitGPU< float >()

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

◆ AddPatmforcingCPU()

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

◆ AddPatmforcingCPU< double >()

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

◆ AddPatmforcingCPU< float >()

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

◆ AddPatmforcingGPU()

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

◆ AddPatmforcingGPU< double >()

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

◆ AddPatmforcingGPU< float >()

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

◆ AddrainforcingCPU()

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

◆ AddrainforcingCPU< double >()

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

◆ AddrainforcingCPU< float >()

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

◆ AddrainforcingGPU()

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

◆ AddrainforcingGPU< double >()

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

◆ AddrainforcingGPU< float >()

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

◆ AddrainforcingImplicitCPU()

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

◆ AddrainforcingImplicitCPU< double >()

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

◆ AddrainforcingImplicitCPU< float >()

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

◆ AddrainforcingImplicitGPU()

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

◆ AddrainforcingImplicitGPU< double >()

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

◆ AddrainforcingImplicitGPU< float >()

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

◆ AddRiverForcing()

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

◆ AddRiverForcing< double >()

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

◆ AddRiverForcing< float >()

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

◆ AddwindforcingCPU()

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

◆ AddwindforcingCPU< double >()

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

◆ AddwindforcingCPU< float >()

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

◆ AddwindforcingGPU()

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

◆ AddwindforcingGPU< double >()

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

◆ AddwindforcingGPU< float >()

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

◆ deformstep() [1/2]

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

◆ deformstep() [2/2]

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

◆ deformstep< double >()

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

◆ deformstep< float >()

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

◆ Forcingthisstep()

template<class T >
void Forcingthisstep ( Param  XParam,
Loop< T >  XLoop,
DynForcingP< float > &  XDynForcing 
)

◆ InjectRiverCPU()

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

◆ InjectRiverCPU< double >()

template __host__ void InjectRiverCPU< double > ( Param  XParam,
River  XRiver,
double  qnow,
int  nblkriver,
int *  Riverblks,
BlockP< double >  XBlock,
AdvanceP< double >  XAdv 
)

◆ InjectRiverCPU< float >()

template __host__ void InjectRiverCPU< float > ( Param  XParam,
River  XRiver,
float  qnow,
int  nblkriver,
int *  Riverblks,
BlockP< float >  XBlock,
AdvanceP< float >  XAdv 
)

◆ InjectRiverGPU()

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

◆ InjectRiverGPU< double >()

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

◆ InjectRiverGPU< float >()

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

◆ interp2BUQ()

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

◆ interp2BUQ< double >()

template __device__ double interp2BUQ< double > ( double  x,
double  y,
TexSetP  Forcing 
)

◆ interp2BUQ< float >()

template __device__ float interp2BUQ< float > ( float  x,
float  y,
TexSetP  Forcing 
)

◆ interpDyn2BUQ()

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

◆ interpDyn2BUQ< double >()

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

◆ interpDyn2BUQ< float >()

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

◆ updateforcing()

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

◆ updateforcing< double >()

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

◆ updateforcing< float >()

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