Lines Matching refs:nselected_1
126 …Prol(IS selected_2, PetscInt data_stride, PetscReal coords[], PetscInt nselected_1, const PetscInt… in triangulateAndFormProl() argument
428 static PetscErrorCode getGIDsOnSquareGraph(PC pc, PetscInt nselected_1, const PetscInt clid_lid_1[]… in getGIDsOnSquareGraph() argument
441 PetscCall(PetscMalloc1(nselected_1, &crsGID)); in getGIDsOnSquareGraph()
442 for (kk = 0; kk < nselected_1; kk++) crsGID[kk] = kk; in getGIDsOnSquareGraph()
444 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, nselected_1, clid_lid_1, PETSC_COPY_VALUES, a_selected_… in getGIDsOnSquareGraph()
453 kk = nselected_1; in getGIDsOnSquareGraph()
455 myCrs0 -= nselected_1; in getGIDsOnSquareGraph()
466 for (kk = 0; kk < nselected_1; kk++) { 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()
485 for (kk = 0, idx = nselected_1; kk < num_fine_ghosts; kk++) { in getGIDsOnSquareGraph()
492 …nselected_1 + num_crs_ghost), PETSC_COMM_SELF, PETSC_ERR_PLIB, "idx %" PetscInt_FMT " != (nselecte… in getGIDsOnSquareGraph()
503 …PetscCheck(idx == nselected_1, PETSC_COMM_SELF, PETSC_ERR_PLIB, "idx %" PetscInt_FMT " != nselecte… in getGIDsOnSquareGraph()
507 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, nselected_1 + num_crs_ghost, selected_set, PETSC_OWN_PO… in getGIDsOnSquareGraph()