Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pathway to v1.0 #51

Draft
wants to merge 427 commits into
base: master
Choose a base branch
from
Draft

Pathway to v1.0 #51

wants to merge 427 commits into from

Conversation

CyprienBosserelle
Copy link
Owner

@CyprienBosserelle CyprienBosserelle commented Oct 26, 2021

Pathway to v1.0

BG-Flood is nearing a major milestone.

New major features

  • Add Buttinger et al. reconstruction with HLLC engine and wet slope limiter
  • Add Block average scheme elevation and roughness when block dx > forcing dx
  • Add Polygon domain for improved memory requirement
  • Allow Sub-region output to only output a smaller area than the full domain and save some HD space
  • Full implementation of adaptive grid
  • Initial and continuing loss
  • Spherical (lat lon) coordinates
  • Improve documentation and tutorials

New minor feature

  • Rain-on-grid internal test
  • Multiple Bathy file input
  • Revamped tests
  • Force initial dt for dry models to be small enough wrt forcing
  • Crash detection (for tiny dt)
  • Flag to select Kurganov vs Buttinger engine
  • Internal test for boundaries
  • Continuous integration with internal tests on CPU and GPU
  • Param file as an input to exec
  • Auto-copy of code to gitlab
  • Code optimization
  • Add NetCDF CRS and time metadata to output
  • Add param settings to NetCDF (metadata?)
  • Handle input forcing where dx != dy

minor Changes

  • General code cleanup and reduce compile-time warnings
  • Add Jupyter (Python) and Pluto (Julia) tutorial notebooks in demo
  • Add active cell to limit rain to within specify domain
  • Check/verify/Fix initial time step sanity
  • Fix wet/dry instabilities
  • Improve/fix absorbing bnds
  • Add tutorial/docs for tsunami initiation
  • Add tutorial/docs for wind/atmpress forcing
  • Add speed benchmark to compare with other codes (Tuflow benchmark?)
  • Rain depth forcing option (rain intensity is default)
  • Read time stamp from Netcdf and param file
  • Add user defined log file name
  • Fix nesting capability

Major Fix

  • Bug fix for refine linear function
  • Full rewrite of gradient calculation to be in line with refine linear
  • Fix hotstart to use new variable name
  • Fix Timeseries Output
  • Fix compiling issues with older GCC
  • Fix rain map input

Minor Fix

  • Fix crash when specified river is outside the model domain (4a2513c)
  • Fix round-off error with small domain
  • Fix round-off error for bathy interpolation
  • Fix river footprint when the input discharge area is smaller than block resolution
  • Fix resetmax
  • Fix deform input
  • Fix atm pressure forcing engine
  • Fix absorbing bnd issues with wet/dry

@CyprienBosserelle CyprienBosserelle changed the title Development Pathway to v1.0 Oct 26, 2021
@CyprienBosserelle CyprienBosserelle marked this pull request as draft October 27, 2021 09:14
CyprienBosserelle and others added 30 commits October 6, 2023 14:15
* Bug fix and implement  no-flux approach

* fix no flux top and right bnd

* Update Boundary.cu

Added new ABS bnd fcn for flux

* Fix new halo wall bnds

* convert test into proper CI test

* Fix ABS1D Q calculations

* ABS1DQ clean function call and add qmean

* ABS1DQ Fix h miising in fctn call

* Add New "NoFlux" Bnd to BBox bnd

* Fix case on header call

* fix on left and bot wall

* make test for all side

* u v bnd fix

* add comment to test

* clean up the function

* Update Boundary.h

* implement handling fcnt for flux bnd

* Fix wall bnd for Left and right side

Also improve the test!

* Update Testing.cu

* fix for flux test-demo

* Update Boundary.cu

* build new structures to support AOI bnds

* Add workflow for new bnd initialisation

* Update InitialConditions.cu

* Start the init bnd functionality

* Fix compile error forcing.h

* Update InitialConditions.cu

* fix to compile

* Update ReadInput.cu

* progress new bnd segment

* Update ReadInput.cu

* Add bndpoly functionality (Work in progress)

* Added function to read bnd segment polygon

* remove fileexist function

* add new bnd seg to GPU mem

* Add fill value of 0 for qmean

* finish main workflow for new BND for GPU

* Clean-up and debugging new boundary

* DEBUG ABS bnd

* Add limiter to remove instability near dry cells

* Add taper to initial condition

* Fix Dynamic forcing bnd

* Ooops

* debug check

* Add CPU functions for bnd flux

* Update Testing.cu

* prevent fail in CPUvsGPU test

* Bring A100 fix to the new boundary to better test on HPC. this should be descarde if it fails but may be pulled to Dev branch if successfull. (#109)

* switch off deflate

* Add function to optimise output writing

* Update Write_netcdf.cu

* debug level index when writting

* fix + update of def nc var

* Make loop increment declaration cleaner

* Hotfix for deform

This has been broken for a while!

* Try fix aoi polygon

* Add parameter to switch on/off the saving per block feature

* Update ReadInput.cu

* Fix GPU/CPU difference in new bnd

* Fix failing test 0

* Fix AOI wall test

* Update Boundary.cu

* Update ReadInput.cu

* Update main.yml

* Update main.yml

* Fix missing brace in testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants