Home
last modified time | relevance | path

Searched refs:rootType (Results 1 – 3 of 3) sorted by relevance

/petsc/src/mat/interface/
H A Dmatreg.c27 PetscErrorCode MatGetRootType_Private(Mat mat, MatType *rootType) in MatGetRootType_Private() argument
41 *rootType = names->rname; in MatGetRootType_Private()
46 if (!found) *rootType = inType; in MatGetRootType_Private()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h2502 PetscInt *rootType; in DMPforestGetTransferSF_Point() local
2511 PetscCall(PetscMalloc1(pEndF - pStartF, &rootType)); in DMPforestGetTransferSF_Point()
2516 rootType[p - pStartF] = -1; in DMPforestGetTransferSF_Point()
2571 rootType[p - pStartF] = PETSC_INT_MAX; in DMPforestGetTransferSF_Point()
2592 rootType[p - pStartF] = PETSC_INT_MAX; /* unconditionally accept */ in DMPforestGetTransferSF_Point()
2614 if (rootType[p - pStartF] == PETSC_INT_MAX) continue; in DMPforestGetTransferSF_Point()
2674 if (rootType[p - pStartF] == PETSC_INT_MAX) continue; in DMPforestGetTransferSF_Point()
2759 if (l > rootType[p - pStartF]) { in DMPforestGetTransferSF_Point()
2763 rootType[p - pStartF] = PETSC_INT_MAX; in DMPforestGetTransferSF_Point()
2770 rootType[p - pStartF] = l; in DMPforestGetTransferSF_Point()
[all …]
/petsc/src/mat/impls/aij/mpi/
H A Dmpiaij.c4575 MatType rootType; in MatCreateMPIMatConcatenateSeqMat_MPIAIJ() local
4601 PetscCall(MatGetRootType_Private(inmat, &rootType)); in MatCreateMPIMatConcatenateSeqMat_MPIAIJ()
4602 PetscCall(MatSetType(*outmat, rootType)); in MatCreateMPIMatConcatenateSeqMat_MPIAIJ()