Searched refs:tols (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | ex118.c | 15 PetscReal *work, tols[2]; in main() 88 tols[0] = 1.e-8; in main() 89 tols[1] = 1.e-8; in main() 90 PetscCall(CkEigenSolutions(cklvl, T, il - 1, iu - 1, evals, evecs, tols)); in main() 125 …ons(PetscInt cklvl, Mat A, PetscInt il, PetscInt iu, PetscScalar *eval, Vec *evec, PetscReal *tols) in CkEigenSolutions() argument 154 if (dot > tols[1]) { in CkEigenSolutions() 174 …if (norm > tols[0]) PetscCall(PetscPrintf(PETSC_COMM_SELF, " residual violation: %d, resi: %g\n",… in CkEigenSolutions()
|
| H A D | ex116.c | 29 PetscReal tols[2]; in main() local 112 tols[0] = tols[1] = PETSC_SQRT_MACHINE_EPSILON; in main() 113 PetscCall(CkEigenSolutions(cklvl, A, il - 1, iu - 1, evals, evecs, tols)); in main() 196 …tions(PetscInt cklvl, Mat A, PetscInt il, PetscInt iu, PetscReal *eval, Vec *evec, PetscReal *tols) in CkEigenSolutions() argument 223 if (dot > tols[1]) { in CkEigenSolutions() 242 …if (norm > tols[0]) PetscCall(PetscPrintf(PETSC_COMM_SELF, " residual violation: %" PetscInt_FMT … in CkEigenSolutions()
|
| H A D | ex120.c | 21 PetscReal tols[2]; in main() local 216 tols[0] = PETSC_SQRT_MACHINE_EPSILON; in main() 217 tols[1] = PETSC_SQRT_MACHINE_EPSILON; in main() 218 PetscCall(CkEigenSolutions(cklvl, A, il - 1, iu - 1, evals, evecs, tols)); in main() 246 …tions(PetscInt cklvl, Mat A, PetscInt il, PetscInt iu, PetscReal *eval, Vec *evec, PetscReal *tols) in CkEigenSolutions() argument 273 if (rdot > tols[1]) { in CkEigenSolutions() 292 …if (norm > tols[0]) PetscCall(PetscPrintf(PETSC_COMM_WORLD, " residual violation: %" PetscInt_FMT… in CkEigenSolutions()
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_pc_py.py | 32 def applyRich(self, pc, x, y, w, tols): argument 129 def applyRichardson(self, pc, x, y, w, tols): argument 130 self._log('applyRichardson', pc, x, y, w, tols) 131 self.impl.applyRich(pc, x, y, w, tols)
|
| H A D | test_ksp.py | 34 tols = self.ksp.getTolerances() 35 self.ksp.setTolerances(*tols) 38 self.assertEqual(tuple(tols), tuple(tolvals))
|
| H A D | test_snes.py | 67 tols = self.snes.getTolerances() 68 self.snes.setTolerances(*tols) 71 self.assertEqual(tuple(tols), tuple(tolvals))
|