lduMatrix::debug does not work anymore in 2.2.1
Hello there,
I used lduMatrix::debug = 0 so silence the output for subiterations and set it to lduMatrix::debug = 1 afterwards. In OpenFOAM 2.1., everything works fine. In 2.2.0 or 2.2.1 the statement lduMatrix::debug = 0 does not silence the output of the solver anymore. Searching through the forums, Doxygen and the code, I could not find out what did change and adopt the line accordingly. Does anyone know, what is the matter? Thank you very much in advance, Regards, Anja |
Hello there,
I solved my problem. They changed only the name of it. Instead of Code:
lduMatrix::debug Code:
solverPerformance::debug Code:
solverPerformance::debug=0; Code:
solverPerformance::debug=1; |
silence output to terminal
Hi, I am pretty new to openfoam. Can you please guide be about where to change "solverPerformance::debug=0;"?
Thank you. |
So...
I just spent half an hour figuring this out. There are to solver performance classes: Code:
solverPerformance Code:
SolverPerformance The latter is templated, and allows you to set Code:
SolverPerformance<scalar>::debug=0 Code:
SolverPerformance<vector>::debug=0 This finally silenced all my solvers. One more tip, I use them as follows: Code:
#ifndef FULLDEBUG Code:
<awesome code wiht to much output> Code:
#ifndef FULLDEBUG This gives me solver output in debug builds but not in opt and prof builds. Yes this is uaf and not c++onic but it works. I'm very happy to get tips on how to implement this nices |
All times are GMT -4. The time now is 05:42. |