Searched refs:Sol (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/ts/tutorials/power_grid/ |
| H A D | ex5.c | 58 Mat Sol; /* Solution matrix */ member 83 PetscCall(MatDenseGetArray(user->Sol, &mat)); in SaveSolution() 87 PetscCall(MatDenseRestoreArray(user->Sol, &mat)); in SaveSolution() 255 PetscCall(MatCreateSeqDense(PETSC_COMM_SELF, 3, 2010, NULL, &user.Sol)); in main() 278 PetscCall(MatDenseGetArray(user.Sol, &mat)); in main() 284 PetscCall(MatDenseRestoreArray(user.Sol, &mat)); in main() 302 PetscCall(MatDenseGetArrayRead(user.Sol, &rmat)); in main() 306 PetscCall(MatDenseRestoreArrayRead(user.Sol, &rmat)); in main() 311 PetscCall(MatDestroy(&user.Sol)); in main()
|
| /petsc/src/ts/trajectory/impls/basic/ |
| H A D | trajbasic.c | 61 Vec Sol; in TSTrajectoryGet_Basic() local 68 PetscCall(TSGetSolution(ts, &Sol)); in TSTrajectoryGet_Basic() 69 PetscCall(VecLoad(Sol, viewer)); in TSTrajectoryGet_Basic()
|
| /petsc/src/ts/tutorials/power_grid/stability_9bus/ |
| H A D | ex9bus.c | 121 Mat Sol; /* Matrix to save solution at each time step */ member 329 PetscCall(MatDenseGetArray(user->Sol, &mat)); in SaveSolution() 333 PetscCall(MatDenseRestoreArray(user->Sol, &mat)); in SaveSolution() 1161 PetscCall(MatCreateSeqDense(PETSC_COMM_SELF, user.neqs_pgrid + 1, 1002, NULL, &user.Sol)); in main() 1192 PetscCall(MatDenseGetArray(user.Sol, &mat)); in main() 1198 PetscCall(MatDenseRestoreArray(user.Sol, &mat)); in main() 1258 PetscCall(MatAssemblyBegin(user.Sol, MAT_FINAL_ASSEMBLY)); in main() 1259 PetscCall(MatAssemblyEnd(user.Sol, MAT_FINAL_ASSEMBLY)); in main() 1262 PetscCall(MatDenseGetArrayRead(user.Sol, &rmat)); in main() 1266 PetscCall(MatDenseRestoreArrayRead(user.Sol, &rmat)); in main() [all …]
|
| H A D | ex9busopt.c | 97 Mat Sol; /* Matrix to save solution at each time step */ member 143 PetscCall(MatDenseGetArray(user->Sol, &mat)); in SaveSolution() 147 PetscCall(MatDenseRestoreArray(user->Sol, &mat)); in SaveSolution()
|
| H A D | ex9busoptfd.c | 87 Mat Sol; /* Matrix to save solution at each time step */ member
|
| /petsc/doc/ |
| H A D | petsc.bib | 1302 journal = {Phys. Stat. Sol.}, 10459 author = {Verleye, B. and Morren, G. and Lomov, S.V. and Sol, H. and Verpoest, I. and
|