Home
last modified time | relevance | path

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

/petsc/src/sys/classes/viewer/tests/
H A Dex7.c9 PetscInt n_max = N_MAX; in main() local
14 …PetscCall(PetscOptionsCreateViewers(PETSC_COMM_WORLD, NULL, NULL, "-test_view", &n_max, viewers, f… in main()
15 for (PetscInt i = 0; i < n_max; i++) { in main()
/petsc/src/sys/classes/viewer/interface/
H A Dviewreg.c311 PetscInt n_max; in PetscOptionsCreateViewers_Internal() local
316 n_max = *n_max_p; in PetscOptionsCreateViewers_Internal()
317 …PetscCheck(n_max >= 0, comm, PETSC_ERR_ARG_OUTOFRANGE, "Invalid size %" PetscInt_FMT " of passed a… in PetscOptionsCreateViewers_Internal()
345 PetscCheck(n_max > 0, comm, PETSC_ERR_ARG_SIZ, "More viewers (1) than max available (0)"); in PetscOptionsCreateViewers_Internal()
367 …PetscCheck(n < n_max, comm, PETSC_ERR_PLIB, "More viewers than max available (%" PetscInt_FMT ")",… in PetscOptionsCreateViewers_Internal()
446 PetscInt n_max = 1; in PetscOptionsCreateViewer() local
452 …PetscCall(PetscOptionsCreateViewers_Internal(comm, options, pre, name, &n_max, viewer, format, &se… in PetscOptionsCreateViewer()
453 …if (set_internal) PetscAssert(n_max == 1, comm, PETSC_ERR_PLIB, "Unexpected: %" PetscInt_FMT " != … in PetscOptionsCreateViewer()
488 …omm, PetscOptions options, const char pre[], const char name[], PetscInt *n_max, PetscViewer viewe… in PetscOptionsCreateViewers() argument
491 …PetscCall(PetscOptionsCreateViewers_Internal(comm, options, pre, name, n_max, viewers, formats, se… in PetscOptionsCreateViewers()
/petsc/src/sys/objects/
H A Dinit.c490 PetscInt n_max = PETSC_LOG_VIEW_FROM_OPTIONS_MAX; in PetscOptionsCheckInitial_Private() local
569 PetscCall(PetscOptionsCreateViewers(comm, NULL, NULL, "-log_view", &n_max, NULL, format, NULL)); in PetscOptionsCheckInitial_Private()
570 if (n_max > 0) { in PetscOptionsCheckInitial_Private()
574 for (PetscInt i = 0; i < n_max; i++) { in PetscOptionsCheckInitial_Private()
/petsc/src/sys/logging/
H A Dplog.c2073 PetscInt n_max = PETSC_LOG_VIEW_FROM_OPTIONS_MAX; in PetscLogViewFromOptions() local
2079 …PetscCall(PetscOptionsCreateViewers(PETSC_COMM_WORLD, NULL, NULL, "-log_view", &n_max, viewers, fo… in PetscLogViewFromOptions()
2083 PetscLogNumViewersCreated = n_max; in PetscLogViewFromOptions()
2084 for (PetscInt i = 0; i < n_max; i++) { in PetscLogViewFromOptions()