Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/tutorials/
H A Dex43.c1229 PetscReal opts_eta0, opts_eta1, opts_xc; in solve_stokes_2d_coupled() local
1234 opts_xc = 0.5; in solve_stokes_2d_coupled()
1239 PetscCall(PetscOptionsGetReal(NULL, NULL, "-solcx_xc", &opts_xc, NULL)); in solve_stokes_2d_coupled()
1251 if (coord_x > opts_xc) element_props[j][i].eta[p] = opts_eta1; in solve_stokes_2d_coupled()
1562 PetscReal opts_eta0, opts_eta1, opts_xc; in solve_stokes_2d_coupled() local
1570 opts_xc = 0.5; in solve_stokes_2d_coupled()
1575 PetscCall(PetscOptionsGetReal(NULL, NULL, "-solcx_xc", &opts_xc, NULL)); in solve_stokes_2d_coupled()
1578 …PetscCall(DMDACreateSolCx(opts_eta0, opts_eta1, opts_xc, opts_nz, mx, my, &da_Stokes_analytic, &X_… in solve_stokes_2d_coupled()
H A Dex49.c849 PetscScalar opts_E0, opts_nu0, opts_xc; in solve_elasticity_2d() local
854 opts_xc = 0.5; in solve_elasticity_2d()
859 PetscCall(PetscOptionsGetScalar(NULL, NULL, "-step_xc", &opts_xc, &flg)); in solve_elasticity_2d()
871 if (PetscRealPart(coord_x) > PetscRealPart(opts_xc)) { in solve_elasticity_2d()