[GRASS-user] r.damflood and Courant-Friedrich-Lewy stability condition

Panagiotis Mavrogiorgos pmav99 at gmail.com
Wed Dec 30 15:40:21 PST 2015

Hi all,

In r.damflood if you try to run a calculation using invalid input you get a
warning WRT Courant-Friedrich-Lewy stability condition
If the wikipedia article is accurate and it is indeed a necessary condition
for convergence wouldn't it make sense to raise a fatal error (or whatever
is more appropriate) as soon as the condition isn't respected? I mean I
don't see much point in running a potentially lengthy simulation that will
give meaningless results. Am I wrong in this?

If my suggestion has indeed merit, could anyone suggest the most
appropriate way to do this?I don't mind submitting a patch but I am afraid
that I am not really familiar with GRASS C APIs.

These are the relevant lines:

thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20151231/10b38d21/attachment.html>

More information about the grass-user mailing list