CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   fv::debug (https://www.cfd-online.com/Forums/openfoam-programming-development/128515-fv-debug.html)

maybee January 14, 2014 09:34

fv::debug
 
hi,

within method

Code:

tmp<convectionScheme<Type> > convectionScheme<Type>::New 
(
const fvMesh& mesh,
const surfaceScalarField& faceFlux,
Istream& schemeData
)

is found

Code:

if (fv::debug)
65* {
66* Info<< "convectionScheme<Type>::New"
67* "(const fvMesh&, const surfaceScalarField&, Istream&) : "
68* "constructing convectionScheme<Type>"
69* << endl;
70* }

Can somebody tell me what "fv::debug" is exactly for? I have seen the use of similar if loops like "if (...debug)" in the multiphaseEulerFoam solver a few times, but just don't know what the if loops like this (e.g. above) are good for.

greetings
maybee


All times are GMT -4. The time now is 05:06.