Last change
on this file since 5079 was
4734,
checked in by jack, 18 years ago
|
Added quick run for testing during development.
|
-
Property svn:executable set to
*
|
File size:
472 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | from sww_visualiser import SWWVisualiser |
---|
3 | from height_quantity import HeightQuantity |
---|
4 | |
---|
5 | vis = SWWVisualiser(source='../../anuga_viewer/tests/cylinders.sww', recording=False, recordPattern='%02d.png') |
---|
6 | vis.add_feature(HeightQuantity('elevation')) |
---|
7 | vis.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 | |
---|
10 | import profile |
---|
11 | profile.run('vis.run()') |
---|
Note: See
TracBrowser
for help on using the repository browser.