Lines Matching refs:xred
43 Vec xred, yred, xtmp, x, xp; in PCTelescopeSetUp_scatters_CoarseDM() local
57 xred = NULL; in PCTelescopeSetUp_scatters_CoarseDM()
60 PetscCall(DMCreateGlobalVector(ctx->dm_coarse, &xred)); in PCTelescopeSetUp_scatters_CoarseDM()
61 PetscCall(VecDuplicate(xred, &yred)); in PCTelescopeSetUp_scatters_CoarseDM()
62 PetscCall(VecGetOwnershipRange(xred, &st, &ed)); in PCTelescopeSetUp_scatters_CoarseDM()
64 PetscCall(VecGetLocalSize(xred, &m)); in PCTelescopeSetUp_scatters_CoarseDM()
75 sred->xred = xred; in PCTelescopeSetUp_scatters_CoarseDM()
225 Vec xred, yred; in PCApply_Telescope_CoarseDM() local
230 xred = sred->xred; in PCApply_Telescope_CoarseDM()
237 PetscCall(ctx->fp_dm_field_scatter(ctx->dm_fine, x, SCATTER_FORWARD, ctx->dm_coarse, xred)); in PCApply_Telescope_CoarseDM()
240 if (PCTelescope_isActiveRank(sred)) PetscCall(KSPSolve(sred->ksp, xred, yred)); in PCApply_Telescope_CoarseDM()
262 if (n) PetscCall(VecDuplicateVecs(sred->xred, n, &sub_vecs)); in PCTelescopeSubNullSpaceCreate_CoarseDM()