Lines Matching refs:Xglobal
6 Vec Xglobal; member
185 …PetscCheck(shell->Xglobal, PetscObjectComm((PetscObject)dm), PETSC_ERR_USER, "Must call DMShellSet… in DMCreateMatrix_Shell()
187 PetscCall(VecGetSize(shell->Xglobal, &M)); in DMCreateMatrix_Shell()
188 PetscCall(VecGetLocalSize(shell->Xglobal, &m)); in DMCreateMatrix_Shell()
209 X = shell->Xglobal; in DMCreateGlobalVector_Shell()
418 PetscCall(VecDestroy(&shell->Xglobal)); in DMShellSetGlobalVector()
419 shell->Xglobal = X; in DMShellSetGlobalVector()
448 *X = shell->Xglobal; in DMShellGetGlobalVector()
1091 PetscCall(VecDestroy(&shell->Xglobal)); in DMDestroy_Shell()
1106 if (shell->Xglobal) PetscCall(VecView(shell->Xglobal, v)); in DMView_Shell()
1115 PetscCall(VecCreate(PetscObjectComm((PetscObject)dm), &shell->Xglobal)); in DMLoad_Shell()
1116 PetscCall(VecLoad(shell->Xglobal, v)); in DMLoad_Shell()