BG_Flood
0.8
Documentation (Work-in-progress)
|
#include "ReadForcing.h"
Functions | |
template<class T > | |
void | readforcing (Param &XParam, Forcing< T > &XForcing) |
template void | readforcing< float > (Param &XParam, Forcing< float > &XForcing) |
template<class T > | |
void | readstaticforcing (T &Sforcing) |
template void | readstaticforcing< deformmap< float > > (deformmap< float > &Sforcing) |
template void | readstaticforcing< StaticForcingP< float > > (StaticForcingP< float > &Sforcing) |
template void | readstaticforcing< StaticForcingP< int > > (StaticForcingP< int > &Sforcing) |
template<class T > | |
void | readstaticforcing (int step, T &Sforcing) |
template void | readstaticforcing< deformmap< float > > (int step, deformmap< float > &Sforcing) |
template void | readstaticforcing< StaticForcingP< float > > (int step, StaticForcingP< float > &Sforcing) |
template void | readstaticforcing< StaticForcingP< int > > (int step, StaticForcingP< int > &Sforcing) |
void | InitDynforcing (bool gpgpu, Param &XParam, DynForcingP< float > &Dforcing) |
void | readDynforcing (bool gpgpu, double totaltime, DynForcingP< float > &Dforcing) |
void | readbathydata (int posdown, StaticForcingP< float > &Sforcing) |
std::vector< SLTS > | readbndfile (std::string filename, Param XParam, int side) |
std::vector< SLTS > | readWLfile (std::string WLfilename) |
std::vector< SLTS > | readNestfile (std::string ncfile, std::string varname, int hor, double eps, double bndxo, double bndxmax, double bndy) |
std::vector< Flowin > | readFlowfile (std::string Flowfilename) |
std::vector< Windin > | readINfileUNI (std::string filename) |
std::vector< Windin > | readWNDfileUNI (std::string filename, double grdalpha) |
Polygon | readPolygon (std::string filename) |
std::vector< std::string > | DelimLine (std::string line, int n, char delim) |
std::vector< std::string > | DelimLine (std::string line, int n) |
template<class T > | |
void | readforcingdata (int step, T forcing) |
template void | readforcingdata< StaticForcingP< float > > (int step, StaticForcingP< float > forcing) |
template void | readforcingdata< deformmap< float > > (int step, deformmap< float > forcing) |
template void | readforcingdata< StaticForcingP< int > > (int step, StaticForcingP< int > forcing) |
void | readforcingdata (double totaltime, DynForcingP< float > &forcing) |
DynForcingP< float > | readforcinghead (DynForcingP< float > Fmap) |
template<class T > | |
T | readforcinghead (T ForcingParam) |
template inputmap | readforcinghead< inputmap > (inputmap BathyParam) |
template forcingmap | readforcinghead< forcingmap > (forcingmap BathyParam) |
template StaticForcingP< float > | readforcinghead< StaticForcingP< float > > (StaticForcingP< float > ForcingParam) |
void | readbathyHeadMD (std::string filename, int &nx, int &ny, double &dx, double &grdalpha) |
template<class T > | |
void | readbathyMD (std::string filename, T *&zb) |
template void | readbathyMD< int > (std::string filename, int *&zb) |
template void | readbathyMD< float > (std::string filename, float *&zb) |
template<class T > | |
void | readXBbathy (std::string filename, int nx, int ny, T *&zb) |
template void | readXBbathy< int > (std::string filename, int nx, int ny, int *&zb) |
template void | readXBbathy< float > (std::string filename, int nx, int ny, float *&zb) |
void | readbathyASCHead (std::string filename, int &nx, int &ny, double &dx, double &xo, double &yo, double &grdalpha) |
template<class T > | |
void | readbathyASCzb (std::string filename, int nx, int ny, T *&zb) |
template void | readbathyASCzb< int > (std::string filename, int nx, int ny, int *&zb) |
template void | readbathyASCzb< float > (std::string filename, int nx, int ny, float *&zb) |
template<class T > | |
void | clampedges (int nx, int ny, T clamp, T *z) |
void clampedges | ( | int | nx, |
int | ny, | ||
T | clamp, | ||
T * | z | ||
) |
std::vector<std::string> DelimLine | ( | std::string | line, |
int | n | ||
) |
std::vector<std::string> DelimLine | ( | std::string | line, |
int | n, | ||
char | delim | ||
) |
void InitDynforcing | ( | bool | gpgpu, |
Param & | XParam, | ||
DynForcingP< float > & | Dforcing | ||
) |
void readbathyASCHead | ( | std::string | filename, |
int & | nx, | ||
int & | ny, | ||
double & | dx, | ||
double & | xo, | ||
double & | yo, | ||
double & | grdalpha | ||
) |
Read ASC file meta/header data
void readbathyASCzb | ( | std::string | filename, |
int | nx, | ||
int | ny, | ||
T *& | zb | ||
) |
template void readbathyASCzb< float > | ( | std::string | filename, |
int | nx, | ||
int | ny, | ||
float *& | zb | ||
) |
template void readbathyASCzb< int > | ( | std::string | filename, |
int | nx, | ||
int | ny, | ||
int *& | zb | ||
) |
void readbathydata | ( | int | posdown, |
StaticForcingP< float > & | Sforcing | ||
) |
special case of readstaticforcing(Sforcing); where the data
void readbathyHeadMD | ( | std::string | filename, |
int & | nx, | ||
int & | ny, | ||
double & | dx, | ||
double & | grdalpha | ||
) |
Read MD file header data
void readbathyMD | ( | std::string | filename, |
T *& | zb | ||
) |
template void readbathyMD< float > | ( | std::string | filename, |
float *& | zb | ||
) |
template void readbathyMD< int > | ( | std::string | filename, |
int *& | zb | ||
) |
Read boundary forcing files
void readDynforcing | ( | bool | gpgpu, |
double | totaltime, | ||
DynForcingP< float > & | Dforcing | ||
) |
std::vector< Flowin > readFlowfile | ( | std::string | Flowfilename | ) |
Read flow data for river forcing
wrapping function for reading all the forcing data
template void readforcing< float > | ( | Param & | XParam, |
Forcing< float > & | XForcing | ||
) |
void readforcingdata | ( | double | totaltime, |
DynForcingP< float > & | forcing | ||
) |
Read Dynamic forcing data
void readforcingdata | ( | int | step, |
T | forcing | ||
) |
Read static forcing data
template void readforcingdata< deformmap< float > > | ( | int | step, |
deformmap< float > | forcing | ||
) |
template void readforcingdata< StaticForcingP< float > > | ( | int | step, |
StaticForcingP< float > | forcing | ||
) |
template void readforcingdata< StaticForcingP< int > > | ( | int | step, |
StaticForcingP< int > | forcing | ||
) |
DynForcingP< float > readforcinghead | ( | DynForcingP< float > | Fmap | ) |
Read Dynamic forcing meta/header data
T readforcinghead | ( | T | ForcingParam | ) |
Read Static forcing meta/header data
template forcingmap readforcinghead< forcingmap > | ( | forcingmap | BathyParam | ) |
template inputmap readforcinghead< inputmap > | ( | inputmap | BathyParam | ) |
template StaticForcingP<float> readforcinghead< StaticForcingP< float > > | ( | StaticForcingP< float > | ForcingParam | ) |
std::vector< Windin > readINfileUNI | ( | std::string | filename | ) |
Read rain/atmpressure data for spatially uniform forcing
std::vector< SLTS > readNestfile | ( | std::string | ncfile, |
std::string | varname, | ||
int | hor, | ||
double | eps, | ||
double | bndxo, | ||
double | bndxmax, | ||
double | bndy | ||
) |
Read boundary Nesting data
To Be continued
Polygon readPolygon | ( | std::string | filename | ) |
void readstaticforcing | ( | int | step, |
T & | Sforcing | ||
) |
Allocate and read static (i.e. not varying in time) forcing Used for Bathy, roughness, deformation
void readstaticforcing | ( | T & | Sforcing | ) |
single parameter version of readstaticforcing(int step,T& Sforcing) readstaticforcing(0, Sforcing);
template void readstaticforcing< deformmap< float > > | ( | deformmap< float > & | Sforcing | ) |
template void readstaticforcing< deformmap< float > > | ( | int | step, |
deformmap< float > & | Sforcing | ||
) |
template void readstaticforcing< StaticForcingP< float > > | ( | int | step, |
StaticForcingP< float > & | Sforcing | ||
) |
template void readstaticforcing< StaticForcingP< float > > | ( | StaticForcingP< float > & | Sforcing | ) |
template void readstaticforcing< StaticForcingP< int > > | ( | int | step, |
StaticForcingP< int > & | Sforcing | ||
) |
template void readstaticforcing< StaticForcingP< int > > | ( | StaticForcingP< int > & | Sforcing | ) |
std::vector< SLTS > readWLfile | ( | std::string | WLfilename | ) |
Read boundary water level data
std::vector< Windin > readWNDfileUNI | ( | std::string | filename, |
double | grdalpha | ||
) |
Read wind data for spatially uniform forcing
void readXBbathy | ( | std::string | filename, |
int | nx, | ||
int | ny, | ||
T *& | zb | ||
) |
template void readXBbathy< float > | ( | std::string | filename, |
int | nx, | ||
int | ny, | ||
float *& | zb | ||
) |
template void readXBbathy< int > | ( | std::string | filename, |
int | nx, | ||
int | ny, | ||
int *& | zb | ||
) |