Searched refs:locState (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/pc/impls/gamg/ |
| H A D | geo.c | 449 Vec locState; in getGIDsOnSquareGraph() local 464 PetscCall(MatCreateVecs(Gmat2, &locState, NULL)); in getGIDsOnSquareGraph() 465 PetscCall(VecSet(locState, -1)); /* set with UNKNOWN state */ in getGIDsOnSquareGraph() 469 PetscCall(VecSetValues(locState, 1, &fgid, &v, INSERT_VALUES)); /* set with PID */ in getGIDsOnSquareGraph() 471 PetscCall(VecAssemblyBegin(locState)); in getGIDsOnSquareGraph() 472 PetscCall(VecAssemblyEnd(locState)); in getGIDsOnSquareGraph() 473 …PetscCall(VecScatterBegin(mpimat2->Mvctx, locState, mpimat2->lvec, INSERT_VALUES, SCATTER_FORWARD)… in getGIDsOnSquareGraph() 474 … PetscCall(VecScatterEnd(mpimat2->Mvctx, locState, mpimat2->lvec, INSERT_VALUES, SCATTER_FORWARD)); in getGIDsOnSquareGraph() 495 PetscCall(VecGetArray(locState, &cpcol_state)); in getGIDsOnSquareGraph() 504 PetscCall(VecRestoreArray(locState, &cpcol_state)); in getGIDsOnSquareGraph() [all …]
|