Skip to content

Commit 357fd2d

Browse files
set verbosity for gmres
1 parent 1c4fdcf commit 357fd2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExampleCodes/EB/NodalPoisson/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ int main (int argc, char* argv[])
158158
const Real tol_abs = 0.0;
159159

160160
mlmg.setVerbose(verbose);
161-
162161
// Solve linear system
163162
phi.setVal(0.0); // initial guess for phi
164163

165164
if (use_GMRES) {
166165
amrex::GMRESMLMG gmsolve(mlmg);
166+
gmsolve.setVerbose(verbose);
167167
gmsolve.solve(phi, q, tol_rel, tol_abs);
168168
amrex::Vector<amrex::MultiFab> vmf;
169169
vmf.emplace_back(phi, amrex::make_alias, 0, phi.nComp());

0 commit comments

Comments
 (0)