Home
last modified time | relevance | path

Searched refs:num_crs_ghost (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ksp/pc/impls/gamg/
H A Dgeo.c446 PetscInt idx, num_fine_ghosts, num_crs_ghost, myCrs0; in getGIDsOnSquareGraph() local
477 for (kk = 0, num_crs_ghost = 0; kk < num_fine_ghosts; kk++) { in getGIDsOnSquareGraph()
478 if ((PetscInt)PetscRealPart(cpcol_state[kk]) != -1) num_crs_ghost++; in getGIDsOnSquareGraph()
480 PetscCall(PetscMalloc1(nselected_1 + num_crs_ghost, &crsGID)); /* output */ in getGIDsOnSquareGraph()
483 PetscCall(PetscMalloc1(nselected_1 + num_crs_ghost, &selected_set)); in getGIDsOnSquareGraph()
492num_crs_ghost), PETSC_COMM_SELF, PETSC_ERR_PLIB, "idx %" PetscInt_FMT " != (nselected_1 %" PetscIn… in getGIDsOnSquareGraph()
507 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, nselected_1 + num_crs_ghost, selected_set, PETSC_OWN_PO… in getGIDsOnSquareGraph()