source: anuga_work/development/sudi/sw_1d/periodic_waves/cg/error.py @ 7837

Last change on this file since 7837 was 7837, checked in by mungkasi, 14 years ago

Again, adding some codes for 1d problems on debris avalanche and periodic waves.

File size: 192 bytes
Line 
1## module error
2''' err(string).
3    Prints 'string' and terminates program.
4'''   
5import sys
6def err(string):
7    print string
8    raw_input('Press return to exit')
9    sys.exit()
Note: See TracBrowser for help on using the repository browser.