ENH: Updated usage for Info()

This commit is contained in:
andy 2014-01-02 18:20:09 +00:00
parent 7f272430c8
commit 78f700c2aa
4 changed files with 17 additions and 17 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -131,7 +131,7 @@ Foam::solverPerformance Foam::GAMGSolver::solve
if (debug >= 2)
{
solverPerf.print(Info(matrix().mesh().comm()));
solverPerf.print(Info.masterStream(matrix().mesh().comm()));
}
} while
(
@ -631,7 +631,7 @@ void Foam::GAMGSolver::solveCoarsestLevel
//
// if (debug >= 2)
// {
// coarseSolverPerf.print(Info(coarseComm));
// coarseSolverPerf.print(Info.masterStream(coarseComm));
// }
//
// Pout<< "procAgglom: coarsestSource :" << coarsestSource << endl;
@ -679,7 +679,7 @@ void Foam::GAMGSolver::solveCoarsestLevel
if (debug >= 2)
{
coarseSolverPerf.print(Info(coarseComm));
coarseSolverPerf.print(Info.masterStream(coarseComm));
}
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -132,7 +132,7 @@ Foam::solverPerformance Foam::smoothSolver::solve
if (lduMatrix::debug >= 2)
{
Info(matrix().mesh().comm())
Info.masterStream(matrix().mesh().comm())
<< " Normalisation factor = " << normFactor << endl;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -60,7 +60,7 @@ Foam::solverPerformance Foam::fvMatrix<Type>::solve
{
if (debug)
{
Info(this->mesh().comm())
Info.masterStream(this->mesh().comm())
<< "fvMatrix<Type>::solve(const dictionary& solverControls) : "
"solving fvMatrix<Type>"
<< endl;
@ -108,7 +108,7 @@ Foam::solverPerformance Foam::fvMatrix<Type>::solveSegregated
{
if (debug)
{
Info(this->mesh().comm())
Info.masterStream(this->mesh().comm())
<< "fvMatrix<Type>::solveSegregated"
"(const dictionary& solverControls) : "
"solving fvMatrix<Type>"
@ -202,7 +202,7 @@ Foam::solverPerformance Foam::fvMatrix<Type>::solveSegregated
if (solverPerformance::debug)
{
solverPerf.print(Info(this->mesh().comm()));
solverPerf.print(Info.masterStream(this->mesh().comm()));
}
solverPerfVec = max(solverPerfVec, solverPerf);
@ -228,7 +228,7 @@ Foam::solverPerformance Foam::fvMatrix<Type>::solveCoupled
{
if (debug)
{
Info(this->mesh().comm())
Info.masterStream(this->mesh().comm())
<< "fvMatrix<Type>::solveCoupled"
"(const dictionary& solverControls) : "
"solving fvMatrix<Type>"
@ -269,7 +269,7 @@ Foam::solverPerformance Foam::fvMatrix<Type>::solveCoupled
if (SolverPerformance<Type>::debug)
{
solverPerf.print(Info(this->mesh().comm()));
solverPerf.print(Info.masterStream(this->mesh().comm()));
}
psi.correctBoundaryConditions();

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -61,7 +61,7 @@ Foam::fvMatrix<Foam::scalar>::solver
{
if (debug)
{
Info(this->mesh().comm())
Info.masterStream(this->mesh().comm())
<< "fvMatrix<scalar>::solver(const dictionary& solverControls) : "
"solver for fvMatrix<scalar>"
<< endl;
@ -120,7 +120,7 @@ Foam::solverPerformance Foam::fvMatrix<Foam::scalar>::fvSolver::solve
if (solverPerformance::debug)
{
solverPerf.print(Info(fvMat_.mesh().comm()));
solverPerf.print(Info.masterStream(fvMat_.mesh().comm()));
}
fvMat_.diag() = saveDiag;
@ -141,7 +141,7 @@ Foam::solverPerformance Foam::fvMatrix<Foam::scalar>::solveSegregated
{
if (debug)
{
Info(this->mesh().comm())
Info.masterStream(this->mesh().comm())
<< "fvMatrix<scalar>::solveSegregated"
"(const dictionary& solverControls) : "
"solving fvMatrix<scalar>"
@ -170,7 +170,7 @@ Foam::solverPerformance Foam::fvMatrix<Foam::scalar>::solveSegregated
if (solverPerformance::debug)
{
solverPerf.print(Info(mesh().comm()));
solverPerf.print(Info.masterStream(mesh().comm()));
}
diag() = saveDiag;