Lines Matching refs:xcoorl
125 Vec xlocal, xcoor, xcoorl; in VecView_MPI_Draw_DA2d() local
235 PetscCall(PetscObjectQuery((PetscObject)da, "GraphicsCoordinateGhosted", (PetscObject *)&xcoorl)); in VecView_MPI_Draw_DA2d()
236 if (!xcoorl) { in VecView_MPI_Draw_DA2d()
241 PetscCall(DMCreateLocalVector(dag, &xcoorl)); in VecView_MPI_Draw_DA2d()
242 … PetscCall(PetscObjectCompose((PetscObject)da, "GraphicsCoordinateGhosted", (PetscObject)xcoorl)); in VecView_MPI_Draw_DA2d()
244 PetscCall(PetscObjectDereference((PetscObject)xcoorl)); in VecView_MPI_Draw_DA2d()
245 } else PetscCall(VecGetDM(xcoorl, &dag)); in VecView_MPI_Draw_DA2d()
246 PetscCall(DMGlobalToLocalBegin(dag, xcoor, INSERT_VALUES, xcoorl)); in VecView_MPI_Draw_DA2d()
247 PetscCall(DMGlobalToLocalEnd(dag, xcoor, INSERT_VALUES, xcoorl)); in VecView_MPI_Draw_DA2d()
248 PetscCall(VecGetArrayRead(xcoorl, &zctx.xy)); in VecView_MPI_Draw_DA2d()
311 PetscCall(VecRestoreArrayRead(xcoorl, &zctx.xy)); in VecView_MPI_Draw_DA2d()