GAMGSolverSolve: scale coarsest level if using interpolation
This commit is contained in:
parent
3422564872
commit
364cfd76d2
@ -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
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user