Changeset 7317 for anuga_core/source/anuga/pmesh/mesh_interface.py
- Timestamp:
- Jul 22, 2009, 9:22:11 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/pmesh/mesh_interface.py
r7276 r7317 5 5 import numpy as num 6 6 from anuga.utilities.polygon import inside_polygon 7 7 import anuga.utilities.log as log 8 8 9 9 … … 151 151 #raise Exception, msg 152 152 # Fixme: Use proper Python warning 153 if verbose: print 'WARNING: ', msg153 if verbose: log.critical('WARNING: %s' % msg) 154 154 155 155 … … 187 187 else: 188 188 msg += ' I will ignore it.' 189 print msg189 log.critical(msg) 190 190 191 191 else: … … 313 313 return m 314 314 else: 315 if verbose: print 'Generating mesh to file "%s"' %filename315 if verbose: log.critical("Generating mesh to file '%s'" % filename) 316 316 m.generate_mesh(minimum_triangle_angle=minimum_triangle_angle, 317 317 verbose=verbose)
Note: See TracChangeset
for help on using the changeset viewer.