Searched refs:f_copy (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/utils/lmvm/tests/ |
| H A D | lmvm_copy_test.c | 123 Vec u, x, f, x_copy, f_copy, v1, v2, v3; in testMatLMVMCopy() local 151 PetscCall(VecDuplicate(f, &f_copy)); in testMatLMVMCopy() 152 PetscCall(VecCopy(f, f_copy)); in testMatLMVMCopy() 161 PetscCall(positiveVectorUpdate(rand, x_copy, f_copy)); in testMatLMVMCopy() 162 PetscCall(MatLMVMUpdate(A_copy, x_copy, f_copy)); in testMatLMVMCopy() 166 PetscCall(VecDestroy(&f_copy)); in testMatLMVMCopy()
|
| H A D | ex1.c | 372 Vec f_copy, Hf, Hf_copy; in TestUpdate() local 375 PetscCall(VecDuplicate(f, &f_copy)); in TestUpdate() 376 PetscCall(VecCopy(f, f_copy)); in TestUpdate() 380 PetscCall(MatSolve(B, f_copy, Hf_copy)); in TestUpdate() 388 PetscCall(VecDestroy(&f_copy)); in TestUpdate()
|