add some mathematical constants

cf. OpenFOAM mathematicalConstants.H
This commit is contained in:
danielque
2017-08-24 17:06:23 +02:00
parent 5b8072b11a
commit 8df363cf97

View File

@ -44,6 +44,28 @@ Description
#define TOLERANCE_ORTHO 1e-10
namespace Foam
{
namespace constant
{
namespace mathematical
{
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
const scalar piByFour(0.25*pi);
const scalar fourPiByThree(4.0*pi/3.0);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace mathematical
} // End namespace constant
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
namespace MathExtra
{