Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/power_grid/
H A Dex8.c227 PetscScalar **p, **f, **pdot; in IFunction() local
251 PetscCall(DMDAVecGetArrayRead(user->da, localXdot, &pdot)); in IFunction()
263 f[j][i] = -p_adv1 - p_adv2 + p_diff - pdot[j][i]; in IFunction()
267 PetscCall(DMDAVecRestoreArrayRead(user->da, localX, &pdot)); in IFunction()
H A Dex7.c255 PetscScalar **p, **f, **pdot; in IFunction() local
278 PetscCall(DMDAVecGetArrayRead(user->da, localXdot, &pdot)); in IFunction()
287 f[j][i] = -p_adv1 - p_adv2 + p_diff - pdot[j][i]; in IFunction()
291 PetscCall(DMDAVecRestoreArrayRead(user->da, localX, &pdot)); in IFunction()
H A Dex6.c256 PetscScalar **p, **f, **pdot; in IFunction() local
279 PetscCall(DMDAVecGetArrayRead(user->da, localXdot, &pdot)); in IFunction()
291 f[j][i] = -p_adv1 - p_adv2 + p_diff - pdot[j][i]; in IFunction()
296 PetscCall(DMDAVecRestoreArrayRead(user->da, localX, &pdot)); in IFunction()