Home
last modified time | relevance | path

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

/petsc/src/mat/graphops/coarsen/impls/mis/
H A Dmis.c29 …e, *lid_cprowID, *lid_gid, *cpcol_sel_gid, *icpcol_gid, *lid_state, *lid_parent_gid = NULL, nrm_to… in MatCoarsenApply_MIS_private() local
58 if (strict_aggs) PetscCall(PetscMalloc1(nloc, &lid_parent_gid)); in MatCoarsenApply_MIS_private()
79 if (strict_aggs) lid_parent_gid[kk] = -1.0; in MatCoarsenApply_MIS_private()
197 lid_parent_gid[lid] = sgid; /* keep track of proc that I belong to */ in MatCoarsenApply_MIS_private()
220 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, lid_parent_gid, cpcol_sel_gid, MPI_REPLACE)); in MatCoarsenApply_MIS_private()
221 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, lid_parent_gid, cpcol_sel_gid, MPI_REPLACE)); in MatCoarsenApply_MIS_private()
241 PetscCall(PetscFree(lid_parent_gid)); in MatCoarsenApply_MIS_private()
/petsc/src/mat/graphops/coarsen/impls/misk/
H A Dmisk.c73 …PetscInt *cpcol_gid = NULL, *cpcol_state, *lid_cprowID, *lid_state, *lid_parent_gid = NULL; in MatCoarsenApply_MISK_private() local
109 …oc4(nloc_inner, &lid_cprowID, nloc_inner, &lid_removed, nloc_inner, &lid_parent_gid, nloc_inner, &… in MatCoarsenApply_MISK_private()
115 lid_parent_gid[kk] = -1.0; in MatCoarsenApply_MISK_private()
208 lid_parent_gid[lidj] = sgid; /* keep track of proc that I belong to */ in MatCoarsenApply_MISK_private()
231 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, lid_parent_gid, cpcol_sel_gid, MPI_REPLACE)); in MatCoarsenApply_MISK_private()
232 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, lid_parent_gid, cpcol_sel_gid, MPI_REPLACE)); in MatCoarsenApply_MISK_private()
246 PetscCall(PetscFree4(lid_cprowID, lid_removed, lid_parent_gid, lid_state)); in MatCoarsenApply_MISK_private()
/petsc/src/ksp/pc/impls/gamg/
H A Dagg.c842 PetscScalar *cpcol_1_state, *cpcol_2_state, *cpcol_2_par_orig, *lid_parent_gid; in fixAggregatesWithSquare() local
856 PetscCall(PetscMalloc3(nloc, &lid_state, nloc, &lid_parent_gid, nloc, &lid_cprowID_1)); in fixAggregatesWithSquare()
883 lid_parent_gid[lid] = -1.0; in fixAggregatesWithSquare()
914 if (gid1 >= my0 && gid1 < Iend) lid_parent_gid[gid1 - my0] = (PetscScalar)(lid + my0); in fixAggregatesWithSquare()
940 PetscScalar v = lid_parent_gid[kk]; in fixAggregatesWithSquare()
965 …if (statej == DELETED && (sgid = (PetscInt)PetscRealPart(lid_parent_gid[lidj])) != lid + my0) { /*… in fixAggregatesWithSquare()
966lid_parent_gid[lidj] = (PetscScalar)(lid + my0); /* s… in fixAggregatesWithSquare()
998 PetscInt sgidold = (PetscInt)PetscRealPart(lid_parent_gid[lid]); in fixAggregatesWithSquare()
1010 lid_parent_gid[lid] = (PetscScalar)statej; /* send who selected */ in fixAggregatesWithSquare()
1054 …= my0; kk < nloc; kk++, j++) PetscCall(VecSetValues(tempVec, 1, &j, &lid_parent_gid[kk], INSERT_VA… in fixAggregatesWithSquare()
[all …]