Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/advection-diffusion-reaction/
H A Dex6.c198 Vec Uold, localUold; in IFunction_LaxFriedrichs() local
213 PetscCall(DMGetLocalVector(da, &localUold)); in IFunction_LaxFriedrichs()
214 PetscCall(DMGlobalToLocalBegin(da, Uold, INSERT_VALUES, localUold)); in IFunction_LaxFriedrichs()
215 PetscCall(DMGlobalToLocalEnd(da, Uold, INSERT_VALUES, localUold)); in IFunction_LaxFriedrichs()
219 PetscCall(DMDAVecGetArrayRead(da, localUold, &uoldarray)); in IFunction_LaxFriedrichs()
232 PetscCall(DMDAVecRestoreArrayRead(da, localUold, &uoldarray)); in IFunction_LaxFriedrichs()
234 PetscCall(DMRestoreLocalVector(da, &localUold)); in IFunction_LaxFriedrichs()
246 Vec Uold, localUold; in IFunction_LaxWendroff() local
261 PetscCall(DMGetLocalVector(da, &localUold)); in IFunction_LaxWendroff()
262 PetscCall(DMGlobalToLocalBegin(da, Uold, INSERT_VALUES, localUold)); in IFunction_LaxWendroff()
[all …]