Searched refs:rhsLocal (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex5.c | 20 Vec sol, solRef, solRefLocal, rhs, rhsLocal; in main() local 38 PetscCall(DMGetLocalVector(dmSol, &rhsLocal)); in main() 42 PetscCall(DMStagVecGetArray(dmSol, rhsLocal, &arrRHS)); in main() 57 PetscCall(DMStagVecRestoreArray(dmSol, rhsLocal, &arrRHS)); in main() 58 PetscCall(DMLocalToGlobalBegin(dmSol, rhsLocal, INSERT_VALUES, rhs)); in main() 59 PetscCall(DMLocalToGlobalEnd(dmSol, rhsLocal, INSERT_VALUES, rhs)); in main() 64 PetscCall(DMRestoreLocalVector(dmSol, &rhsLocal)); in main()
|
| H A D | ex11.c | 16 Vec sol, solRef, solRefLocal, rhs, rhsLocal; in main() local 41 PetscCall(DMGetLocalVector(dmSol, &rhsLocal)); in main() 45 PetscCall(DMStagVecGetArray(dmSol, rhsLocal, &arrRHS)); in main() 63 PetscCall(DMStagVecRestoreArray(dmSol, rhsLocal, &arrRHS)); in main() 64 PetscCall(DMLocalToGlobalBegin(dmSol, rhsLocal, INSERT_VALUES, rhs)); in main() 65 PetscCall(DMLocalToGlobalEnd(dmSol, rhsLocal, INSERT_VALUES, rhs)); in main() 70 PetscCall(DMRestoreLocalVector(dmSol, &rhsLocal)); in main()
|
| H A D | ex8.c | 16 Vec sol, solRef, solRefLocal, rhs, rhsLocal; in main() local 41 PetscCall(DMGetLocalVector(dmSol, &rhsLocal)); in main() 45 PetscCall(DMStagVecGetArray(dmSol, rhsLocal, &arrRHS)); in main() 68 PetscCall(DMStagVecRestoreArray(dmSol, rhsLocal, &arrRHS)); in main() 69 PetscCall(DMLocalToGlobalBegin(dmSol, rhsLocal, INSERT_VALUES, rhs)); in main() 70 PetscCall(DMLocalToGlobalEnd(dmSol, rhsLocal, INSERT_VALUES, rhs)); in main() 75 PetscCall(DMRestoreLocalVector(dmSol, &rhsLocal)); in main()
|