Foam::DICPreconditioner::DICPreconditioner ( const lduMatrix::solver& sol, const dictionary& ) : lduMatrix::preconditioner(sol), rD_(sol.matrix().diag()) { calcReciprocalD(rD_, sol.matrix()); }
Foam::DILUPreconditioner::DILUPreconditioner ( const lduMatrix& matrix, const FieldField<Field, scalar>& coupleBouCoeffs, const FieldField<Field, scalar>& coupleIntCoeffs, const lduInterfaceFieldPtrsList& interfaces, const dictionary& ) : lduPreconditioner ( matrix, coupleBouCoeffs, coupleIntCoeffs, interfaces ), rD_(matrix.diag()) { calcReciprocalD(rD_, matrix); }