Home
last modified time | relevance | path

Searched refs:display (Results 1 – 25 of 164) sorted by relevance

1234567

/petsc/src/sys/classes/draw/impls/x/
H A Dxcolor.c37 static PetscErrorCode PetscDrawSetUpColormap_Shared(Display *display, int screen, Visual *visual, C… in PetscDrawSetUpColormap_Shared() argument
48 else gColormap = DefaultColormap(display, screen); in PetscDrawSetUpColormap_Shared()
52 XAllocNamedColor(display, gColormap, colornames[i], &colordef, &ecolordef); in PetscDrawSetUpColormap_Shared()
68 if (!fast) XAllocColor(display, gColormap, &colordef); in PetscDrawSetUpColormap_Shared()
87 static PetscErrorCode PetscDrawSetUpColormap_Private(Display *display, int screen, Visual *visual, … in PetscDrawSetUpColormap_Private() argument
93 Colormap defaultmap = DefaultColormap(display, screen); in PetscDrawSetUpColormap_Private()
99 else gColormap = XCreateColormap(display, RootWindow(display, screen), visual, AllocAll); in PetscDrawSetUpColormap_Private()
107 XParseColor(display, gColormap, colornames[i], &colordef); in PetscDrawSetUpColormap_Private()
109 found = XAllocColor(display, defaultmap, &colordef); in PetscDrawSetUpColormap_Private()
119 XStoreColor(display, gColormap, &colordef); in PetscDrawSetUpColormap_Private()
[all …]
H A Ddrawopenx.c56 PetscErrorCode PetscDrawOpenX(MPI_Comm comm, const char display[], const char title[], int x, int y… in PetscDrawOpenX() argument
59 PetscCall(PetscDrawCreate(comm, display, title, x, y, w, h, draw)); in PetscDrawOpenX()
H A Dxops.c347 …PetscCall(PetscDrawCreate(PetscObjectComm((PetscObject)draw), draw->display, NULL, win->x, win->y … in PetscDrawGetPopup_X()
581 …PetscCall(PetscDrawCreate(PETSC_COMM_SELF, draw->display, draw->title, draw->x, draw->y, draw->w, … in PetscDrawGetSingleton_X()
599 PetscCall(PetscDrawXiInit(sXwin, draw->display)); in PetscDrawGetSingleton_X()
635 Display *display; in PetscDrawXGetDisplaySize_Private() local
638 display = XOpenDisplay(name); in PetscDrawXGetDisplaySize_Private()
639 if (display) { in PetscDrawXGetDisplaySize_Private()
641 *width = DisplayWidth(display, DefaultScreen(display)); in PetscDrawXGetDisplaySize_Private()
642 *height = DisplayHeight(display, DefaultScreen(display)); in PetscDrawXGetDisplaySize_Private()
643 XCloseDisplay(display); in PetscDrawXGetDisplaySize_Private()
687 if (!draw->display) { in PetscDrawCreate_X()
[all …]
H A Dxinit.c20 static PetscErrorCode PetscDrawXiOpenDisplay(PetscDraw_X *XiWin, const char display[]) in PetscDrawXiOpenDisplay() argument
23 XiWin->disp = XOpenDisplay(display); in PetscDrawXiOpenDisplay()
29 display); in PetscDrawXiOpenDisplay()
88 PetscErrorCode PetscDrawXiInit(PetscDraw_X *XiWin, const char display[]) in PetscDrawXiInit() argument
91 PetscCall(PetscDrawXiOpenDisplay(XiWin, display)); in PetscDrawXiInit()
/petsc/src/sys/utils/
H A Dpdisplay.c103 char display[sizeof(PetscDisplay)]; in PetscSetDisplay() local
130 PetscCall(PetscStrncpy(display, str, sizeof(display))); in PetscSetDisplay()
132 PetscCall(PetscGetHostName(display, sizeof(display))); in PetscSetDisplay()
133 PetscCall(PetscStrlcat(display, str, sizeof(display))); in PetscSetDisplay()
135 PetscCallMPI(MPI_Bcast(display, sizeof(display), MPI_CHAR, 0, PETSC_COMM_WORLD)); in PetscSetDisplay()
136 PetscCall(PetscMemcpy(PetscDisplay, display, sizeof(PetscDisplay))); in PetscSetDisplay()
160 PetscErrorCode PetscGetDisplay(char display[], size_t n) in PetscGetDisplay() argument
163 PetscCall(PetscStrncpy(display, PetscDisplay, n)); in PetscGetDisplay()
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Scripts/
H A DSections.js4 if(e.style.display == 'none')
6 e.style.display = 'block';
12 e.style.display = 'none';
H A DTabs.js29 tab.style.display = 'block';
32 tab.style.display = 'none';
43 …etElementById(this.tabs[k].href.substr(this.tabs[k].href.indexOf('#') + 1)).style.display = 'none';
47 tab.style.display = 'block';
/petsc/src/sys/error/
H A Dadebug.c219 char program[PETSC_MAX_PATH_LEN], display[256], hostname[64]; in PetscAttachDebugger() local
228 if (PetscUnlikely(PetscGetDisplay(display, sizeof(display)))) { in PetscAttachDebugger()
288 args[4] = display; in PetscAttachDebugger()
301 args[5] = display; in PetscAttachDebugger()
314 args[5] = display; in PetscAttachDebugger()
329 args[7] = display; in PetscAttachDebugger()
360 if (cmp) display[0] = 0; /* when using screen, we never pass -display */ in PetscAttachDebugger()
362 if (display[0]) { in PetscAttachDebugger()
364 args[j++] = display; in PetscAttachDebugger()
421 …if (display[0]) printf("PETSC: Attaching %s to %s of pid %s on display %s on machine %s\n", PetscD… in PetscAttachDebugger()
/petsc/src/sys/classes/draw/interface/
H A Ddraw.c292 PetscCall(PetscFree((*draw)->display)); in PetscDrawDestroy()
345 PetscErrorCode PetscDrawSetDisplay(PetscDraw draw, const char display[]) in PetscDrawSetDisplay() argument
348 PetscCall(PetscFree(draw->display)); in PetscDrawSetDisplay()
349 PetscCall(PetscStrallocpy(display, &draw->display)); in PetscDrawSetDisplay()
H A Ddrawreg.c135 PetscErrorCode PetscDrawCreate(MPI_Comm comm, const char display[], const char title[], int x, int … in PetscDrawCreate() argument
147 PetscCall(PetscStrallocpy(display, &draw->display)); in PetscDrawCreate()
/petsc/doc/manualpages/MANSECHeaders/
H A DViewer4 PETSc viewers `PetscViewer` print, display, and export information and data from PETSc objects in a…
/petsc/src/sys/classes/viewer/impls/draw/
H A Dvdraw.h16 char *display; member
H A Ddrawv.c16 PetscCall(PetscFree(vdraw->display)); in PetscViewerDestroy_Draw()
119 PetscErrorCode PetscViewerDrawSetInfo(PetscViewer v, const char display[], const char title[], int … in PetscViewerDrawSetInfo() argument
130 PetscCall(PetscStrallocpy(display, &vdraw->display)); in PetscViewerDrawSetInfo()
213 PetscErrorCode PetscViewerDrawOpen(MPI_Comm comm, const char display[], const char title[], int x, … in PetscViewerDrawOpen() argument
218 PetscCall(PetscViewerDrawSetInfo(*viewer, display, title, x, y, w, h)); in PetscViewerDrawOpen()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DViewer.pyx382 display: str | None = None,
394 display
395 The X display to use or `None` for the local machine.
413 display = str2bytes(display, &cdisplay)
879 display: str | None = None,
890 display
891 The X display to use or `None` for the local machine.
906 display = str2bytes(display, &cdisplay)
/petsc/share/petsc/saws/
H A Ddocumentation14 The first option, Command Options, toggles the display of the generated command line options for th…
16 The second option, Tree, toggles the display of the solver tree.
22 The third option, Matrix, toggles the display of the matrix diagram which shows the logical block s…
/petsc/src/ksp/ksp/tutorials/output/
H A Dex62_gasm_view.out36 Use -sub_ksp_view ::ascii_info_detail to display information for all blocks
87 Use -sub_ksp_view ::ascii_info_detail to display information for all blocks
138 Use -sub_ksp_view ::ascii_info_detail to display information for all blocks
189 Use -sub_ksp_view ::ascii_info_detail to display information for all blocks
271 Use -sub_ksp_view ::ascii_info_detail to display information for all blocks
322 Use -sub_ksp_view ::ascii_info_detail to display information for all blocks
373 Use -sub_ksp_view ::ascii_info_detail to display information for all blocks
424 Use -sub_ksp_view ::ascii_info_detail to display information for all blocks
H A Dex67_transpose_asm.out17 Use -ksp_view ::ascii_info_detail to display information for all blocks
69 Use -ksp_view ::ascii_info_detail to display information for all blocks
H A Dex84_1.out76 … Use -redistribute_fieldsplit_0_ksp_view ::ascii_info_detail to display information for all blocks
122 … Use -redistribute_fieldsplit_1_ksp_view ::ascii_info_detail to display information for all blocks
208 … Use -redistribute_fieldsplit_0_ksp_view ::ascii_info_detail to display information for all blocks
254 … Use -redistribute_fieldsplit_1_ksp_view ::ascii_info_detail to display information for all blocks
H A Dex2_bjacobi_2.out18 Use -ksp_view ::ascii_info_detail to display information for all blocks
/petsc/src/ksp/ksp/tests/output/
H A Dex81_2.out6 Use -beta_ksp_view ::ascii_info_detail to display information for all blocks
26 Use -beta_sub_ksp_view ::ascii_info_detail to display information for all processes
74 Use -beta_ksp_view ::ascii_info_detail to display information for all blocks
94 Use -beta_sub_ksp_view ::ascii_info_detail to display information for all processes
/petsc/share/petsc/bin/
H A Ddmnetwork_view.py241 def display(self, opts: DisplayOptions, title): member in Rank
444 globalRank.display(opts, title)
448 ranks[rank].display(opts, title)
452 ranks[rank].display(opts, title)
/petsc/src/snes/tutorials/output/
H A Dex19_10.out69 … Use -fieldsplit_x_velocity_ksp_view ::ascii_info_detail to display information for all blocks
115 … Use -fieldsplit_y_velocity_ksp_view ::ascii_info_detail to display information for all blocks
161 Use -fieldsplit_Omega_ksp_view ::ascii_info_detail to display information for all blocks
207 … Use -fieldsplit_temperature_ksp_view ::ascii_info_detail to display information for all blocks
H A Dex19_9.out76 … Use -fieldsplit_x_velocity_ksp_view ::ascii_info_detail to display information for all blocks
122 … Use -fieldsplit_y_velocity_ksp_view ::ascii_info_detail to display information for all blocks
168 Use -fieldsplit_Omega_ksp_view ::ascii_info_detail to display information for all blocks
214 … Use -fieldsplit_temperature_ksp_view ::ascii_info_detail to display information for all blocks
H A Dex19_7.out76 … Use -fieldsplit_x_velocity_ksp_view ::ascii_info_detail to display information for all blocks
122 … Use -fieldsplit_y_velocity_ksp_view ::ascii_info_detail to display information for all blocks
168 Use -fieldsplit_Omega_ksp_view ::ascii_info_detail to display information for all blocks
214 … Use -fieldsplit_temperature_ksp_view ::ascii_info_detail to display information for all blocks
H A Dex19_13.out77 … Use -fieldsplit_x_velocity_ksp_view ::ascii_info_detail to display information for all blocks
123 … Use -fieldsplit_y_velocity_ksp_view ::ascii_info_detail to display information for all blocks
169 Use -fieldsplit_Omega_ksp_view ::ascii_info_detail to display information for all blocks
215 … Use -fieldsplit_temperature_ksp_view ::ascii_info_detail to display information for all blocks

1234567