Changeset 8070
- Timestamp:
- Nov 16, 2010, 7:35:01 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/neighbour_mesh.py
r7968 r8070 635 635 assert abs((area - ref)/area) < epsilon, msg 636 636 637 msg = 'Triangle (%f,%f), (%f,%f), (%f, %f)' % (x0,y0,x1,y1,x2,y2) 638 msg += ' is degenerate: area == %f' % self.areas[i] 639 assert area > 0.0, msg 640 637 641 # Check that points are arranged in counter clock-wise order 638 642 v0 = [x1-x0, y1-y0]
Note: See TracChangeset
for help on using the changeset viewer.