Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/bddc/
H A Dbddcgraph.c132 …ynchronizedPrintf(viewer, "Total number of connected components %" PetscInt_FMT "\n", graph->ncc)); in PCBDDCGraphASCIIView()
133 PetscCall(PetscMalloc1(graph->cptr[graph->ncc], &queue_in_global_numbering)); in PCBDDCGraphASCIIView()
134 …PetscCall(ISLocalToGlobalMappingApply(graph->l2gmap, graph->cptr[graph->ncc], graph->queue, queue_… in PCBDDCGraphASCIIView()
135 for (i = 0; i < graph->ncc; i++) { in PCBDDCGraphASCIIView()
210 PetscCall(PetscCalloc1(graph->ncc, &mark)); in PCBDDCGraphGetCandidatesIS()
215 for (i = 0; i < graph->ncc; i++) { in PCBDDCGraphGetCandidatesIS()
239 PetscCall(PetscMalloc1(graph->cptr[graph->ncc], &queue_global)); in PCBDDCGraphGetCandidatesIS()
240 …PetscCall(ISLocalToGlobalMappingApply(graph->l2gmap, graph->cptr[graph->ncc], graph->queue, queue_… in PCBDDCGraphGetCandidatesIS()
241 …for (i = 0; i < graph->ncc; i++) PetscCall(PetscSortIntWithArray(graph->cptr[i + 1] - graph->cptr[… in PCBDDCGraphGetCandidatesIS()
247 for (i = 0; i < graph->ncc; i++) { in PCBDDCGraphGetCandidatesIS()
[all …]
H A Dbddcprivate.c1485 PetscInt nrh, nch, nrc, ncc; in PCBDDCNedelecSupport() local
1496 PetscCall(MatGetSize(GKins, &nrc, &ncc)); in PCBDDCNedelecSupport()
1497 …PetscCheck(ncc, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Constant function has not been generated for coa… in PCBDDCNedelecSupport()
1498ncc + nch == nrc, PETSC_COMM_SELF, PETSC_ERR_PLIB, "The sum of the number of columns of GKins %" P… in PCBDDCNedelecSupport()
1499ncc == 1 || !pcbddc->nedcG, PETSC_COMM_SELF, PETSC_ERR_SUP, "Cannot generate the coarse discrete g… in PCBDDCNedelecSupport()
1501 PetscCall(MatSetValuesLocal(T, nrc, cols, ncc, cols + nch, data, INSERT_VALUES)); in PCBDDCNedelecSupport()
1601 PetscInt ncc, *idxs; in PCBDDCNedelecSupport() local
1614 PetscCall(PetscMalloc2(graph->nvtxs + 1, &graph->cptr, ocptr[graph->ncc], &graph->queue)); in PCBDDCNedelecSupport()
1616 for (i = 0, ncc = 0; i < graph->ncc; i++) { in PCBDDCNedelecSupport()
1619 graph->cptr[ncc + 1] = graph->cptr[ncc] + 1; in PCBDDCNedelecSupport()
[all …]
/petsc/include/petsc/private/
H A Dpcbddcstructsimpl.h45 PetscInt ncc; member