Home
last modified time | relevance | path

Searched refs:exactCtxs (Results 1 – 2 of 2) sorted by relevance

/petsc/src/snes/tests/
H A Dex8.c446 …etscReal[], const PetscReal[], PetscInt, PetscScalar *, void *), void **exactCtxs, PetscReal *erro… in ComputeError() argument
454 PetscCall(DMProjectFunction(dm, 0.0, exactFuncs, exactCtxs, INSERT_ALL_VALUES, u)); in ComputeError()
457 PetscCall(DMComputeL2Diff(dm, 0.0, exactFuncs, exactCtxs, u, error)); in ComputeError()
458 PetscCall(DMComputeL2GradientDiff(dm, 0.0, exactFuncDers, exactCtxs, u, n, errorDer)); in ComputeError()
467 void *exactCtxs[3]; in CheckFunctions() local
472 exactCtxs[0] = user; in CheckFunctions()
473 exactCtxs[1] = user; in CheckFunctions()
474 exactCtxs[2] = user; in CheckFunctions()
480 PetscCall(ComputeError(dm, exactFuncs, exactFuncDers, exactCtxs, &error, &errorDer, user)); in CheckFunctions()
495 void *exactCtxs[3]; in CheckTransferError() local
[all …]
/petsc/src/dm/impls/plex/tests/
H A Dex3.c725 …etscReal[], const PetscReal[], PetscInt, PetscScalar *, void *), void **exactCtxs, PetscReal *erro… in ComputeError() argument
733 PetscCall(DMProjectFunction(dm, 0.0, exactFuncs, exactCtxs, INSERT_ALL_VALUES, u)); in ComputeError()
736 PetscCall(DMComputeL2Diff(dm, 0.0, exactFuncs, exactCtxs, u, error)); in ComputeError()
737 PetscCall(DMComputeL2GradientDiff(dm, 0.0, exactFuncDers, exactCtxs, u, n, errorDer)); in ComputeError()
746 void *exactCtxs[3]; in CheckFunctions() local
751 exactCtxs[0] = user; in CheckFunctions()
752 exactCtxs[1] = user; in CheckFunctions()
753 exactCtxs[2] = user; in CheckFunctions()
786 PetscCall(ComputeError(dm, exactFuncs, exactFuncDers, exactCtxs, &error, &errorDer, user)); in CheckFunctions()
800 void *exactCtxs[3]; in CheckInterpolation() local
[all …]