Lines Matching refs:xred
133 Vec x, xred, yred, xtmp; in PCTelescopeSetUp_default() local
151 xred = NULL; in PCTelescopeSetUp_default()
154 PetscCall(VecCreate(subcomm, &xred)); in PCTelescopeSetUp_default()
155 PetscCall(VecSetSizes(xred, PETSC_DECIDE, M)); in PCTelescopeSetUp_default()
156 PetscCall(VecSetBlockSize(xred, bs)); in PCTelescopeSetUp_default()
157 PetscCall(VecSetType(xred, vectype)); in PCTelescopeSetUp_default()
158 PetscCall(VecSetFromOptions(xred)); in PCTelescopeSetUp_default()
159 PetscCall(VecGetLocalSize(xred, &m)); in PCTelescopeSetUp_default()
163 if (PCTelescope_isActiveRank(sred)) PetscCall(VecDuplicate(xred, &yred)); in PCTelescopeSetUp_default()
171 PetscCall(VecGetOwnershipRange(xred, &st, &ed)); in PCTelescopeSetUp_default()
183 sred->xred = xred; in PCTelescopeSetUp_default()
242 if (n) PetscCall(VecDuplicateVecs(sred->xred, n, &sub_vecs)); in PCTelescopeSubNullSpaceCreate_Telescope()
570 Vec xtmp, xred, yred; in PCApply_Telescope() local
581 xred = sred->xred; in PCApply_Telescope()
590 if (xred) { in PCApply_Telescope()
592 PetscCall(VecGetOwnershipRange(xred, &st, &ed)); in PCApply_Telescope()
593 PetscCall(VecGetArray(xred, &LA_xred)); in PCApply_Telescope()
595 PetscCall(VecRestoreArray(xred, &LA_xred)); in PCApply_Telescope()
600 PetscCall(KSPSolve(sred->ksp, xred, yred)); in PCApply_Telescope()
674 PetscCall(VecDestroy(&sred->xred)); in PCReset_Telescope()