Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/tutorials/
H A Dex49.c723 PetscInt coefficient_structure = 0; in solve_elasticity_2d() local
777 PetscCall(PetscOptionsGetInt(NULL, NULL, "-c_str", &coefficient_structure, NULL)); in solve_elasticity_2d()
833 if (coefficient_structure == 0) { /* isotropic */ in solve_elasticity_2d()
848 } else if (coefficient_structure == 1) { /* step */ in solve_elasticity_2d()
879 } else if (coefficient_structure == 2) { /* brick */ in solve_elasticity_2d()
910 } else if (coefficient_structure == 3) { /* sponge */ in solve_elasticity_2d()
H A Dex43.c1119 PetscInt coefficient_structure = 0; in solve_stokes_2d_coupled() local
1172 PetscCall(PetscOptionsGetInt(NULL, NULL, "-c_str", &coefficient_structure, NULL)); in solve_stokes_2d_coupled()
1228 if (coefficient_structure == 0) { in solve_stokes_2d_coupled()
1256 } else if (coefficient_structure == 1) { /* square sinker */ in solve_stokes_2d_coupled()
1289 } else if (coefficient_structure == 2) { /* circular sinker */ in solve_stokes_2d_coupled()
1319 } else if (coefficient_structure == 3) { /* circular and rectangular inclusion */ in solve_stokes_2d_coupled()
1364 } else if (coefficient_structure == 4) { /* subdomain jump */ in solve_stokes_2d_coupled()
1561 if (coefficient_structure == 0) { in solve_stokes_2d_coupled()