Skip to content
Snippets Groups Projects
Commit 364cfd76 authored by Henry's avatar Henry
Browse files

GAMGSolverSolve: scale coarsest level if using interpolation

parent 34225648
No related merge requests found
......@@ -352,7 +352,11 @@ void Foam::GAMGSolver::Vcycle
// Scale coarse-grid correction field
// but not on the coarsest level because it evaluates to 1
if (scaleCorrection_ && leveli < coarsestLevel - 1)
if
(
scaleCorrection_
&& (interpolateCorrection_ || leveli < coarsestLevel - 1)
)
{
scale
(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment