Searched refs:rootType (Results 1 – 3 of 3) sorted by relevance
27 PetscErrorCode MatGetRootType_Private(Mat mat, MatType *rootType) in MatGetRootType_Private() argument41 *rootType = names->rname; in MatGetRootType_Private()46 if (!found) *rootType = inType; in MatGetRootType_Private()
2502 PetscInt *rootType; in DMPforestGetTransferSF_Point() local2511 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 …]
4575 MatType rootType; in MatCreateMPIMatConcatenateSeqMat_MPIAIJ() local4601 PetscCall(MatGetRootType_Private(inmat, &rootType)); in MatCreateMPIMatConcatenateSeqMat_MPIAIJ()4602 PetscCall(MatSetType(*outmat, rootType)); in MatCreateMPIMatConcatenateSeqMat_MPIAIJ()