Lines Matching refs:window
19 PetscViewer *window; member
151 …PetscCall(PetscCalloc5(nfields, &socket->window, nfields, &socket->windowtitle, nfields, &socket->… in PetscViewerGLVisSetFields_GLVis()
183 static PetscErrorCode PetscViewerGLVisAttachInfo_Private(PetscViewer viewer, PetscViewer window) in PetscViewerGLVisAttachInfo_Private() argument
190 …PetscCall(PetscObjectQuery((PetscObject)window, "_glvis_info_container", (PetscObject *)&container… in PetscViewerGLVisAttachInfo_Private()
198 …PetscCall(PetscObjectContainerCompose((PetscObject)window, "_glvis_info_container", info, PetscVie… in PetscViewerGLVisAttachInfo_Private()
210 PetscViewer window = NULL; in PetscViewerGLVisGetNewWindow_Private() local
214 PetscCall(PetscViewerASCIISocketOpen(PETSC_COMM_SELF, socket->name, socket->port, &window)); in PetscViewerGLVisGetNewWindow_Private()
220 PetscCall(PetscViewerDestroy(&window)); in PetscViewerGLVisGetNewWindow_Private()
222 *view = window; in PetscViewerGLVisGetNewWindow_Private()
330 if (!socket->window[i]) lconn = PETSC_FALSE; in PetscViewerGLVisGetStatus_Internal()
376 …if (socket->type == PETSC_VIEWER_GLVIS_DUMP) PetscCheck(!socket->window[wid], PETSC_COMM_SELF, PET… in PetscViewerGLVisGetWindow_Internal()
379 PetscCheck(!socket->window[wid], PETSC_COMM_SELF, PETSC_ERR_USER, "This should not happen"); in PetscViewerGLVisGetWindow_Internal()
387 PetscCall(PetscViewerASCIIOpen(PETSC_COMM_SELF, "stdout", &socket->window[wid])); in PetscViewerGLVisGetWindow_Internal()
394 PetscCall(PetscViewerASCIIOpen(PETSC_COMM_SELF, filename, &socket->window[wid])); in PetscViewerGLVisGetWindow_Internal()
397 PetscCall(PetscViewerGLVisGetNewWindow_Private(viewer, &socket->window[wid])); in PetscViewerGLVisGetWindow_Internal()
399 …if (socket->window[wid]) PetscCall(PetscViewerPushFormat(socket->window[wid], PETSC_VIEWER_ASCII_G… in PetscViewerGLVisGetWindow_Internal()
400 *view = socket->window[wid]; in PetscViewerGLVisGetWindow_Internal()
403 *view = socket->window[wid]; in PetscViewerGLVisGetWindow_Internal()
431 …PetscCheck(!*view || *view == socket->window[wid], PetscObjectComm((PetscObject)viewer), PETSC_ERR… in PetscViewerGLVisRestoreWindow_Internal()
437 PetscCall(PetscViewerDestroy(&socket->window[wid])); in PetscViewerGLVisRestoreWindow_Internal()
439 socket->window[wid] = NULL; in PetscViewerGLVisRestoreWindow_Internal()
514 PetscCall(PetscViewerDestroy(&socket->window[i])); in PetscViewerDestroy_GLVis()
520 …PetscCall(PetscFree5(socket->window, socket->windowtitle, socket->fec_type, socket->spacedim, sock… in PetscViewerDestroy_GLVis()