pyne/pyne — pull request #554 by elliottbiondo (2014-10-27 18:57:05+00:00)
Title: Fixes for working CADIS

This PR fixes several issues I encountered implementing a CADIS method.

```Wwinp``` class:

1. All wwinp printing is now done using the proper fixed-width specifications as given in the MCNP5 Manual Vol III Appendix J.
2. The tolerance for differentiating between fine and course mesh points was tightened from 1E-2 to 1E-4. This prevents adjacent fine mesh intervals from being lumped together into a single fine mesh interval.

```cadis``` function:

1. Within the CADIS method the response is defined *per source particle*. The CADIS function now properly normalizes the source density PDF. Also, before I was calculating a separate response for each energy group, which is incorrect.
2. Handle the cases where the adjoint flux is 0 for a given energy bin (preventing division by zero).