Searched refs:Vloc (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex42.c | 342 Vec U, Uloc, V, Vloc; in main() local 358 PetscCall(VecDuplicate(Uloc, &Vloc)); in main() 363 PetscCall(VecZeroEntries(Vloc)); in main() 364 PetscCall(VecGetArray(Vloc, &v)); in main() 369 PetscCall(VecRestoreArray(Vloc, &v)); in main() 370 PetscCall(DMLocalToGlobalBegin(dm, Vloc, ADD_VALUES, V)); in main() 371 PetscCall(DMLocalToGlobalEnd(dm, Vloc, ADD_VALUES, V)); in main() 391 PetscCall(VecDestroy(&Vloc)); in main()
|
| /petsc/src/mat/impls/lrc/ |
| H A D | lrc.c | 37 Mat Uloc, Vloc; in MatMult_LRC_kernel() local 47 PetscCall(MatDenseGetLocalMatrix(V, &Vloc)); in MatMult_LRC_kernel() 51 PetscCall(MatMultHermitianTranspose(Vloc, xl, Na->work1)); in MatMult_LRC_kernel() 272 Mat Vloc; in MatSetUp_LRC() local 284 PetscCall(MatDenseGetLocalMatrix(Na->V, &Vloc)); in MatSetUp_LRC() 286 PetscCall(MatCreateVecs(Vloc, NULL, &Na->xl)); in MatSetUp_LRC()
|