| /petsc/src/sys/classes/viewer/interface/ |
| H A D | viewers.c | 77 PetscErrorCode PetscViewersGetViewer(PetscViewers viewers, PetscInt n, PetscViewer *viewer) in PetscViewersGetViewer() argument 80 PetscAssertPointer(viewers, 1); in PetscViewersGetViewer() 83 if (n >= viewers->n) { in PetscViewersGetViewer() 87 PetscCall(PetscArraycpy(v, viewers->viewer, viewers->n)); in PetscViewersGetViewer() 88 PetscCall(PetscFree(viewers->viewer)); in PetscViewersGetViewer() 90 viewers->viewer = v; in PetscViewersGetViewer() 92 if (!viewers->viewer[n]) PetscCall(PetscViewerCreate(viewers->comm, &viewers->viewer[n])); in PetscViewersGetViewer() 93 *viewer = viewers->viewer[n]; in PetscViewersGetViewer()
|
| H A D | viewreg.c | 172 …const char *viewers[] = {PETSCVIEWERASCII, PETSCVIEWERBINARY, PETSCVIEWERDRAW, PETSCVIEWERSOCKET, … in PetscOptionsCreateViewers_Single() local 199 PetscCall(PetscStrendswithwhich(*loc0_vtype ? loc0_vtype : "ascii", viewers, &cnt)); in PetscOptionsCreateViewers_Single() 200 …PetscCheck(cnt <= (PetscInt)sizeof(viewers) - 1, comm, PETSC_ERR_ARG_OUTOFRANGE, "Unknown viewer t… in PetscOptionsCreateViewers_Single() 488 …tions, const char pre[], const char name[], PetscInt *n_max, PetscViewer viewers[], PetscViewerFor… in PetscOptionsCreateViewers() argument 491 …PetscCall(PetscOptionsCreateViewers_Internal(comm, options, pre, name, n_max, viewers, formats, se… in PetscOptionsCreateViewers()
|
| /petsc/src/sys/tests/output/ |
| H A D | ex50_2.out | 2 Print called on sub viewers 0 3 Print called on sub sub viewers 0 4 Print called on sub viewers 1 5 Print called on sub sub viewers 1 6 Print called on sub sub viewers 2 7 Print called on sub sub viewers 3
|
| H A D | ex50_1.out | 2 Print called on sub viewers 0 3 Print called on sub sub viewers 0 4 Print called on sub sub viewers 1 5 Print called on sub viewers 2 6 Print called on sub sub viewers 2 7 Print called on sub sub viewers 3
|
| /petsc/src/sys/classes/viewer/tests/ |
| H A D | ex7.c | 10 PetscViewer viewers[N_MAX]; in main() local 14 …PetscCall(PetscOptionsCreateViewers(PETSC_COMM_WORLD, NULL, NULL, "-test_view", &n_max, viewers, f… in main() 16 PetscCall(PetscViewerPushFormat(viewers[i], formats[i])); in main() 17 PetscCall(PetscViewerASCIIPrintf(viewers[i], "This is viewer %" PetscInt_FMT "\n", i)); in main() 18 PetscCall(PetscViewerPopFormat(viewers[i])); in main() 19 PetscCall(PetscViewerDestroy(&viewers[i])); in main()
|
| /petsc/doc/manualpages/MANSECHeaders/ |
| H A D | Viewer | 4 PETSc viewers `PetscViewer` print, display, and export information and data from PETSc objects in a…
|
| /petsc/src/sys/logging/ |
| H A D | plog.c | 2074 PetscViewer viewers[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() 2087 PetscCall(PetscViewerPushFormat(viewers[i], formats[i])); in PetscLogViewFromOptions() 2088 PetscCall(PetscLogView(viewers[i])); in PetscLogViewFromOptions() 2089 PetscCall(PetscViewerPopFormat(viewers[i])); in PetscLogViewFromOptions() 2090 PetscCall(PetscObjectGetReference((PetscObject)viewers[i], &refct)); in PetscLogViewFromOptions() 2091 PetscCall(PetscViewerDestroy(&viewers[i])); in PetscLogViewFromOptions()
|
| /petsc/src/ksp/ksp/impls/gmres/ |
| H A D | gmres.c | 502 PetscViewers viewers = (PetscViewers)Viewers; in KSPGMRESMonitorKrylov() local 509 PetscCall(PetscViewersGetViewer(viewers, gmres->it + 1, &viewer)); in KSPGMRESMonitorKrylov() 547 PetscViewers viewers; in KSPSetFromOptions_GMRES() local 549 PetscCall(PetscViewersCreate(PetscObjectComm((PetscObject)ksp), &viewers)); in KSPSetFromOptions_GMRES() 550 …PetscCall(KSPMonitorSet(ksp, KSPGMRESMonitorKrylov, viewers, (PetscCtxDestroyFn *)PetscViewersDest… in KSPSetFromOptions_GMRES()
|
| /petsc/doc/overview/ |
| H A D | nutshell.md | 68 - visualization of the solvers and simulation via {any}`viewers <sec_viewers>`,
|
| /petsc/src/binding/petsc4py/docs/source/ |
| H A D | petsc_python_types.rst | 8 … discuss matrices, preconditioners, Krylov solvers, nonlinear solvers, ODE integrators and viewers.
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Viewer.pyx | 661 # --- ASCII viewers --- 807 # --- methods specific to file viewers --- 875 # --- methods specific to draw viewers ---
|
| /petsc/doc/changes/ |
| H A D | 2015.md | 173 - PETSc now provides basic support for VRML viewers. Currently, one
|
| H A D | 2028.md | 238 - Binary and ASCII viewers can create compressed files by simply
|
| H A D | 319.md | 123 - The VTK viewers (`.vts`, `.vtr`, and `.vtu`) now use `header_type="UInt64"` to enable writing lar…
|
| /petsc/doc/manual/ |
| H A D | matlab.md | 98 See {any}`sec_viewers` for more on PETSc viewers. One may
|
| H A D | other.md | 236 `Mat`, `Vec`, `SNES`, etc. There are several predefined viewers. 263 The user can control the format of ASCII printed objects with viewers 661 Predefined viewers, `PETSC_VIEWER_DRAW_WORLD` and
|
| H A D | mat.md | 856 Other viewers can be used as well. For instance, one can draw the 871 viewers and options are given in the `MatView()` man page and
|
| H A D | getting_started.md | 74 profiling, the options database, viewers, error handling, and some
|
| H A D | ts.md | 963 iteration to a binary file, `TSMonitorSolution()`. Solution viewers work
|
| H A D | vec.md | 244 variety of viewers are discussed further in
|
| /petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/ |
| H A D | project.pbxproj | 720 …D89D1F49207AA1AC00FACC19 /* viewers.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D1C61207AA… 1472 …61207AA1AB00FACC19 /* viewers.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 2243 D89D1C61207AA1AB00FACC19 /* viewers.c */, 2680 D89D1F49207AA1AC00FACC19 /* viewers.c in Sources */,
|
| /petsc/doc/faq/ |
| H A D | index.md | 1373 PETSc binary viewers put some additional information into `.info` files like matrix
|