mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GAMGSolverSolve: scale coarsest level if using interpolation
This commit is contained in:
@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user