Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/tests/
H A Dex19.c186 Vec u, ua, scaling, rhs, uproj; in TestL2Projection() local
208 PetscCall(DMGetGlobalVector(dmaProj, &ua)); in TestL2Projection()
219 PetscCall(DMProjectFunction(dmaProj, 0.0, funcs, NULL, INSERT_VALUES, ua)); in TestL2Projection()
220 PetscCall(PetscObjectSetName((PetscObject)ua, "Adapted")); in TestL2Projection()
221 PetscCall(VecViewFromOptions(ua, NULL, "-adapt_vec_view")); in TestL2Projection()
222 PetscCall(DMComputeL2Diff(dmaProj, 0.0, funcs, NULL, ua, &error)); in TestL2Projection()
226 PetscCall(MatInterpolate(Interp, u, ua)); in TestL2Projection()
229 PetscCall(PetscObjectSetName((PetscObject)ua, "Interpolation")); in TestL2Projection()
230 PetscCall(VecViewFromOptions(ua, NULL, "-interp_vec_view")); in TestL2Projection()
231 PetscCall(DMComputeL2Diff(dmaProj, 0.0, funcs, NULL, ua, &error)); in TestL2Projection()
[all …]
/petsc/src/snes/tutorials/
H A Dex7.c218 const PetscScalar *ua; in ComputeResidualLocal() local
226 PetscCall(VecGetArrayRead(u, &ua)); in ComputeResidualLocal()
242 for (PetscInt i = 0; i < xdof; ++i) fa[xoff + i] += (M + 4) * ua[xoff + i]; in ComputeResidualLocal()
252 PetscCall(ComputeAction(d, PETSC_FALSE, &link[goff], &ua[yoff], &fa[xoff])); in ComputeResidualLocal()
257 PetscCall(ComputeAction(d, PETSC_TRUE, &link[goff], &ua[yoff], &fa[xoff])); in ComputeResidualLocal()
262 PetscCall(VecRestoreArrayRead(u, &ua)); in ComputeResidualLocal()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscvwr.pxi162 elif mode == 'ua' : return PETSC_FILE_MODE_APPEND_UPDATE
/petsc/doc/
H A Dpetsc.bib5073 Oyar\'ua and Ricardo Ruiz-Baier},