Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/tutorials/
H A Dex43.c1257 PetscReal opts_eta0, opts_eta1, opts_dx, opts_dy; in solve_stokes_2d_coupled() local
1261 opts_dx = 0.50; in solve_stokes_2d_coupled()
1266 PetscCall(PetscOptionsGetReal(NULL, NULL, "-sinker_dx", &opts_dx, NULL)); in solve_stokes_2d_coupled()
1281 if ((coord_x > -0.5 * opts_dx + 0.5) && (coord_x < 0.5 * opts_dx + 0.5)) { in solve_stokes_2d_coupled()
1320 …PetscReal opts_eta0, opts_eta1, opts_r, opts_dx, opts_dy, opts_c0x, opts_c0y, opts_s0x, opts_s0y, … in solve_stokes_2d_coupled() local
1329 opts_dx = 0.25; in solve_stokes_2d_coupled()
1340 PetscCall(PetscOptionsGetReal(NULL, NULL, "-sinker_dx", &opts_dx, NULL)); in solve_stokes_2d_coupled()
1358 …etscCosReal(opts_phi) + (coord_y - opts_s0y) * PetscSinReal(opts_phi)) < opts_dx / 2 && PetscAbs(-… in solve_stokes_2d_coupled()