Reverted the Americanism "math" back to the original "mathematical" and reverted name of

the include file back to mathematicalConstants.H to make upgrading code slightly easier.
This commit is contained in:
henry
2009-10-10 22:58:58 +01:00
parent d416664301
commit e9da288118
129 changed files with 422 additions and 417 deletions

View File

@ -25,7 +25,7 @@ License
\*---------------------------------------------------------------------------*/
#include "kShellIntegration.H"
#include "mathConstants.H"
#include "mathematicalConstants.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -51,12 +51,12 @@ graph kShellIntegration
// spectra E(k). int E(k) dk is now the total energy in a box
// of side 2pi
y *= sqr(x)*4.0*constant::math::pi;
y *= sqr(x)*4.0*constant::mathematical::pi;
// now scale this to get the energy in a box of side l0
scalar l0(K.sizeOfBox()[0]*(scalar(K.nn()[0])/(scalar(K.nn()[0]) - 1.0)));
scalar factor = pow3(l0/constant::math::twoPi);
scalar factor = pow3(l0/constant::mathematical::twoPi);
y *= factor;