| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pvecimpl.h | 179 …rorCode VecErrorWeightedNorms_MPI_Default(Vec U, Vec Y, Vec E, NormType wnormtype, PetscReal atol,… 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() 185 if (wnormtype == NORM_2) { in VecErrorWeightedNorms_MPI_Default() 197 if (wnormtype == NORM_2) { in VecErrorWeightedNorms_MPI_Default() 203 if (wnormtype == NORM_2) { in VecErrorWeightedNorms_MPI_Default()
|
| /petsc/src/ts/adapt/impls/basic/ |
| H A D | adaptbasic.c | 20 PetscCall(TSEvaluateWLTE(ts, adapt->wnormtype, &order, &enorm)); in TSAdaptChoose_Basic() 29 PetscCall(TSErrorWeightedNorm(ts, ts->vec_sol, Y, adapt->wnormtype, &enorm, &enorma, &enormr)); in TSAdaptChoose_Basic()
|
| /petsc/src/vec/vec/interface/ |
| H A D | vector.c | 2347 static PetscErrorCode VecErrorWeightedNorms_Basic(Vec U, Vec Y, Vec E, NormType wnormtype, PetscRea… in VecErrorWeightedNorms_Basic() argument 2375 if (wnormtype == NORM_INFINITY) nrma = PetscMax(nrma, err / tola); in VecErrorWeightedNorms_Basic() 2380 if (wnormtype == NORM_INFINITY) nrmr = PetscMax(nrmr, err / tolr); in VecErrorWeightedNorms_Basic() 2385 if (wnormtype == NORM_INFINITY) nrm = PetscMax(nrm, err / tol); in VecErrorWeightedNorms_Basic() 2403 if (wnormtype == NORM_2) { in VecErrorWeightedNorms_Basic() 2409 if (wnormtype == NORM_2) { in VecErrorWeightedNorms_Basic() 2455 PetscErrorCode VecErrorWeightedNorms(Vec U, Vec Y, Vec E, NormType wnormtype, PetscReal atol, Vec v… in VecErrorWeightedNorms() argument 2466 PetscValidLogicalCollectiveEnum(U, wnormtype, 4); in VecErrorWeightedNorms() 2484 …k(wnormtype == NORM_2 || wnormtype == NORM_INFINITY, PetscObjectComm((PetscObject)U), PETSC_ERR_SU… in VecErrorWeightedNorms() 2493 …if (sameop) PetscUseTypeMethod(U, errorwnorm, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_ma… in VecErrorWeightedNorms() [all …]
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 1684 template <NormType wnormtype> 1702 return {wnormtype == NORM_INFINITY ? val : PetscSqr(val), 1}; in compute_norm_() 1711 template <NormType wnormtype> 1712 struct ErrorWNormTransform : ErrorWNormTransformBase<wnormtype> { 1713 using base_type = ErrorWNormTransformBase<wnormtype>; 1738 template <NormType wnormtype> 1739 struct ErrorWNormETransform : ErrorWNormTransformBase<wnormtype> { 1740 using base_type = ErrorWNormTransformBase<wnormtype>; 1763 template <NormType wnormtype> 1765 using value_type = typename ErrorWNormTransformBase<wnormtype>::result_type; [all …]
|
| /petsc/src/ts/adapt/impls/glee/ |
| H A D | adaptglee.c | 37 PetscCall(TSErrorWeightedENorm(ts, E, X, X, adapt->wnormtype, &enorm, &enorma, &enormr)); in TSAdaptChoose_GLEE() 45 PetscCall(TSErrorWeightedNorm(ts, X, Y, adapt->wnormtype, &enorm, &enorma, &enormr)); in TSAdaptChoose_GLEE()
|
| /petsc/src/ts/adapt/interface/ |
| H A D | tsadapt.c | 783 …for error estimation", "", NormTypes, (PetscEnum)adapt->wnormtype, (PetscEnum *)&adapt->wnormtype,… in TSAdaptSetFromOptions() 784 …PetscCheck(adapt->wnormtype == NORM_2 || adapt->wnormtype == NORM_INFINITY, PetscObjectComm((Petsc… in TSAdaptSetFromOptions() 1164 adapt->wnormtype = NORM_2; in TSAdaptCreate()
|
| /petsc/src/ts/impls/implicit/alpha/ |
| H A D | alpha2.c | 295 static PetscErrorCode TSEvaluateWLTE_Alpha(TS ts, NormType wnormtype, PetscInt *order, PetscReal *w… in TSEvaluateWLTE_Alpha() argument 346 PetscCall(TSErrorWeightedNorm(ts, X, Y, wnormtype, &enormX, &enormXa, &enormXr)); in TSEvaluateWLTE_Alpha() 347 PetscCall(TSErrorWeightedNorm(ts, V, Z, wnormtype, &enormV, &enormVa, &enormVr)); in TSEvaluateWLTE_Alpha() 348 if (wnormtype == NORM_2) *wlte = PetscSqrtReal(PetscSqr(enormX) / 2 + PetscSqr(enormV) / 2); in TSEvaluateWLTE_Alpha()
|
| H A D | alpha1.c | 235 static PetscErrorCode TSEvaluateWLTE_Alpha(TS ts, NormType wnormtype, PetscInt *order, PetscReal *w… in TSEvaluateWLTE_Alpha() argument 269 PetscCall(TSErrorWeightedNorm(ts, X, Y, wnormtype, wlte, &wltea, &wlter)); in TSEvaluateWLTE_Alpha()
|
| /petsc/src/ts/adapt/impls/dsp/ |
| H A D | adaptdsp.c | 84 PetscCall(TSEvaluateWLTE(ts, adapt->wnormtype, &order, &enorm)); in TSAdaptChoose_DSP() 96 PetscCall(TSErrorWeightedNorm(ts, ts->vec_sol, Y, adapt->wnormtype, &enorm, &enorma, &enormr)); in TSAdaptChoose_DSP()
|
| /petsc/src/vec/vec/impls/mpi/cupm/ |
| H A D | vecmpicupm_impl.hpp | 176 inline PetscErrorCode VecMPI_CUPM<T>::ErrorWnorm(Vec U, Vec Y, Vec E, NormType wnormtype, PetscReal… 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 | 3567 PetscErrorCode TSEvaluateWLTE(TS ts, NormType wnormtype, PetscInt *order, PetscReal *wlte) in TSEvaluateWLTE() argument 3572 PetscValidLogicalCollectiveEnum(ts, wnormtype, 2); in TSEvaluateWLTE() 3576 …(wnormtype == NORM_2 || wnormtype == NORM_INFINITY, PetscObjectComm((PetscObject)ts), PETSC_ERR_SU… in TSEvaluateWLTE() 3577 PetscUseTypeMethod(ts, evaluatewlte, wnormtype, order, wlte); in TSEvaluateWLTE() 5239 PetscErrorCode TSErrorWeightedNorm(TS ts, Vec U, Vec Y, NormType wnormtype, PetscReal *norm, PetscR… in TSErrorWeightedNorm() argument 5247 PetscValidLogicalCollectiveEnum(ts, wnormtype, 4); in TSErrorWeightedNorm() 5251 …PetscCall(VecErrorWeightedNorms(U, Y, NULL, wnormtype, ts->atol, ts->vatol, ts->rtol, ts->vrtol, t… in TSErrorWeightedNorm() 5252 if (wnormtype == NORM_2) { in TSErrorWeightedNorm() 5287 PetscErrorCode TSErrorWeightedENorm(TS ts, Vec E, Vec U, Vec Y, NormType wnormtype, PetscReal *norm… in TSErrorWeightedENorm() argument 5293 …PetscCall(VecErrorWeightedNorms(U, Y, E, wnormtype, ts->atol, ts->vatol, ts->rtol, ts->vrtol, ts->… in TSErrorWeightedENorm() [all …]
|
| /petsc/src/vec/vec/impls/mpi/kokkos/ |
| H A D | mpikok.kokkos.cxx | 27 static PetscErrorCode VecErrorWeightedNorms_MPIKokkos(Vec U, Vec Y, Vec E, NormType wnormtype, Pets… in VecErrorWeightedNorms_MPIKokkos() argument 30 …PetscCall(VecErrorWeightedNorms_MPI_Default(U, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_m… in VecErrorWeightedNorms_MPIKokkos()
|
| /petsc/src/vec/vec/impls/nest/ |
| H A D | vecnest.c | 699 static PetscErrorCode VecErrorWeightedNorms_Nest(Vec U, Vec Y, Vec E, NormType wnormtype, PetscReal… in VecErrorWeightedNorms_Nest() argument 722 …PetscCall(VecErrorWeightedNorms(bu->v[i], by->v[i], be ? be->v[i] : NULL, wnormtype, atol, ba ? ba… in VecErrorWeightedNorms_Nest() 723 if (wnormtype == NORM_INFINITY) { in VecErrorWeightedNorms_Nest() 736 if (wnormtype == NORM_2) { in VecErrorWeightedNorms_Nest()
|
| /petsc/src/ts/impls/bdf/ |
| H A D | bdf.c | 314 static PetscErrorCode TSEvaluateWLTE_BDF(TS ts, NormType wnormtype, PetscInt *order, PetscReal *wlt… in TSEvaluateWLTE_BDF() argument 329 PetscCall(TSErrorWeightedNorm(ts, X, Y, wnormtype, wlte, &wltea, &wlter)); in TSEvaluateWLTE_BDF()
|
| /petsc/include/petsc/private/ |
| H A D | tsimpl.h | 371 NormType wnormtype; member
|
| /petsc/src/ts/impls/eimex/ |
| H A D | eimex.c | 110 …l, T[Map(ext->nstages - 1, ext->nstages - 2, ext->nstages)], ts->adapt->wnormtype, &local_error, &… in TSStep_EIMEX()
|
| /petsc/src/vec/vec/impls/seq/kokkos/ |
| H A D | veckok.kokkos.cxx | 1079 PetscErrorCode VecErrorWeightedNorms_SeqKokkos(Vec U, Vec Y, Vec E, NormType wnormtype, PetscReal a… in VecErrorWeightedNorms_SeqKokkos() argument 1103 if (wnormtype == NORM_INFINITY) { in VecErrorWeightedNorms_SeqKokkos() 1159 if (wnormtype == NORM_2) { in VecErrorWeightedNorms_SeqKokkos()
|
| /petsc/src/ts/impls/implicit/theta/ |
| H A D | theta.c | 687 static PetscErrorCode TSEvaluateWLTE_Theta(TS ts, NormType wnormtype, PetscInt *order, PetscReal *w… in TSEvaluateWLTE_Theta() argument 719 PetscCall(TSErrorWeightedNorm(ts, X, Y, wnormtype, wlte, &wltea, &wlter)); in TSEvaluateWLTE_Theta()
|