Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/gamg/
H A Dgeo.c562 PetscInt iSwapIndex; in PCGAMGCoarsen_GEO() local
568 iSwapIndex = (PetscInt)(rr * nloc); in PCGAMGCoarsen_GEO()
569 if (!bIndexSet[iSwapIndex] && iSwapIndex != Ii) { in PCGAMGCoarsen_GEO()
570 GAMGNode iTemp = gnodes[iSwapIndex]; in PCGAMGCoarsen_GEO()
571 gnodes[iSwapIndex] = gnodes[Ii]; in PCGAMGCoarsen_GEO()
574 bIndexSet[iSwapIndex] = PETSC_TRUE; in PCGAMGCoarsen_GEO()
H A Dagg.c1186 PetscInt iSwapIndex; in PCGAMGCoarsen_AGG() local
1212 iSwapIndex = (PetscInt)(hashfact * nloc) % nloc; in PCGAMGCoarsen_AGG()
1213 if (!bIndexSet[iSwapIndex] && iSwapIndex != Ii) { in PCGAMGCoarsen_AGG()
1214 PetscInt iTemp = permute[iSwapIndex]; in PCGAMGCoarsen_AGG()
1216 permute[iSwapIndex] = permute[Ii]; in PCGAMGCoarsen_AGG()
1218 iTemp = degree[iSwapIndex]; in PCGAMGCoarsen_AGG()
1219 degree[iSwapIndex] = degree[Ii]; in PCGAMGCoarsen_AGG()
1221 bIndexSet[iSwapIndex] = PETSC_TRUE; in PCGAMGCoarsen_AGG()