| /petsc/src/mat/impls/mffd/ |
| H A D | wp.c | 53 PetscReal normU, norma; in MatMFFDCompute_WP() local 61 PetscCall(VecNorm(a, NORM_2, &norma)); in MatMFFDCompute_WP() 62 if (norma == 0.0) { in MatMFFDCompute_WP() 67 *h = ctx->error_rel * hctx->normUfact / norma; in MatMFFDCompute_WP()
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pvecimpl.h | 179 …ol, PetscReal ignore_max, PetscReal *norm, PetscInt *norm_loc, PetscReal *norma, PetscInt *norma_l… 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() 187 loc[1] = PetscSqr(*norma); in VecErrorWeightedNorms_MPI_Default() 191 loc[1] = *norma; in VecErrorWeightedNorms_MPI_Default() 205 *norma = PetscSqrtReal(loc[1]); in VecErrorWeightedNorms_MPI_Default() 209 *norma = loc[1]; in VecErrorWeightedNorms_MPI_Default()
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 1802 …am, PetscReal ignore_max, PetscReal *norm, PetscInt *norm_loc, PetscReal *norma, PetscInt *norma_l… in ExecuteWNorm() argument 1813 thrust::tie(*norm, *norma, *normr, *norm_loc, *norma_loc, *normr_loc) = THRUST_CALL( in ExecuteWNorm() 1825 thrust::tie(*norm, *norma, *normr, *norm_loc, *norma_loc, *normr_loc) = THRUST_CALL( in ExecuteWNorm() 1839 *norma = PetscSqrtReal(*norma); in ExecuteWNorm() 1849 …ol, PetscReal ignore_max, PetscReal *norm, PetscInt *norm_loc, PetscReal *norma, PetscInt *norma_l… in ErrorWnorm() argument 1883 wnormtype, stream, ignore_max, norm, norm_loc, norma, norma_loc, normr, normr_loc in ErrorWnorm() 1893 wnormtype, stream, ignore_max, norm, norm_loc, norma, norma_loc, normr, normr_loc in ErrorWnorm() 1905 wnormtype, stream, ignore_max, norm, norm_loc, norma, norma_loc, normr, normr_loc in ErrorWnorm() 1915 wnormtype, stream, ignore_max, norm, norm_loc, norma, norma_loc, normr, normr_loc in ErrorWnorm() 1927 wnormtype, stream, ignore_max, norm, norm_loc, norma, norma_loc, normr, normr_loc in ErrorWnorm() [all …]
|
| /petsc/src/vec/vec/impls/nest/ |
| H A D | vecnest.c | 699 …ol, PetscReal ignore_max, PetscReal *norm, PetscInt *norm_loc, PetscReal *norma, PetscInt *norma_l… in VecErrorWeightedNorms_Nest() argument 713 *norma = 0.0; in VecErrorWeightedNorms_Nest() 725 *norma = PetscMax(*norma, na); in VecErrorWeightedNorms_Nest() 729 *norma += PetscSqr(na); in VecErrorWeightedNorms_Nest() 738 *norma = PetscSqrtReal(*norma); in VecErrorWeightedNorms_Nest()
|
| /petsc/src/vec/vec/interface/ |
| H A D | vector.c | 2347 …ol, PetscReal ignore_max, PetscReal *norm, PetscInt *norm_loc, PetscReal *norma, PetscInt *norma_l… in VecErrorWeightedNorms_Basic() argument 2411 *norma = PetscSqrtReal(err_loc[1]); in VecErrorWeightedNorms_Basic() 2415 *norma = err_loc[1]; in VecErrorWeightedNorms_Basic() 2455 …ol, PetscReal ignore_max, PetscReal *norm, PetscInt *norm_loc, PetscReal *norma, PetscInt *norma_l… in VecErrorWeightedNorms() argument 2480 PetscAssertPointer(norma, 12); in VecErrorWeightedNorms() 2493 …m, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_max, norm, norm_loc, norma, norma_loc, normr,… in VecErrorWeightedNorms() 2494 …U, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_max, norm, norm_loc, norma, norma_loc, normr,… in VecErrorWeightedNorms()
|
| /petsc/src/vec/vec/impls/mpi/cupm/ |
| H A D | vecmpicupm_impl.hpp | 176 …ol, PetscReal ignore_max, PetscReal *norm, PetscInt *norm_loc, PetscReal *norma, PetscInt *norma_l… in ErrorWnorm() argument 179 …U, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_max, norm, norm_loc, norma, norma_loc, normr,… in ErrorWnorm()
|
| /petsc/src/vec/vec/impls/mpi/kokkos/ |
| H A D | mpikok.kokkos.cxx | 27 …ol, PetscReal ignore_max, PetscReal *norm, PetscInt *norm_loc, PetscReal *norma, PetscInt *norma_l… in VecErrorWeightedNorms_MPIKokkos() argument 30 …U, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_max, norm, norm_loc, norma, norma_loc, normr,… in VecErrorWeightedNorms_MPIKokkos()
|
| /petsc/src/ts/interface/ |
| H A D | ts.c | 5239 …dNorm(TS ts, Vec U, Vec Y, NormType wnormtype, PetscReal *norm, PetscReal *norma, PetscReal *normr) in TSErrorWeightedNorm() argument 5249 PetscAssertPointer(norma, 6); in TSErrorWeightedNorm() 5251 …, ts->vatol, ts->rtol, ts->vrtol, ts->adapt->ignore_max, norm, &norm_loc, norma, &norma_loc, normr… in TSErrorWeightedNorm() 5254 if (norma_loc) *norma = PetscSqrtReal(PetscSqr(*norma) / norma_loc); in TSErrorWeightedNorm() 5258 …PetscCheck(!PetscIsInfOrNanScalar(*norma), PetscObjectComm((PetscObject)ts), PETSC_ERR_FP, "Infini… in TSErrorWeightedNorm() 5287 …S ts, Vec E, Vec U, Vec Y, NormType wnormtype, PetscReal *norm, PetscReal *norma, PetscReal *normr) in TSErrorWeightedENorm() argument 5293 …, ts->vatol, ts->rtol, ts->vrtol, ts->adapt->ignore_max, norm, &norm_loc, norma, &norma_loc, normr… in TSErrorWeightedENorm() 5296 if (norma_loc) *norma = PetscSqrtReal(PetscSqr(*norma) / norma_loc); in TSErrorWeightedENorm() 5300 …PetscCheck(!PetscIsInfOrNanScalar(*norma), PetscObjectComm((PetscObject)ts), PETSC_ERR_FP, "Infini… in TSErrorWeightedENorm()
|
| /petsc/src/vec/vec/impls/seq/kokkos/ |
| H A D | veckok.kokkos.cxx | 1079 …ol, PetscReal ignore_max, PetscReal *norm, PetscInt *norm_loc, PetscReal *norma, PetscInt *norma_l… in VecErrorWeightedNorms_SeqKokkos() argument 1161 *norma = PetscSqrtReal(nrma); in VecErrorWeightedNorms_SeqKokkos() 1165 *norma = nrma; in VecErrorWeightedNorms_SeqKokkos()
|