Searched refs:pdot (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ts/tutorials/power_grid/ |
| H A D | ex8.c | 227 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 D | ex7.c | 255 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 D | ex6.c | 256 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()
|