Searched refs:petsc_ranks (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/impls/aij/mpi/mumps/ |
| H A D | mumps.c | 1846 PetscMPIInt j, k, sendcount, *petsc_ranks, *omp_ranks; in MatMumpsSetUpDistRHSInfo() local 1853 PetscCall(PetscMalloc2(ompsize, &omp_ranks, ompsize, &petsc_ranks)); in MatMumpsSetUpDistRHSInfo() 1858 … PetscCallMPI(MPI_Group_translate_ranks(omp_group, ompsize, omp_ranks, petsc_group, petsc_ranks)); in MatMumpsSetUpDistRHSInfo() 1864 mumps->rhs_nrow[j] = ranges[petsc_ranks[j] + 1] - ranges[petsc_ranks[j]]; in MatMumpsSetUpDistRHSInfo() 1869 …for (i = ranges[petsc_ranks[j]]; i < ranges[petsc_ranks[j] + 1]; i++, k++) PetscCall(PetscMUMPSInt… in MatMumpsSetUpDistRHSInfo() 1872 PetscCall(PetscFree2(omp_ranks, petsc_ranks)); in MatMumpsSetUpDistRHSInfo()
|