Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/power_grid/
H A Dex5.c58 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 Dtrajbasic.c61 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 Dex9bus.c121 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 Dex9busopt.c97 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 Dex9busoptfd.c87 Mat Sol; /* Matrix to save solution at each time step */ member
/petsc/doc/
H A Dpetsc.bib1302 journal = {Phys. Stat. Sol.},
10459 author = {Verleye, B. and Morren, G. and Lomov, S.V. and Sol, H. and Verpoest, I. and