Lines Matching refs:cand
10 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()
204 if (FacesIS) *FacesIS = cand->Faces; in PCBDDCGraphGetCandidatesIS()
205 if (n_edges) *n_edges = cand->nec; in PCBDDCGraphGetCandidatesIS()
206 if (EdgesIS) *EdgesIS = cand->Edges; in PCBDDCGraphGetCandidatesIS()
207 if (VerticesIS) *VerticesIS = cand->Vertices; in PCBDDCGraphGetCandidatesIS()