Searched refs:no_output (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex14.c | 95 PetscBool no_output = PETSC_FALSE; /* flag indicating whether to suppress output */ in main() local 100 PetscCall(PetscOptionsGetBool(NULL, NULL, "-no_output", &no_output, NULL)); in main() 182 if (!no_output) PetscCall(PetscPrintf(comm, "Initial function norm = %g\n", (double)fnorm)); in main() 224 …if (!no_output) PetscCall(PetscPrintf(comm, " linear solve iterations = %" PetscInt_FMT ", xnorm… in main() 231 …if (!no_output) PetscCall(PetscPrintf(comm, "Iteration %" PetscInt_FMT ", function norm = %g\n", i… in main() 237 …if (!no_output) PetscCall(PetscPrintf(comm, "Converged due to function norm %g < %g (relative tole… in main() 241 …if (!no_output) PetscCall(PetscPrintf(comm, "Converged due to small update length: %g < %g * %g\n"… in main() 245 …if (!no_output) PetscCall(PetscPrintf(comm, "Exceeded maximum number of function evaluations: %" P… in main()
|