CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

static int debug

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2013, 07:13
Default static int debug
  #1
Senior Member
 
Join Date: Jan 2012
Posts: 166
Rep Power: 14
maybee is on a distinguished road
hi,bool Foam:: pimpleControl::loop()

inter alia in method "bool Foam:: pimpleControl::loop()" can be found a variable called "debug" within the first if condition:

Code:
bool Foam::pimpleControl::loop()      //Implements solutionControl.
174*{
175* read();                               
176*                                              
177* corr_++;  //label corr_ protected, Current corrector loop index. //Class solutionControl
178*
179* if (debug)  //static int debug, Debug Switch , fvSchemes ?
180* {
181* Info<< algorithmName_ << " loop: corr = " << corr_ << endl;
182* } 
.
.
.
"static int debug" (for example in class fvSchemes) is defined with :

Quote:
Debug switch.
So, what is the meaning behind "debug"? Since it is really often used in if conditions of solvers it, I need to know it.

greetings
maybee
maybee is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with pow and volScalarField _Stefan_ OpenFOAM Programming & Development 15 April 14, 2019 23:20
error: uninitialized local variable 't' used MASOUD Fluent UDF and Scheme Programming 5 October 17, 2016 05:24
defining a term for a domain using DEFINE_ADJUST MASOUD Fluent UDF and Scheme Programming 1 September 24, 2010 06:08
OpenFOAM-1.5-dev svn revision 1438: libOpenFOAM does not compile in SP 4xF OpenFOAM Bugs 3 October 16, 2009 06:35
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38


All times are GMT -4. The time now is 02:24.