Searched refs:uproj (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex19.c | 186 Vec u, ua, scaling, rhs, uproj; in TestL2Projection() local 210 PetscCall(DMGetGlobalVector(dmaProj, &uproj)); in TestL2Projection() 243 PetscCall(KSPSolve(ksp, rhs, uproj)); in TestL2Projection() 244 PetscCall(PetscObjectSetName((PetscObject)uproj, "L_2 Projection")); in TestL2Projection() 245 PetscCall(VecViewFromOptions(uproj, NULL, "-proj_vec_view")); in TestL2Projection() 246 PetscCall(DMComputeL2Diff(dmaProj, 0.0, funcs, NULL, uproj, &error)); in TestL2Projection() 253 PetscCall(DMRestoreGlobalVector(dmaProj, &uproj)); in TestL2Projection()
|
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex2.c | 613 Vec u, rhs, uproj; in TestL2Projection_Shape() local 629 PetscCall(DMGetGlobalVector(dm, &uproj)); in TestL2Projection_Shape() 631 PetscCall(DMPlexSNESComputeJacobianFEM(dm, uproj, mass, mass, user)); in TestL2Projection_Shape() 636 PetscCall(KSPSolve(ksp, rhs, uproj)); in TestL2Projection_Shape() 638 PetscCall(PetscObjectSetName((PetscObject)uproj, "Full Projection")); in TestL2Projection_Shape() 639 PetscCall(VecViewFromOptions(uproj, NULL, "-proj_vec_view")); in TestL2Projection_Shape() 640 PetscCall(DMComputeL2Diff(dm, 0.0, funcs, ctxs, uproj, &error)); in TestL2Projection_Shape() 644 PetscCall(DMRestoreGlobalVector(dm, &uproj)); in TestL2Projection_Shape()
|