Home
last modified time | relevance | path

Searched refs:tolr (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexegads.c99 PetscScalar dx, dy, dz, lambda, tolr, obj_old, obj_tmp, target; in DMPlex_EGADS_EDGE_XYZtoUV_Internal() local
106 tolr = 1.0; in DMPlex_EGADS_EDGE_XYZtoUV_Internal()
110 while (tolr >= target) { in DMPlex_EGADS_EDGE_XYZtoUV_Internal()
118 tolr = obj_old; in DMPlex_EGADS_EDGE_XYZtoUV_Internal()
155 tolr = obj_old; in DMPlex_EGADS_EDGE_XYZtoUV_Internal()
165 tolr = obj_old; in DMPlex_EGADS_EDGE_XYZtoUV_Internal()
169 tolr = obj_old; in DMPlex_EGADS_EDGE_XYZtoUV_Internal()
182 PetscScalar dx, dy, dz, lambda, tolr, obj_old, obj_tmp, target; in DMPlex_Geom_EDGE_XYZtoUV_Internal() local
189 tolr = 1.0; in DMPlex_Geom_EDGE_XYZtoUV_Internal()
193 while (tolr >= target) { in DMPlex_Geom_EDGE_XYZtoUV_Internal()
[all …]
/petsc/src/vec/vec/impls/seq/kokkos/
H A Dveckok.kokkos.cxx1107 PetscReal err, tol, tola, tolr, l_atol, l_rtol; in VecErrorWeightedNorms_SeqKokkos()
1113 tolr = l_rtol * PetscMax(PetscAbsScalar(u(i)), PetscAbsScalar(y(i))); in VecErrorWeightedNorms_SeqKokkos()
1114 tol = tola + tolr; in VecErrorWeightedNorms_SeqKokkos()
1119 if (tolr > 0.) { in VecErrorWeightedNorms_SeqKokkos()
1120 l_nrmr = PetscMax(l_nrmr, err / tolr); in VecErrorWeightedNorms_SeqKokkos()
1134 PetscReal err, tol, tola, tolr, l_atol, l_rtol; in VecErrorWeightedNorms_SeqKokkos()
1140 tolr = l_rtol * PetscMax(PetscAbsScalar(u(i)), PetscAbsScalar(y(i))); in VecErrorWeightedNorms_SeqKokkos()
1141 tol = tola + tolr; in VecErrorWeightedNorms_SeqKokkos()
1146 if (tolr > 0.) { in VecErrorWeightedNorms_SeqKokkos()
1147 l_nrmr += PetscSqr(err / tolr); in VecErrorWeightedNorms_SeqKokkos()
/petsc/src/vec/vec/interface/
H A Dvector.c2365 PetscReal err, tol, tola, tolr; in VecErrorWeightedNorms_Basic() local
2372 tolr = rtol * PetscMax(PetscAbsScalar(u[i]), PetscAbsScalar(y[i])); in VecErrorWeightedNorms_Basic()
2373 tol = tola + tolr; in VecErrorWeightedNorms_Basic()
2379 if (tolr > 0.) { in VecErrorWeightedNorms_Basic()
2380 if (wnormtype == NORM_INFINITY) nrmr = PetscMax(nrmr, err / tolr); in VecErrorWeightedNorms_Basic()
2381 else nrmr += PetscSqr(err / tolr); in VecErrorWeightedNorms_Basic()
/petsc/src/vec/vec/impls/seq/cupm/
H A Dvecseqcupm_impl.hpp1727 const auto tolr = skip ? 0.0 : PetscRealPart(thrust::get<3>(x)) * PetscMax(au, ay); in operator ()() local
1728 const auto tol = tola + tolr; in operator ()()
1731 const auto tup_r = this->compute_norm_(err, tolr); in operator ()()
1752 const auto tolr = skip ? 0.0 : PetscRealPart(thrust::get<4>(x)) * PetscMax(au, ay); in operator ()() local
1753 const auto tol = tola + tolr; in operator ()()
1756 const auto tup_r = this->compute_norm_(err, tolr); in operator ()()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DTS.pyx2337 cdef PetscReal tolr = PETSC_CURRENT
2341 tolr = asReal(tol)
2346 CHKERR(TSSetEventTolerances(self.ts, tolr, vtolr))