CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Where define the piM_PI and eM_E (

leosding October 15, 2005 07:57

In src/OpenFOAM/primitives/sca
In src/OpenFOAM/primitives/scalar/physicalConstants.H:
const scalar pi(M_PI);
const scalar e(M_E);

but I can't find where defined M_PI and M_E?

hjasak October 15, 2005 08:09

Part of C++ standard template
Part of C++ standard template library. Look at the standarddocument or STL documentation.


All times are GMT -4. The time now is 15:43.