Add a new diagnostic algorithm for viscous dissipation which works in 2D and 3D, but assumes a constant viscosity tensor. Modify energy stats tests to use this new algorithm.
Remove all evidence of old viscous dissipation algorithm. The more I looked at this the more it concerned me. There was no viscosity term used at all and to me it looked like it was computing an incorrect definition of the strain rate tensor.
As the viscous dissipation calculation inside fluidity now includes the viscosity, there is no need to multiply by viscosity in the .xml file.
Add clarification to schema comment.
Moving to testing on Ubuntu Trusty (14.04) this test had a marginal
tolerance failure. This change relaxes tolerance slightly to get it
passing again on Trusty.
With the move to testing on Ubuntu Trusty (14.04) an error was
highlighted where packaging failed with PETSc other than version
3.1. Since Fluidity's configure now sensibly autodetects PETSc
in normal locations, PETSC_DIR and PETSC_ARCH are removed from
the packaging script with this change.
Merge pull request #8 from FluidityProject/fluidity-viscous-dissipation

Fluidity viscous dissipation
Merge in master.