Lines Matching refs:work1
9 Vec work1, work2; /* sequential vectors that hold partial products */ member
24 PetscCall(MatMultHermitianTranspose(V, x, Na->work1)); in MatMult_LRC_kernel()
25 if (Na->c) PetscCall(VecPointwiseMult(Na->work1, Na->c, Na->work1)); in MatMult_LRC_kernel()
32 PetscCall(MatMultAdd(U, Na->work1, y, y)); in MatMult_LRC_kernel()
34 PetscCall(MatMult(U, Na->work1, y)); in MatMult_LRC_kernel()
51 PetscCall(MatMultHermitianTranspose(Vloc, xl, Na->work1)); in MatMult_LRC_kernel()
56 PetscCall(VecGetArrayRead(Na->work1, &w1)); in MatMult_LRC_kernel()
58 PetscCall(VecGetLocalSize(Na->work1, &nwork)); in MatMult_LRC_kernel()
60 PetscCall(VecRestoreArrayRead(Na->work1, &w1)); in MatMult_LRC_kernel()
109 PetscCall(VecDestroy(&Na->work1)); in MatDestroy_LRC()
267 PetscCall(MatCreateVecs(Uloc, &Na->work1, NULL)); in MatSetUp_LRC()
285 PetscCall(VecDuplicate(Na->work1, &Na->work2)); in MatSetUp_LRC()
294 PetscCall(VecGetRootType_Private(Na->work1, &rt1)); in MatSetUp_LRC()