Lines Matching refs:tol
78 static PetscErrorCode IdentifyBadPoints(DM dm, Vec vec, PetscReal tol) in IdentifyBadPoints() argument
105 if (absDiff > tol) { in IdentifyBadPoints()
125 … if (absDiff > tol) PetscCall(PetscPrintf(PETSC_COMM_SELF, " Bad dof %" PetscInt_FMT "\n", c)); in IdentifyBadPoints()
143 PetscReal diff, tol = PETSC_SMALL; in main() local
168 tol = PetscMax(1.e-10, tol); /* XXX fix for quadruple precision -> why do I need to do this? */ in main()
262 if (diff < tol) { in main()
265 …DMForestTransferVecFromBase() fails with error %g and tolerance %g\n", (double)diff, (double)tol)); in main()
299 if (diff < tol) { in main()
302 …(comm, "DMForestTransferVec() fails with error %g and tolerance %g\n", (double)diff, (double)tol)); in main()
303 PetscCall(IdentifyBadPoints(postForest, postVecExact, tol)); in main()
349 if (diff < tol) { in main()
352 …DMForestTransferVecFromBase() fails with error %g and tolerance %g\n", (double)diff, (double)tol)); in main()