mit-crpg/openmc — pull request #299 by paulromano (2014-07-29 04:21:26+00:00)
Title: Fix distance-to-surface calculation for general plane surface

There is currently a bug in the distance-to-surface calculation for a general plane of the form Ax + By + Cz = D, i.e. ``. However, the bug does not affect the calculation if C=0. I don't know of any existing OpenMC models that use the general plane surface where C is non-zero. The correct formula for distance-to-surface for a plane can be found [here](http://mit-crpg.github.io/openmc/methods/geometry.html#generic-plane).

None of the models in the test suite are affected. Same for all of our [ICSBEP benchmark models](https://github.com/mit-crpg/benchmarks).