CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Where define the piM_PI and eM_E (https://www.cfd-online.com/Forums/openfoam-solving/60463-where-define-pim_pi-em_e.html)

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.

Hrv


All times are GMT -4. The time now is 20:33.