Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/tutorials/
H A Dex49.c913 PetscInt opts_t, opts_w; in solve_elasticity_2d() local
923 opts_t = opts_w = 1; in solve_elasticity_2d()
924 PetscCall(PetscOptionsGetInt(NULL, NULL, "-sponge_t", &opts_t, &flg)); in solve_elasticity_2d()
927 ii = (i) / (opts_t + opts_w + opts_t); in solve_elasticity_2d()
928 jj = (j) / (opts_t + opts_w + opts_t); in solve_elasticity_2d()
930 ci = i - ii * (opts_t + opts_w + opts_t); in solve_elasticity_2d()
931 cj = j - jj * (opts_t + opts_w + opts_t); in solve_elasticity_2d()
937 if ((ci >= opts_t) && (ci < opts_t + opts_w)) { in solve_elasticity_2d()
938 if ((cj >= opts_t) && (cj < opts_t + opts_w)) { in solve_elasticity_2d()