Lines Matching refs:X
58 Vec X, X_loc, rhs, rhs_loc; in RunWithDM() local
94 PetscCall(DMCreateGlobalVector(dm, &X)); in RunWithDM()
95 PetscCall(VecGetLocalSize(X, &l_size)); in RunWithDM()
96 PetscCall(VecGetSize(X, &g_size)); in RunWithDM()
99 PetscCall(VecDuplicate(X, &rhs)); in RunWithDM()
126 PetscCall(VecGetType(X, &vec_type)); in RunWithDM()
216 PetscCall(KSPSolve(ksp, rhs, X)); in RunWithDM()
228 PetscCall(VecZeroEntries(X)); in RunWithDM()
236 PetscCall(KSPSolve(ksp, rhs, X)); in RunWithDM()
268 PetscCall(ComputeL2Error(X, &l2_error, op_error_ctx)); in RunWithDM()
295 PetscCall(VecView(X, vtk_viewer_soln)); in RunWithDM()
300 PetscCall(VecDestroy(&X)); in RunWithDM()