diff --git a/src/OpenFOAM/matrices/lduMatrix/smoothers/FDIC/FDICSmoother.C b/src/OpenFOAM/matrices/lduMatrix/smoothers/FDIC/FDICSmoother.C index 8c0e1a3cd5..a061319cb0 100644 --- a/src/OpenFOAM/matrices/lduMatrix/smoothers/FDIC/FDICSmoother.C +++ b/src/OpenFOAM/matrices/lduMatrix/smoothers/FDIC/FDICSmoother.C @@ -26,7 +26,7 @@ License \*---------------------------------------------------------------------------*/ #include "FDICSmoother.H" -#include "FDICPreconditioner.H" +#include "DICPreconditioner.H" #include "PrecisionAdaptor.H" // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // @@ -59,13 +59,13 @@ Foam::FDICSmoother::FDICSmoother interfaceIntCoeffs, interfaces ), - rD_(matrix_.diag()), + rD_(matrix_.diag().size()), rDuUpper_(matrix_.upper().size()), rDlUpper_(matrix_.upper().size()) { - scalar* __restrict__ rDPtr = rD_.begin(); - scalar* __restrict__ rDuUpperPtr = rDuUpper_.begin(); - scalar* __restrict__ rDlUpperPtr = rDlUpper_.begin(); + solveScalar* __restrict__ rDPtr = rD_.begin(); + solveScalar* __restrict__ rDuUpperPtr = rDuUpper_.begin(); + solveScalar* __restrict__ rDlUpperPtr = rDlUpper_.begin(); const label* const __restrict__ uPtr = matrix_.lduAddr().upperAddr().begin(); @@ -74,19 +74,12 @@ Foam::FDICSmoother::FDICSmoother const scalar* const __restrict__ upperPtr = matrix_.upper().begin(); - const label nCells = rD_.size(); const label nFaces = matrix_.upper().size(); - for (label face=0; face