Searched refs:cand (Results 1 – 2 of 2) sorted by relevance
114 PCBDDCGraphCandidates cand; in PCMGGDSWSetUp() local119 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()
10 PCBDDCGraphCandidates cand = *(PCBDDCGraphCandidates *)ctx; in PCBDDCDestroyGraphCandidatesIS() local13 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() local202 PetscCall(PetscContainerGetPointer(gcand, &cand)); in PCBDDCGraphGetCandidatesIS()203 if (n_faces) *n_faces = cand->nfc; in PCBDDCGraphGetCandidatesIS()[all …]