Searched refs:iSwapIndex (Results 1 – 2 of 2) sorted by relevance
613 PetscInt iSwapIndex; in PCGAMGCoarsen_GEO() local619 iSwapIndex = (PetscInt) (rr*nloc); in PCGAMGCoarsen_GEO()620 if (!bIndexSet[iSwapIndex] && iSwapIndex != Ii) { in PCGAMGCoarsen_GEO()621 GAMGNode iTemp = gnodes[iSwapIndex]; in PCGAMGCoarsen_GEO()622 gnodes[iSwapIndex] = gnodes[Ii]; in PCGAMGCoarsen_GEO()625 bIndexSet[iSwapIndex] = PETSC_TRUE; in PCGAMGCoarsen_GEO()
856 PetscInt iSwapIndex; in PCGAMGCoarsen_AGG() local879 iSwapIndex = (PetscInt) (hashfact*nloc)%nloc; in PCGAMGCoarsen_AGG()880 if (!bIndexSet[iSwapIndex] && iSwapIndex != Ii) { in PCGAMGCoarsen_AGG()881 PetscInt iTemp = permute[iSwapIndex]; in PCGAMGCoarsen_AGG()882 permute[iSwapIndex] = permute[Ii]; in PCGAMGCoarsen_AGG()884 bIndexSet[iSwapIndex] = PETSC_TRUE; in PCGAMGCoarsen_AGG()