Searched refs:tmp_crds (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/pc/impls/gamg/ |
| H A D | util.c | 25 Vec tmp_crds; in PCGAMGGetDataWithGhosts() local 41 PetscCall(MatCreateVecs(Gmat, &tmp_crds, NULL)); in PCGAMGGetDataWithGhosts() 51 PetscCall(VecSetValues(tmp_crds, 1, &gid, &crd, INSERT_VALUES)); in PCGAMGGetDataWithGhosts() 53 PetscCall(VecAssemblyBegin(tmp_crds)); in PCGAMGGetDataWithGhosts() 54 PetscCall(VecAssemblyEnd(tmp_crds)); in PCGAMGGetDataWithGhosts() 56 … PetscCall(VecScatterBegin(mpimat->Mvctx, tmp_crds, mpimat->lvec, INSERT_VALUES, SCATTER_FORWARD)); in PCGAMGGetDataWithGhosts() 57 PetscCall(VecScatterEnd(mpimat->Mvctx, tmp_crds, mpimat->lvec, INSERT_VALUES, SCATTER_FORWARD)); in PCGAMGGetDataWithGhosts() 62 PetscCall(VecDestroy(&tmp_crds)); in PCGAMGGetDataWithGhosts()
|