Clean up cshake() and resolve old issues
authorMark Abraham <mark.j.abraham@gmail.com>
Thu, 11 Sep 2014 10:01:14 +0000 (12:01 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 9 Oct 2014 13:59:13 +0000 (15:59 +0200)
C++ conversion in Id190e36 exposed some "interesting" use of the
variable toler caused by an ancient bug that has since been resolved.
Investigation showed that variable never meant anything to do with a
tolerance!

Renamed a bunch of variables for clarity and consistency. Documented
the core function. Clarified code comments and manual sections
accordingly.

Added some unit tests while trying to understand what things were
actually going on.

Refs #1255

Change-Id: I5b5eee0b8f3f4761ce9cb681dbdb0d4526a6761d


No differences found