#!/usr/bin/env python ########## # Demonstration of the VTK realtime Visualiser. # Based on run_sw_rectangle.py # Jack Kelly and Stephen Roberts # October 2006 ########## # Import the realtime visualiser from anuga.visualiser import RealtimeVisualiser from vtk import vtkCubeAxesActor2D import time from Numeric import array from anuga.shallow_water import Domain from anuga.shallow_water import Reflective_boundary from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular class Set_Stage: """Set an initial condition with constant water height, for xself.x0)&(xself.y0)&(y