mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
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:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user