Searched refs:num_rhs (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex72.c | 332 PetscInt num_rhs = 1; in main() local 333 PetscCall(PetscOptionsGetInt(NULL, NULL, "-num_rhs", &num_rhs, NULL)); in main() 336 while (num_rhs--) { in main() 337 if (num_rhs == 1) PetscCall(VecSet(x, 0.0)); in main()
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex30.c | 280 PetscInt num_rhs = 1; in main() local 281 PetscCall(PetscOptionsGetInt(NULL, NULL, "-num_rhs", &num_rhs, NULL)); in main() 283 while (num_rhs--) PetscCall(KSPSolve(ksp, b, x)); in main()
|