CyprienBosserelle / BG_Flood

Numerical model for simulating shallow water hydrodynamics on the GPU using an Adaptive Mesh Refinment type grid. The model was designed with the goal of simulating inundation (River, Storm surge or tsunami). The model uses a Block Uniform Quadtree approach that runs on the GPU but the adaptive/multi-resolution/AMR is being implemented and not yet operational. The core SWE engine and adaptivity has been inspired and taken from St Venant solver from Basilisk and the CUDA GPU memory model has been inspired by the work from Vacondio _et al._2017)
GNU General Public License v3.0
34 stars 15 forks source link

Roughness multi input #102

Closed AliceHarang closed 3 months ago

AliceHarang commented 7 months ago

Complementary:

AliceHarang commented 7 months ago

After creating the test, I observe a weird behavior when the value is 0 (for bathy and roughness).

CyprienBosserelle commented 6 months ago

Would be neat to fix this one as well:

105

AliceHarang commented 5 months ago

I have also finished to add the possibility to have a Continuous Loss and Initial Loss as a constant.

CyprienBosserelle commented 3 months ago

I had a quick look again and the way the "NaN" values are removed is the most appropriate way. There is now a built -in mechanism to remove NAN from input/forcing maps but in the case of vector of map we only want to remove the value from the top map and leave large hole in the data intact for the other maps.

CyprienBosserelle commented 3 months ago

if the test succeed please go ahead and merge. C