Lines Matching refs:ghost1_idx

394   PetscInt  lid0, gid1, ghost1_idx;  member
640 Edges[nEdges].ghost1_idx = -1; in MatCoarsenApply_HEM_private()
655 Edges[nEdges].ghost1_idx = aj[jj]; in MatCoarsenApply_HEM_private()
687 …const PetscInt lid0 = e->lid0, gid1 = e->gid1, ghost1_idx = e->ghost1_idx, gid0 = lid0 + Istart, l… in MatCoarsenApply_HEM_private() local
691 …d_matched[lid0] ? "true" : "false", (ghost1_idx != -1 && lghost_matched[ghost1_idx]) ? "true" : "f… in MatCoarsenApply_HEM_private()
693 …if (lid_matched[lid0] || (ghost1_idx != -1 && lghost_matched[ghost1_idx]) || (ghost1_idx == -1 && … in MatCoarsenApply_HEM_private()
701 …, (double)(PetscRealPart(lid_max_ew[lid0]) - e->weight), ghost1_idx != -1 ? lghost_pe[ghost1_idx] … in MatCoarsenApply_HEM_private()
706 if (ghost1_idx == -1) { in MatCoarsenApply_HEM_private()
709 … %20.14e edge (%" PetscInt_FMT " %" PetscInt_FMT "), diff = %10.4e\n", ghost1_idx != -1 ? '\t' : '… in MatCoarsenApply_HEM_private()
714 PetscReal g_max_e1 = PetscRealPart(lghost_max_ew[ghost1_idx]); in MatCoarsenApply_HEM_private()
718 …)(PetscRealPart(lghost_max_ew[ghost1_idx]) - e->weight), lghost_pe[ghost1_idx], lid_max_pe[lid0], … in MatCoarsenApply_HEM_private()
722 …} else if (g_max_e1 >= e->weight - MY_MEPS && lghost_pe[ghost1_idx] > rank) { // is 'lghost_max_pe… in MatCoarsenApply_HEM_private()
725 …)(PetscRealPart(lid_max_ew[lid0]) - e->weight), lghost_pe[ghost1_idx], lghost_max_pe[ghost1_idx], … in MatCoarsenApply_HEM_private()
760 if (ghost1_idx == -1) { in MatCoarsenApply_HEM_private()
785 …PetscReal e1_max_w = (ghost1_idx == -1 ? PetscRealPart(lid_max_ew[lid0]) : PetscRealPart(lghost_ma… in MatCoarsenApply_HEM_private()
787 …", rank, gid0, gid1, (double)e1_max_w, (double)(e1_max_w - e->weight), ghost1_idx == -1 ? "local" … in MatCoarsenApply_HEM_private()
790 if (ghost1_idx == -1) { in MatCoarsenApply_HEM_private()
796 PetscMPIInt proc = lghost_pe[ghost1_idx]; in MatCoarsenApply_HEM_private()
797 …scCheck(!lghost_matched[ghost1_idx], PETSC_COMM_SELF, PETSC_ERR_SUP, "ghost %" PetscInt_FMT " is m… in MatCoarsenApply_HEM_private()
798 lghost_matched[ghost1_idx] = PETSC_TRUE; in MatCoarsenApply_HEM_private()
799 … PetscCall(PetscCDAppendID(ghost_deleted_list, proc, ghost1_idx)); /* cache to send messages */ in MatCoarsenApply_HEM_private()