Changeset 7585


Ignore:
Timestamp:
Dec 9, 2009, 1:45:09 PM (9 years ago)
Author:
ole
Message:

Added better error message in the rare case of negative triangle area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/shallow_water_ext.c

    r7519 r7585  
    13511351      {
    13521352        PyErr_SetString(PyExc_RuntimeError,
    1353                         "shallow_water_ext.c: negative triangle area encountered");
     1353                        "shallow_water_ext.c: Negative triangle area encountered. This might be due to a triangle being flat or it's vertices not order anti-clockwise.");
    13541354   
    13551355        return -1;
Note: See TracChangeset for help on using the changeset viewer.