Searched refs:errorDer (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/snes/tests/ |
| H A D | ex8.c | 446 …Int, PetscScalar *, void *), void **exactCtxs, PetscReal *error, PetscReal *errorDer, AppCtx *user) in ComputeError() argument 458 PetscCall(DMComputeL2GradientDiff(dm, 0.0, exactFuncDers, exactCtxs, u, n, errorDer)); in ComputeError() 469 PetscReal error, errorDer, tol = PETSC_SMALL; in CheckFunctions() local 480 PetscCall(ComputeError(dm, exactFuncs, exactFuncDers, exactCtxs, &error, &errorDer, user)); in CheckFunctions() 484 …errorDer > tol) PetscCall(PetscPrintf(comm, "Function tests FAIL for order %" PetscInt_FMT " deriv… in CheckFunctions() 497 PetscReal error, errorDer, tol = PETSC_SMALL; in CheckTransferError() local 510 PetscCall(DMComputeL2GradientDiff(fdm, 0.0, exactFuncDers, exactCtxs, fu, n, &errorDer)); in CheckTransferError() 514 …errorDer > tol) PetscCall(PetscPrintf(comm, "%s tests FAIL for order %" PetscInt_FMT " derivatives… in CheckTransferError()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex3.c | 725 …Int, PetscScalar *, void *), void **exactCtxs, PetscReal *error, PetscReal *errorDer, AppCtx *user) in ComputeError() argument 737 PetscCall(DMComputeL2GradientDiff(dm, 0.0, exactFuncDers, exactCtxs, u, n, errorDer)); in ComputeError() 748 PetscReal error, errorDer, tol = PETSC_SMALL; in CheckFunctions() local 786 PetscCall(ComputeError(dm, exactFuncs, exactFuncDers, exactCtxs, &error, &errorDer, user)); in CheckFunctions() 790 …errorDer > tol) PetscCall(PetscPrintf(comm, "Function tests FAIL for order %" PetscInt_FMT " deriv… in CheckFunctions() 806 PetscReal error, errorDer, tol = PETSC_SMALL; in CheckInterpolation() local 863 PetscCall(DMComputeL2GradientDiff(fdm, 0.0, exactFuncDers, exactCtxs, fu, n, &errorDer)); in CheckInterpolation() 867 …errorDer > tol) PetscCall(PetscPrintf(comm, "Interpolation tests FAIL for order %" PetscInt_FMT " … in CheckInterpolation() 884 PetscReal errorOld, errorDerOld, error, errorDer, rel, len, lenOld; in CheckConvergence() local 907 PetscCall(ComputeError(rdm, exactFuncs, exactFuncDers, exactCtxs, &error, &errorDer, user)); in CheckConvergence() [all …]
|