Searched refs:maxDiff (Results 1 – 2 of 2) sorted by relevance
209 PetscReal maxDiff = 0.; in VecTaggerComputeBox_CDF_SortedArray_Iterative() local262 maxDiff = PetscMax(maxDiff, diff); in VecTaggerComputeBox_CDF_SortedArray_Iterative()264 if (!maxDiff) PetscFunctionReturn(PETSC_SUCCESS); in VecTaggerComputeBox_CDF_SortedArray_Iterative()265 …if ((atol || rtol) && ((!atol) || (maxDiff <= atol)) && ((!rtol) || (maxDiff <= rtol * intervalLen… in VecTaggerComputeBox_CDF_SortedArray_Iterative()
659 PetscReal maxDiff, maxDiffGlob; in TestFVGrad() local690 maxDiff = 0.; in TestFVGrad()705 maxDiff = PetscMax(maxDiff, FrobDiff); in TestFVGrad()707 PetscCallMPI(MPIU_Allreduce(&maxDiff, &maxDiffGlob, 1, MPIU_REAL, MPIU_MAX, comm)); in TestFVGrad()