Bård Skaflestad 84aad52d81 Fix logic error in defining "left" reservoir half in scenario 2.
Specifically, we must map into 0..cd[0]-1 and not some other
interval.  Moreover, as the "i" index cycles the most rapidly in
lexicographical ordering, a simple first dimension modulus operator is
sufficient.

On the other hand, this code does assume lexicographical ordering of
the cells which may or may not be guaranteed by the grid constructor.
The Cartesian constructors observe this behaviour, but other
constructors may not...
2012-02-27 19:59:01 +01:00
2011-12-21 11:21:09 +00:00
2012-02-10 14:59:40 +01:00
Description
Collection of utilities, solvers and other components.
15 MiB
Languages
C++ 83%
C 15.9%
CMake 1%