Searched refs:opts_mag (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex43.c | 1365 PetscReal opts_mag, opts_eta0; in solve_stokes_2d_coupled() local 1369 opts_mag = 1.0; in solve_stokes_2d_coupled() 1374 PetscCall(PetscOptionsGetReal(NULL, NULL, "-jump_magnitude", &opts_mag, NULL)); in solve_stokes_2d_coupled() 1390 element_props[j][i].eta[p] = jump ? PetscPowReal(10.0, opts_mag) : opts_eta0; in solve_stokes_2d_coupled()
|
| H A D | ex42.c | 1971 PetscReal opts_mag, opts_eta0; in solve_stokes_3d_coupled() local 1977 opts_mag = 1.0; in solve_stokes_3d_coupled() 1981 PetscCall(PetscOptionsGetReal(NULL, NULL, "-jump_magnitude", &opts_mag, NULL)); in solve_stokes_3d_coupled() 1993 cell->eta[p] = jump ? PetscPowReal(10.0, opts_mag) : opts_eta0; in solve_stokes_3d_coupled()
|