Home
last modified time | relevance | path

Searched refs:cand (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ksp/pc/impls/mg/
H A Dgdsw.c114 PCBDDCGraphCandidates cand; in PCMGGDSWSetUp() local
119 PetscCall(PetscNew(&cand)); in PCMGGDSWSetUp()
120 PetscCall((*rgdsw)(dm, &cand->nfc, &cand->Faces)); in PCMGGDSWSetUp()
122 for (i = 0; i < cand->nfc; i++) { in PCMGGDSWSetUp()
125 PetscCall(ISLocalToGlobalMappingApplyIS(l2g, cand->Faces[i], &is)); in PCMGGDSWSetUp()
126 PetscCall(ISDestroy(&cand->Faces[i])); in PCMGGDSWSetUp()
132 PetscCall(ISLocalToGlobalMappingApplyIS(ipcis->BtoNmap, is, &cand->Faces[i])); in PCMGGDSWSetUp()
136 PetscCall(PetscContainerSetPointer(gcand, cand)); in PCMGGDSWSetUp()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcgraph.c10 PCBDDCGraphCandidates cand = *(PCBDDCGraphCandidates *)ctx; in PCBDDCDestroyGraphCandidatesIS() local
13 for (PetscInt i = 0; i < cand->nfc; i++) PetscCall(ISDestroy(&cand->Faces[i])); in PCBDDCDestroyGraphCandidatesIS()
14 for (PetscInt i = 0; i < cand->nec; i++) PetscCall(ISDestroy(&cand->Edges[i])); in PCBDDCDestroyGraphCandidatesIS()
15 PetscCall(PetscFree(cand->Faces)); in PCBDDCDestroyGraphCandidatesIS()
16 PetscCall(PetscFree(cand->Edges)); in PCBDDCDestroyGraphCandidatesIS()
17 PetscCall(ISDestroy(&cand->Vertices)); in PCBDDCDestroyGraphCandidatesIS()
18 PetscCall(PetscFree(cand)); in PCBDDCDestroyGraphCandidatesIS()
200 PCBDDCGraphCandidates cand; in PCBDDCGraphGetCandidatesIS() local
202 PetscCall(PetscContainerGetPointer(gcand, &cand)); in PCBDDCGraphGetCandidatesIS()
203 if (n_faces) *n_faces = cand->nfc; in PCBDDCGraphGetCandidatesIS()
[all …]