Lines Matching refs:cmap
89 PetscLayout cmap; in PetscViewerHDF5ReadSizes_Private() local
101 PetscCall(PetscLayoutCreate(PetscObjectComm((PetscObject)viewer), &cmap)); in PetscViewerHDF5ReadSizes_Private()
102 cmap->bs = 3; in PetscViewerHDF5ReadSizes_Private()
103 …PetscCall(PetscViewerHDF5Load_Internal(viewer, ctx->name, PETSC_FALSE, cmap, inttype, (void **)&lc… in PetscViewerHDF5ReadSizes_Private()
104 …etscCheck(!(cmap->n % 3), PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Compressed IS must have an even n… in PetscViewerHDF5ReadSizes_Private()
105 for (PetscInt i = 0; i < cmap->n / 3; ++i) N += lcind[i * 3 + 0]; in PetscViewerHDF5ReadSizes_Private()
107 ctx->runs = cmap->N / 3; in PetscViewerHDF5ReadSizes_Private()
108 PetscCall(PetscMalloc1(cmap->N, &ctx->cind)); in PetscViewerHDF5ReadSizes_Private()
110 PetscCall(PetscLayoutGetRanges(cmap, &range)); in PetscViewerHDF5ReadSizes_Private()
116 PetscCall(PetscMPIIntCast(cmap->n, &n)); in PetscViewerHDF5ReadSizes_Private()
120 PetscCall(PetscLayoutDestroy(&cmap)); in PetscViewerHDF5ReadSizes_Private()