mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
add some mathematical constants
cf. OpenFOAM mathematicalConstants.H
This commit is contained in:
@ -44,6 +44,28 @@ Description
|
|||||||
|
|
||||||
#define TOLERANCE_ORTHO 1e-10
|
#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
|
namespace MathExtra
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user