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