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

No output if outputtimestep = endtime for large values #71

Closed AliceHarang closed 1 year ago

AliceHarang commented 1 year ago

This behavior have been observed on the Westport testcase, for "outputtimestep" = 400 000.0. For an "endtime" of 400 000.0 or 400 001.0, no final output was produce. With same configuration and "outputtimestep" = 5.0 / "endtime" = 5.0, a final output was produce.

AliceHarang commented 1 year ago

This issue was produce by an error of usage from the user. However, warnings and sanity check have been add to avoid this kind of error in the future.

AliceHarang commented 1 year ago

72