Searched refs:Pscatter (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/tao/constrained/impls/almm/ |
| H A D | almm.c | 191 PetscCall(PetscMalloc1(2, &auglag->Pscatter)); in TaoSetUp_ALMM() 192 … PetscCall(VecScatterCreate(auglag->P, auglag->Pis[0], auglag->Px, NULL, &auglag->Pscatter[0])); in TaoSetUp_ALMM() 193 … PetscCall(VecScatterCreate(auglag->P, auglag->Pis[1], auglag->Ps, NULL, &auglag->Pscatter[1])); in TaoSetUp_ALMM() 296 … PetscCall(VecScatterBegin(auglag->Pscatter[1], SL, auglag->PL, INSERT_VALUES, SCATTER_REVERSE)); in TaoSetUp_ALMM() 297 … PetscCall(VecScatterEnd(auglag->Pscatter[1], SL, auglag->PL, INSERT_VALUES, SCATTER_REVERSE)); in TaoSetUp_ALMM() 298 … PetscCall(VecScatterBegin(auglag->Pscatter[1], SU, auglag->PU, INSERT_VALUES, SCATTER_REVERSE)); in TaoSetUp_ALMM() 299 … PetscCall(VecScatterEnd(auglag->Pscatter[1], SU, auglag->PU, INSERT_VALUES, SCATTER_REVERSE)); in TaoSetUp_ALMM() 348 PetscCall(VecScatterDestroy(&auglag->Pscatter[0])); in TaoDestroy_ALMM() 349 PetscCall(VecScatterDestroy(&auglag->Pscatter[1])); in TaoDestroy_ALMM() 350 PetscCall(PetscFree(auglag->Pscatter)); in TaoDestroy_ALMM() [all …]
|
| H A D | almm.h | 10 VecScatter *Pscatter, *Yscatter; /* scatter objects to write into combined vector spaces */ member
|