Searched refs:max_error (Results 1 – 1 of 1) sorted by relevance
| /libCEED/examples/petsc/ |
| H A D | bpsraw.c | 298 …ApplyContext op_apply_ctx, CeedOperator op_error, Vec X, CeedVector target, PetscReal *max_error) { in ComputeErrorMax() argument 324 *max_error = 0; in ComputeErrorMax() 328 *max_error = PetscMax(*max_error, PetscAbsScalar(e[i])); in ComputeErrorMax() 331 PetscCall(MPI_Allreduce(MPI_IN_PLACE, max_error, 1, MPIU_REAL, MPIU_MAX, op_apply_ctx->comm)); in ComputeErrorMax() 756 PetscReal max_error; in main() local 757 PetscCall(ComputeErrorMax(op_apply_ctx, op_error, X, target, &max_error)); in main() 759 if (!test_mode || max_error > tol) { in main() 765 (double)max_error, rt_max, rt_min)); in main()
|