| /petsc/src/vec/vec/interface/ |
| H A D | vector.c | 2347 …Vec E, NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, PetscReal ignore_… in VecErrorWeightedNorms_Basic() argument 2363 if (vrtol) PetscCall(VecGetArrayRead(vrtol, &rtola)); in VecErrorWeightedNorms_Basic() 2392 if (vrtol) PetscCall(VecRestoreArrayRead(vrtol, &rtola)); in VecErrorWeightedNorms_Basic() 2455 …Vec E, NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, PetscReal ignore_… in VecErrorWeightedNorms() argument 2473 if (vrtol) { in VecErrorWeightedNorms() 2474 PetscValidHeaderSpecific(vrtol, VEC_CLASSID, 8); in VecErrorWeightedNorms() 2475 PetscValidType(vrtol, 8); in VecErrorWeightedNorms() 2492 if (sameop && vrtol) sameop = (PetscBool)(U->ops->errorwnorm == vrtol->ops->errorwnorm); in VecErrorWeightedNorms() 2493 …if (sameop) PetscUseTypeMethod(U, errorwnorm, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_ma… in VecErrorWeightedNorms() 2494 …else PetscCall(VecErrorWeightedNorms_Basic(U, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_ma… in VecErrorWeightedNorms()
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pvecimpl.h | 179 …Vec E, NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, PetscReal ignore_… in VecErrorWeightedNorms_MPI_Default() argument 184 …PetscCall(SeqFn(U, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_max, norm, norm_loc, norma, n… in VecErrorWeightedNorms_MPI_Default()
|
| /petsc/src/vec/vec/impls/mpi/cupm/ |
| H A D | vecmpicupm_impl.hpp | 176 …Vec E, NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, PetscReal ignore_… in ErrorWnorm() argument 179 …PetscCall(VecErrorWeightedNorms_MPI_Default(U, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_m… in ErrorWnorm()
|
| /petsc/src/ts/interface/ |
| H A D | ts.c | 1943 …if (ts->vrtol) PetscCall(PetscViewerASCIIPrintf(viewer, " using vector of relative error toleranc… in TSView() 2605 PetscCall(VecDestroy(&ts->vrtol)); in TSReset() 5157 PetscErrorCode TSSetTolerances(TS ts, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol) in TSSetTolerances() argument 5180 if (vrtol) { in TSSetTolerances() 5181 PetscCall(PetscObjectReference((PetscObject)vrtol)); in TSSetTolerances() 5182 PetscCall(VecDestroy(&ts->vrtol)); in TSSetTolerances() 5183 ts->vrtol = vrtol; in TSSetTolerances() 5206 PetscErrorCode TSGetTolerances(TS ts, PetscReal *atol, Vec *vatol, PetscReal *rtol, Vec *vrtol) in TSGetTolerances() argument 5212 if (vrtol) *vrtol = ts->vrtol; in TSGetTolerances() 5251 …PetscCall(VecErrorWeightedNorms(U, Y, NULL, wnormtype, ts->atol, ts->vatol, ts->rtol, ts->vrtol, t… in TSErrorWeightedNorm() [all …]
|
| /petsc/src/vec/vec/impls/nest/ |
| H A D | vecnest.c | 699 …Vec E, NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, PetscReal ignore_… in VecErrorWeightedNorms_Nest() argument 705 Vec_Nest *br = vrtol ? (Vec_Nest *)vrtol->data : NULL; in VecErrorWeightedNorms_Nest() 711 if (vrtol) VecNestCheckCompatible2(U, 1, vrtol, 8); in VecErrorWeightedNorms_Nest()
|
| /petsc/src/vec/vec/impls/mpi/kokkos/ |
| H A D | mpikok.kokkos.cxx | 27 …Vec E, NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, PetscReal ignore_… in VecErrorWeightedNorms_MPIKokkos() argument 30 …PetscCall(VecErrorWeightedNorms_MPI_Default(U, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_m… in VecErrorWeightedNorms_MPIKokkos()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex30.c | 1715 Vec u, p, subaux, vatol, vrtol; in SetInitialConditionsAndTolerances() local 1735 PetscCall(DMCreateGlobalVector(dm, &vrtol)); in SetInitialConditionsAndTolerances() 1739 PetscCall(VecSet(vrtol, rtol)); in SetInitialConditionsAndTolerances() 1740 PetscCall(VecISSet(vrtol, isp, -1)); in SetInitialConditionsAndTolerances() 1741 PetscCall(TSSetTolerances(ts, atol, vatol, rtol, vrtol)); in SetInitialConditionsAndTolerances() 1743 PetscCall(VecDestroy(&vrtol)); in SetInitialConditionsAndTolerances() 1831 PetscCall(DMCreateGlobalVector(dm, &vrtol)); in SetInitialConditionsAndTolerances() 1835 PetscCall(VecSet(vrtol, rtol)); in SetInitialConditionsAndTolerances() 1836 PetscCall(VecISSet(vrtol, isp, -1)); in SetInitialConditionsAndTolerances() 1837 PetscCall(TSSetTolerances(ts, atol, vatol, rtol, vrtol)); in SetInitialConditionsAndTolerances() [all …]
|
| /petsc/src/vec/vec/impls/seq/kokkos/ |
| H A D | veckok.kokkos.cxx | 1079 …Vec E, NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, PetscReal ignore_… in VecErrorWeightedNorms_SeqKokkos() argument 1098 if (vrtol) { in VecErrorWeightedNorms_SeqKokkos() 1099 PetscCall(VecGetKokkosView(vrtol, &rtola)); in VecErrorWeightedNorms_SeqKokkos() 1174 if (vrtol) PetscCall(VecRestoreKokkosView(vrtol, &rtola)); in VecErrorWeightedNorms_SeqKokkos()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | TS.pyx | 2056 cdef PetscVec vrtol = NULL 2061 vrtol = (<Vec>rtol).vec 2070 CHKERR(TSSetTolerances(self.ts, ratol, vatol, rrtol, vrtol)) 2091 cdef PetscVec vrtol = NULL 2093 CHKERR(TSGetTolerances(self.ts, &ratol, &vatol, &rrtol, &vrtol)) 2095 if vrtol != NULL: 2096 rtol = ref_Vec(vrtol)
|
| /petsc/include/petsc/private/ |
| H A D | tsimpl.h | 317 …Vec vatol, vrtol; /* Relative and absolute tolerance in vector for… member
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 1849 …Vec E, NormType wnormtype, PetscReal atol, Vec vatol, PetscReal rtol, Vec vrtol, PetscReal ignore_… in ErrorWnorm() argument 1873 const auto rptr = ConditionalDeviceArrayRead(vrtol); in ErrorWnorm() 1876 if (!vatol && !vrtol) { in ErrorWnorm() 1920 } else if (!vrtol) { in ErrorWnorm()
|