Lines Matching refs:scale
63 PetscReal scale; /* for scaling rowl1 off-diagonals */ member
113 j->scale = flg; in PCJacobiSetRowl1Scale_Jacobi()
122 *flg = j->scale; in PCJacobiGetRowl1Scale_Jacobi()
238 if (jac->scale != 1.0) { in PCSetUp_Jacobi()
243 PetscCall(VecScale(diag, jac->scale)); // scale off-diag in PCSetUp_Jacobi()
442 …of off-diagonal elements for rowl1", "PCJacobiSetRowl1Scale", jac->scale, &jac->scale, NULL, 0.0, … in PCSetFromOptions_Jacobi()
458 PetscReal scale; in PCView_Jacobi() local
463 PetscCall(PCJacobiGetRowl1Scale(pc, &scale)); in PCView_Jacobi()
465 …te value of entries" : "", !fixdiag ? ", not checking null diagonal entries" : "", (double)scale)); in PCView_Jacobi()
530 jac->scale = 1.0; in PCCreate_Jacobi()
631 PetscErrorCode PCJacobiSetRowl1Scale(PC pc, PetscReal scale) in PCJacobiSetRowl1Scale() argument
635 PetscTryMethod(pc, "PCJacobiSetRowl1Scale_C", (PC, PetscReal), (pc, scale)); in PCJacobiSetRowl1Scale()
654 PetscErrorCode PCJacobiGetRowl1Scale(PC pc, PetscReal *scale) in PCJacobiGetRowl1Scale() argument
658 PetscUseMethod(pc, "PCJacobiGetRowl1Scale_C", (PC, PetscReal *), (pc, scale)); in PCJacobiGetRowl1Scale()