Lines Matching refs:exactSol
51 PetscPointFn *exactSol; member
61 options->exactSol = NULL; in ProcessOptions()
76 options->exactSol = functions[i]; in ProcessOptions()
80 PetscCheck(options->exactSol, comm, PETSC_ERR_ARG_WRONG, "Invalid test function %s", name); in ProcessOptions()
90 …user->exactSol(dim, 1, 0, uOff, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, time, x, 0, … in exactSolution()
116 PetscCall(PetscWeakFormSetIndexResidual(wf, NULL, 0, 0, 0, 1, user->exactSol, 0, NULL)); in SetupProblem()
147 PetscSimplePointFn *exactSol[1]; in CheckInterpolation() local
158 PetscCall(PetscDSGetExactSolution(ds, 0, &exactSol[0], &exactCtx[0])); in CheckInterpolation()
159 PetscCall(DMProjectFunction(dm, 0.0, exactSol, exactCtx, INSERT_ALL_VALUES, u)); in CheckInterpolation()
161 PetscCall(DMComputeL2Diff(dm, 0.0, exactSol, exactCtx, u, &error)); in CheckInterpolation()
171 PetscSimplePointFn *exactSol[1]; in CheckL2Projection() local
183 PetscCall(PetscDSGetExactSolution(ds, 0, &exactSol[0], &exactCtx[0])); in CheckL2Projection()
194 PetscCall(DMComputeL2Diff(dm, 0.0, exactSol, exactCtx, u, &error)); in CheckL2Projection()