source: trunk/anuga_core/anuga/visualiser_new/quick_run.py @ 9679

Last change on this file since 9679 was 8427, checked in by davies, 13 years ago

Adding the trapezoidal channel validation test, and editing the ANUGA manual

File size: 474 bytes
Line 
1#!/usr/bin/env python
2from sww_visualiser import SWWVisualiser
3from height_quantity import HeightQuantity
4
5vis = SWWVisualiser(source='../../anuga_viewer/tests/cylinders.sww', recording=False, recordPattern='%02d.png')
6vis.add_feature(HeightQuantity('elevation'))
7vis.add_feature(HeightQuantity('stage', dynamic=True, #colour=(lambda q:q['stage'], 0.0, 10.0), offset=-0.01))
8                               colour=(0.0, 0.0, 0.8)))
9
10import cProfile
11cProfile.run('vis.run()')
Note: See TracBrowser for help on using the repository browser.