Searched refs:Mi (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexmetric.c | 1637 PetscScalar *M, *Mi; in DMPlexMetricIntersection() local 1648 PetscCall(DMPlexPointLocalRef(dm, v, meti, &Mi)); in DMPlexMetricIntersection() 1649 PetscCall(DMPlexMetricIntersection_Private(nrow, Mi, M)); in DMPlexMetricIntersection()
|
| /petsc/src/mat/impls/nest/ |
| H A D | matnest.c | 1103 PetscInt m, n, M, N, mi, ni, Mi, Ni; in MatNestSetSubMat_Nest() local 1112 PetscCall(ISGetSize(bA->isglobal.row[idxm], &Mi)); in MatNestSetSubMat_Nest() 1115 …Mi && N == Ni, PetscObjectComm((PetscObject)mat), PETSC_ERR_ARG_INCOMP, "Submatrix dimension (%" P… in MatNestSetSubMat_Nest() 1718 PetscInt m, n, M, N, mi, ni, Mi, Ni; in MatSetUp_NestIS_Private() local 1723 PetscCall(ISGetSize(vs->isglobal.row[i], &Mi)); in MatSetUp_NestIS_Private() 1727 …Mi && N == Ni, PetscObjectComm((PetscObject)sub), PETSC_ERR_ARG_INCOMP, "Global sizes (%" PetscInt… in MatSetUp_NestIS_Private()
|
| /petsc/src/mat/impls/aij/seq/seqcusparse/ |
| H A D | aijcusparse.cu | 207 PetscInt *Mi, *Mj, Mnz; in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() local 216 PetscCall(PetscMalloc1(m + 1, &Mi)); in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() 219 Mi[0] = 0; in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() 223 … PetscCall(PetscArraycpy(Mj + Mi[i], Aj + Ai[i], llen)); // entries of L in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() 224 …Mj[Mi[i] + llen] = i; // diagonal entry in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() 225 …PetscCall(PetscArraycpy(Mj + Mi[i] + llen + 1, Aj + adiag[i + 1] + 1, ulen - 1)); // entries of U … in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() 226 Mi[i + 1] = Mi[i] + llen + ulen; in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() 232 …PetscCallCUDA(cudaMemcpy(fs->csrRowPtr, Mi, sizeof(*fs->csrRowPtr) * (m + 1), cudaMemcpyHostToDevi… in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() 270 fs->csrRowPtr_h = Mi; in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() 275 Mi = fs->csrRowPtr_h; in MatSeqAIJCUSPARSEBuildFactoredMatrix_LU() [all …]
|