Searched refs:mat_graph (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddc.c | 141 …PetscCall(PetscViewerASCIIPrintf(viewer, " Use user-defined CSR: %d\n", !!pcbddc->mat_graph->nvtx… in PCView_BDDC() 142 …tf(viewer, " Use local mat graph: %d\n", pcbddc->use_local_adj && !pcbddc->mat_graph->nvtxs_csr)); in PCView_BDDC() 143 if (pcbddc->mat_graph->twodim) { in PCView_BDDC() 992 PCBDDCGraph mat_graph = pcbddc->mat_graph; in PCBDDCSetLocalAdjacencyGraph_BDDC() local 1001 PetscCall(PCBDDCGraphResetCSR(mat_graph)); in PCBDDCSetLocalAdjacencyGraph_BDDC() 1004 if (mat_graph->nvtxs == nvtxs && mat_graph->freecsr) { /* we own the data */ in PCBDDCSetLocalAdjacencyGraph_BDDC() 1005 if (mat_graph->xadj == xadj && mat_graph->adjncy == adjncy) same_data = PETSC_TRUE; in PCBDDCSetLocalAdjacencyGraph_BDDC() 1006 if (!same_data && mat_graph->xadj[nvtxs] == xadj[nvtxs]) { in PCBDDCSetLocalAdjacencyGraph_BDDC() 1007 PetscCall(PetscArraycmp(xadj, mat_graph->xadj, nvtxs + 1, &same_data)); in PCBDDCSetLocalAdjacencyGraph_BDDC() 1008 if (same_data) PetscCall(PetscArraycmp(adjncy, mat_graph->adjncy, xadj[nvtxs], &same_data)); in PCBDDCSetLocalAdjacencyGraph_BDDC() [all …]
|
| H A D | bddcprivate.c | 858 if (pcbddc->mat_graph->nvtxs_csr) { /* the user has passed in a CSR graph */ in PCBDDCNedelecSupport() 859 …>mat_graph->nvtxs_csr == n, PETSC_COMM_SELF, PETSC_ERR_USER, "Invalid size of CSR graph %" PetscIn… in PCBDDCNedelecSupport() 860 iiu = pcbddc->mat_graph->xadj; in PCBDDCNedelecSupport() 861 jju = pcbddc->mat_graph->adjncy; in PCBDDCNedelecSupport() 918 pcbddc->mat_graph->twodim = PETSC_FALSE; in PCBDDCNedelecSupport() 921 …PetscCall(PCBDDCGraphGetCandidatesIS(pcbddc->mat_graph, NULL, NULL, &nee, &alleedges, &allprimals)… in PCBDDCNedelecSupport() 1138 …PetscCall(PCBDDCGraphRestoreCandidatesIS(pcbddc->mat_graph, NULL, NULL, &nee, &alleedges, &allprim… in PCBDDCNedelecSupport() 1144 pcbddc->mat_graph->twodim = PETSC_FALSE; in PCBDDCNedelecSupport() 1145 …PetscCall(PCBDDCGraphGetCandidatesIS(pcbddc->mat_graph, NULL, NULL, &nee, &alleedges, &allprimals)… in PCBDDCNedelecSupport() 1205 if (print) PetscCall(PCBDDCGraphASCIIView(pcbddc->mat_graph, 5, PETSC_VIEWER_STDOUT_SELF)); in PCBDDCNedelecSupport() [all …]
|
| H A D | bddcfetidp.c | 122 PCBDDCGraph mat_graph = pcbddc->mat_graph; in PCBDDCSetupFETIDPMatContext() local 239 PetscCall(PCBDDCGraphGetCandidatesIS(mat_graph, NULL, NULL, NULL, NULL, &isvert)); in PCBDDCSetupFETIDPMatContext() 252 for (i = 0, j = 0; i < pcis->n; i++) j += mat_graph->nodes[i].count; in PCBDDCSetupFETIDPMatContext() 255 PCBDDCGraphNode *node = &mat_graph->nodes[i]; in PCBDDCSetupFETIDPMatContext() 279 if (mat_graph->nodes[i].special_dof == PCBDDCGRAPH_DIRICHLET_MARK) skip_node = PETSC_TRUE; in PCBDDCSetupFETIDPMatContext() 299 PetscCall(PCBDDCGraphRestoreCandidatesIS(mat_graph, NULL, NULL, NULL, NULL, &isvert)); in PCBDDCSetupFETIDPMatContext()
|
| /petsc/include/petsc/private/ |
| H A D | pcbddcimpl.h | 107 PCBDDCGraph mat_graph; member
|
| /petsc/src/ksp/ksp/impls/fetidp/ |
| H A D | fetidp.c | 297 PetscCall(PCBDDCGraphGetCandidatesIS(pcbddc->mat_graph, NULL, NULL, NULL, NULL, &isvert)); in KSPFETIDPCheckOperators() 393 PetscCall(PCBDDCGraphGetDirichletDofs(pcbddc->mat_graph, &dirdofs)); in KSPFETIDPCheckOperators() 503 PetscCall(PCBDDCGraphRestoreCandidatesIS(pcbddc->mat_graph, NULL, NULL, NULL, NULL, &isvert)); in KSPFETIDPCheckOperators() 859 PetscInt *xadj = pcbddc->mat_graph->xadj; in KSPFETIDPSetUpOperators() 860 PetscInt *adjn = pcbddc->mat_graph->adjncy; in KSPFETIDPSetUpOperators() 861 PetscInt nv = pcbddc->mat_graph->nvtxs_csr; in KSPFETIDPSetUpOperators()
|
| /petsc/src/ksp/pc/impls/mg/ |
| H A D | gdsw.c | 99 graph = ipcbddc->mat_graph; in PCMGGDSWSetUp()
|