Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex45.c346 Vec locU, locG; in Remesh() local
348 PetscCall(DMGetLocalVector(dmGrad, &locG)); in Remesh()
351 PetscCall(DMPlexComputeGradientClementInterpolant(dm, locU, locG)); in Remesh()
352 PetscCall(VecViewFromOptions(locG, NULL, "-remesh_grad_view")); in Remesh()
359 PetscCall(VecGetArrayRead(locG, &g)); in Remesh()
365 PetscCall(VecRestoreArrayRead(locG, &g)); in Remesh()
374 PetscCall(DMRestoreLocalVector(dmGrad, &locG)); in Remesh()
/petsc/src/ts/utils/
H A Ddmplexts.c252 PetscErrorCode DMPlexTSComputeRHSFunctionFEM(DM dm, PetscReal time, Vec locX, Vec locG, PetscCtx ct… in DMPlexTSComputeRHSFunctionFEM() argument
282 PetscCall(DMPlexComputeResidualByKey(plex, key, cellIS, time, locX, NULL, time, locG, ctx)); in DMPlexTSComputeRHSFunctionFEM()