Lines Matching refs:fshift
831 static PetscErrorCode MatInvertDiagonalForSOR_SeqSELL(Mat A, PetscScalar omega, PetscScalar fshift) in MatInvertDiagonalForSOR_SeqSELL() argument
841 …if (a->idiagState == ((PetscObject)A)->state && a->omega == omega && a->fshift == fshift) PetscFun… in MatInvertDiagonalForSOR_SeqSELL()
852 if (omega == 1.0 && PetscRealPart(fshift) <= 0.0) { in MatInvertDiagonalForSOR_SeqSELL()
856 …PetscCheck(PetscRealPart(fshift), PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Zero diagonal on row %" … in MatInvertDiagonalForSOR_SeqSELL()
868 idiag[i] = omega / (fshift + val[diag[i]]); in MatInvertDiagonalForSOR_SeqSELL()
874 a->fshift = fshift; in MatInvertDiagonalForSOR_SeqSELL()
1190 PetscInt fshift = 1; in MatView_SeqSELL_ASCII() local
1202 …" PetscInt_FMT " %" PetscInt_FMT " %g %g\n", i + fshift, a->colidx[shift + a->sliceheight * j] + f… in MatView_SeqSELL_ASCII()
1204 … "%" PetscInt_FMT " %" PetscInt_FMT " %g\n", i + fshift, a->colidx[shift + a->sliceheight * j] + f… in MatView_SeqSELL_ASCII()
1687 PetscErrorCode MatSOR_SeqSELL(Mat A, Vec bb, PetscReal omega, MatSORType flag, PetscReal fshift, Pe… in MatSOR_SeqSELL() argument
1699 PetscCall(MatInvertDiagonalForSOR_SeqSELL(A, omega, fshift)); in MatSOR_SeqSELL()
2172 b->fshift = 0.0; in MatCreate_SeqSELL()