Lines Matching refs:daview
144 DM da = (DM)oda, daview; in DMSetUpGLVisViewer_DMDA() local
147 PetscCall(PetscObjectQuery(oda, "GLVisGraphicsDMDAGhosted", (PetscObject *)&daview)); in DMSetUpGLVisViewer_DMDA()
148 if (!daview) { in DMSetUpGLVisViewer_DMDA()
173 …etscCall(DMDACreate1d(PetscObjectComm((PetscObject)da), DM_BOUNDARY_NONE, M, dof, 1, lx, &daview)); in DMSetUpGLVisViewer_DMDA()
177 …t)da), DM_BOUNDARY_NONE, DM_BOUNDARY_NONE, DMDA_STENCIL_BOX, M, N, m, n, dof, 1, lx, ly, &daview)); in DMSetUpGLVisViewer_DMDA()
181 …BOUNDARY_NONE, DM_BOUNDARY_NONE, DMDA_STENCIL_BOX, M, N, P, m, n, p, dof, 1, lx, ly, lz, &daview)); in DMSetUpGLVisViewer_DMDA()
187 PetscCall(DMSetApplicationContext(daview, dactx)); in DMSetUpGLVisViewer_DMDA()
188 PetscCall(DMSetApplicationContextDestroy(daview, DMDAGhostedDestroyGLVisViewerCtx_Private)); in DMSetUpGLVisViewer_DMDA()
189 PetscCall(DMSetUp(daview)); in DMSetUpGLVisViewer_DMDA()
191 PetscCall(DMDASetUniformCoordinates(daview, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0)); in DMSetUpGLVisViewer_DMDA()
192 PetscCall(DMGetCoordinates(daview, &xcoor)); in DMSetUpGLVisViewer_DMDA()
206 PetscCall(DMDAGetNumElementsGhosted(daview, &ien, &jen, &ken)); in DMSetUpGLVisViewer_DMDA()
235 …PetscCall(PetscObjectCompose((PetscObject)daview, "GLVisGraphicsCoordsGhosted", (PetscObject)xcoor… in DMSetUpGLVisViewer_DMDA()
239 PetscCall(PetscObjectCompose(oda, "GLVisGraphicsDMDAGhosted", (PetscObject)daview)); in DMSetUpGLVisViewer_DMDA()
240 PetscCall(PetscObjectDereference((PetscObject)daview)); in DMSetUpGLVisViewer_DMDA()
255 …PetscCall(DMDAGetInfo(daview, &dim, NULL, NULL, NULL, NULL, NULL, NULL, &dof, NULL, NULL, NULL, NU… in DMSetUpGLVisViewer_DMDA()
256 PetscCall(DMGetApplicationContext(daview, &dactx)); in DMSetUpGLVisViewer_DMDA()
257 PetscCall(DMCreateLocalVector(daview, &xlocal)); in DMSetUpGLVisViewer_DMDA()
259 PetscCall(DMDAGetNumVerticesGhosted(daview, &M, &N, &P)); in DMSetUpGLVisViewer_DMDA()