CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Where define the piM_PI and eM_E

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 15, 2005, 07:57
Default In src/OpenFOAM/primitives/sca
  #1
Member
 
Leosding
Join Date: Mar 2009
Posts: 51
Rep Power: 8
leosding is on a distinguished road
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?
leosding is offline   Reply With Quote

Old   October 15, 2005, 08:09
Default Part of C++ standard template
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Part of C++ standard template library. Look at the standarddocument or STL documentation.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to define Cp using UDF? Feng FLUENT 5 November 15, 2012 17:36
How to define RH swamy CFX 0 October 6, 2006 09:13
define mass transfer - define source greg FLUENT 0 September 8, 2006 11:27
how can i define it wayne FLUENT 1 August 6, 2004 00:43
define my own DEFINE macro? to model pithing naca calogero FLUENT 0 April 10, 2003 05:10


All times are GMT -4. The time now is 00:48.