Searched refs:no_view (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex49.c | 727 PetscBool no_view = PETSC_FALSE; in solve_elasticity_2d() local 956 PetscCall(PetscOptionsGetBool(NULL, NULL, "-no_view", &no_view, NULL)); in solve_elasticity_2d() 957 if (!no_view) { in solve_elasticity_2d() 1018 …if (!no_view) PetscCall(DMDAViewGnuplot2d(elas_da, X, "Displacement solution for elasticity eqn.",… in solve_elasticity_2d()
|
| H A D | ex70.c | 879 PetscBool no_view = PETSC_FALSE; in SolveTimeDepStokes() local 1082 PetscCall(PetscOptionsGetBool(NULL, NULL, "-no_view", &no_view, NULL)); in SolveTimeDepStokes() 1083 if (!no_view) PetscCall(DMSwarmViewXDMF(dms_mpoint, "ic_coeff_dms.xmf")); in SolveTimeDepStokes() 1096 if (!no_view) { in SolveTimeDepStokes()
|