anuga-community / anuga_core

ANUGA for the simulation of the shallow water equation
https://anuga.anu.edu.au
Other
32 stars 23 forks source link

run_open_slot_wide_bridge.py not working #44

Closed PetarMilevski closed 4 months ago

PetarMilevski commented 5 months ago

in anuga_core/examples/structures/run_open_slot_wide_bridge.py

on line 46:

domain = rectangular_cross_domain(int(length/dx), int(width/dy), len1=length, len2=width)

should be

points, vertices, boundary = rectangular_cross(int(length/dx), int(width/dy), len1=length, len2=width) domain = Domain(points, vertices, boundary)

for model to run

stoiver commented 5 months ago

Hi Petar,

Thanks for drawing attention to the bug. Just got around to fixing it.

Cheers Steve