Lines Matching refs:xlocal
125 Vec xlocal, xcoor, xcoorl; in VecView_MPI_Draw_DA2d() local
159 PetscCall(PetscObjectQuery((PetscObject)da, "GraphicsGhosted", (PetscObject *)&xlocal)); in VecView_MPI_Draw_DA2d()
160 if (!xlocal) { in VecView_MPI_Draw_DA2d()
174 PetscCall(DMCreateLocalVector(dac, &xlocal)); in VecView_MPI_Draw_DA2d()
182 PetscCall(PetscObjectRemoveReference((PetscObject)xlocal, "__PETSc_dm")); in VecView_MPI_Draw_DA2d()
184 PetscCall(PetscObjectCompose((PetscObject)da, "GraphicsGhosted", (PetscObject)xlocal)); in VecView_MPI_Draw_DA2d()
185 PetscCall(PetscObjectDereference((PetscObject)xlocal)); in VecView_MPI_Draw_DA2d()
188 PetscCall(VecGetDM(xlocal, &dac)); in VecView_MPI_Draw_DA2d()
197 PetscCall(DMGlobalToLocalBegin(dac, xin, INSERT_VALUES, xlocal)); in VecView_MPI_Draw_DA2d()
198 PetscCall(DMGlobalToLocalEnd(dac, xin, INSERT_VALUES, xlocal)); in VecView_MPI_Draw_DA2d()
199 PetscCall(VecGetArrayRead(xlocal, &zctx.v)); in VecView_MPI_Draw_DA2d()
312 PetscCall(VecRestoreArrayRead(xlocal, &zctx.v)); in VecView_MPI_Draw_DA2d()