Lines Matching refs:xcoorl
151 Vec xcoor, xcoorl; in DMSetUpGLVisViewer_DMDA() local
196 PetscCall(DMCreateLocalVector(dacoord, &xcoorl)); in DMSetUpGLVisViewer_DMDA()
197 PetscCall(DMGlobalToLocalBegin(dacoord, xcoor, INSERT_VALUES, xcoorl)); in DMSetUpGLVisViewer_DMDA()
198 PetscCall(DMGlobalToLocalEnd(dacoord, xcoor, INSERT_VALUES, xcoorl)); in DMSetUpGLVisViewer_DMDA()
211 PetscCall(VecDuplicate(xcoor, &xcoorl)); in DMSetUpGLVisViewer_DMDA()
212 PetscCall(VecCopy(xcoor, xcoorl)); in DMSetUpGLVisViewer_DMDA()
213 PetscCall(VecSetDM(xcoorl, NULL)); in DMSetUpGLVisViewer_DMDA()
230 PetscCall(PetscObjectSetName((PetscObject)xcoorl, fecmesh)); in DMSetUpGLVisViewer_DMDA()
231 } else PetscCall(PetscObjectSetName((PetscObject)xcoorl, name)); in DMSetUpGLVisViewer_DMDA()
235 …scCall(PetscObjectCompose((PetscObject)daview, "GLVisGraphicsCoordsGhosted", (PetscObject)xcoorl)); in DMSetUpGLVisViewer_DMDA()
236 PetscCall(PetscObjectDereference((PetscObject)xcoorl)); in DMSetUpGLVisViewer_DMDA()
338 Vec xcoorl; in DMDAView_GLVis_ASCII() local
443 …PetscCall(PetscObjectQuery((PetscObject)da, "GLVisGraphicsCoordsGhosted", (PetscObject *)&xcoorl)); in DMDAView_GLVis_ASCII()
444 …PetscCheck(xcoorl, PetscObjectComm((PetscObject)dm), PETSC_ERR_PLIB, "Missing GLVis ghosted coords… in DMDAView_GLVis_ASCII()
449 PetscCall(VecGetDM(xcoorl, &cda)); in DMDAView_GLVis_ASCII()
450 PetscCall(VecGetArrayRead(xcoorl, &array)); in DMDAView_GLVis_ASCII()
455 PetscCall(PetscObjectGetName((PetscObject)xcoorl, &fecname)); in DMDAView_GLVis_ASCII()
463 PetscCall(VecGetLocalSize(xcoorl, &nl)); in DMDAView_GLVis_ASCII()
503 PetscCall(VecRestoreArrayRead(xcoorl, &array)); in DMDAView_GLVis_ASCII()