maybee |
December 14, 2013 06:13 |
static int debug
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 :
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
|