Skip to content

Commit 42e3f0a

Browse files
committed
Update print-2d.out and print-3d.out
1 parent aebbe43 commit 42e3f0a

File tree

3 files changed

+399
-12
lines changed

3 files changed

+399
-12
lines changed

Src/LinearSolvers/MLMG/AMReX_MLCGSolver.H

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ template <typename MF>
8080
int
8181
MLCGSolverT<MF>::solve (MF& sol, const MF& rhs, RT eps_rel, RT eps_abs)
8282
{
83+
verbose = 5;
8384
if (solver_type == Type::BiCGStab) {
8485
return solve_bicgstab(sol,rhs,eps_rel,eps_abs);
8586
} else {
@@ -105,11 +106,10 @@ MLCGSolverT<MF>::solve_bicgstab (MF& sol, const MF& rhs, RT eps_rel, RT eps_abs)
105106
std::string Iteration = TitleIteration + std::to_string(0);
106107
std::string Post_Calc = TitlePost_Calc + std::to_string(0);
107108

108-
amrex::Print() << "MLCGSolver_BiCGStab: nghost = " << nghost << "\n";
109-
amrex::Print() << "MLCGSolver_BiCGStab: ngrow = " << sol.nGrowVect() << "\n";
110-
111109
ngrow = sol.nGrowVect();
112-
verbose = 3;
110+
111+
amrex::Print() << "MLCGSolver_BiCGStab: nghost = " << nghost << "\n";
112+
amrex::Print() << "MLCGSolver_BiCGStab: ngrow = " << ngrow << "\n";
113113

114114
const int ncomp = sol.nComp();
115115

0 commit comments

Comments
 (0)