- many changes happened in support_funcs.cpp, need to be carefull when check functions in UVZsolver.cpp since they call many kernels in support_funcs.cpp
- Get rid of global constant
- Load all inputs from files
- Tested Memcopy from host to device
- Rewrite makefile
- Check kernels without constants in support_funcs.cpp
- Test kernels without constants in UVZsolver_multithreads.cpp
- change sediment transport kernels to work with non_constant versions
- Put things to gether
- Call kernels one by one to check if things are in their right positions
- Test final result for hydraulic module
- test sediment transport functions
- test the program with sediment transport
- Use new tridiag solver to test performance
- Fill in correct coefficients for input mesh in Load_coeffs() function in loader.cpp files
- Copy input files to Inputs/ directory with corresponding names:
- bandodosau.txt : depth map of to-be compute mesh data
- hsnhotroiA.txt: visco coefficient map
- hsnham.txt: roughness index map
- Fw_map.txt: Fw coefficient map
- FS_bientren.txt: FS boundary condition for upper boundary
- FS_bienduoi.txt: FS boundary condition for lower boundary
- FS_bientrai.txt: FS boundary condition for left side boundary
- FS_bienphai.txt: FS boundary condition for right side boundary
- bientren.txt: boundary condition for upper boundary
- bienduoi.txt: boundary condition for lower boundary
- bientrai.txt: boundary condition for left side boundary
- bienphai.txt: boundary condition for right side boundary
- boundary_type.txt: boundary type of each side (solid type or water type)
- Run standardize_inp.py to transpose inputs into Python-style coordinates
- run command:
~$ make
to compile changes - input arguments in args.txt with following options:
- -f Directory that contains input files -h Number of running hour -m number of running mins -s number of running seconds -i time interval in which output is saved -b time, in second, at which Sediment transport is started to be computed
- run command:
$ ./rep `cat args.txt`
to run rep file with the specified arguments in args.txt