#!/usr/bin/env python """ Example showing improved wet dry limiting. This script runs the same simulation twice and stores the outputs in old_limiter.sww and new_limiter.sww respectively. Authors: Steve Roberts October """ #----------------------------------------------------------------- # Common structures #----------------------------------------------------------------- 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