Home
last modified time | relevance | path

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

/petsc/src/dm/impls/forest/tests/
H A Dex2.c140 Vec preVec, postVecTransfer, postVecExact; in main() local
289 PetscCall(DMCreateGlobalVector(postForest, &postVecExact)); in main()
290 PetscCall(DMProjectFunction(postForest, 0., funcs, ctxs, INSERT_VALUES, postVecExact)); in main()
291 PetscCall(VecViewFromOptions(postVecExact, NULL, "-vec_post_exact_view")); in main()
294 PetscCall(VecAXPY(postVecExact, -1., postVecTransfer)); in main()
295 PetscCall(VecViewFromOptions(postVecExact, NULL, "-vec_diff_view")); in main()
296 PetscCall(VecNorm(postVecExact, NORM_2, &diff)); in main()
303 PetscCall(IdentifyBadPoints(postForest, postVecExact, tol)); in main()
305 PetscCall(VecDestroy(&postVecExact)); in main()