Skip to content
Snippets Groups Projects
Commit 5b5212a9 authored by Anthony Royer's avatar Anthony Royer
Browse files

Add discreteFace.cpp

parent 930ee39f
No related branches found
No related tags found
No related merge requests found
......@@ -591,8 +591,8 @@ void discreteFace::split(triangulation* trian,std::vector<triangulation*> &parti
int edgeCut;
std::vector<int> part;
part.resize(nVertex);
int zero = 0;
METIS_PartGraphRecursive(&nVertex,&(idx[0]),&(nbh[0]),NULL,NULL,&zero,&zero,&nPartitions,&zero,&edgeCut,&(part[0]));
int one = 1;
METIS_PartGraphRecursive((idx_t* )&nVertex, (idx_t *)&one, (idx_t* )&(idx[0]), (idx_t *)&(nbh[0]),NULL, NULL, NULL, (idx_t *)&nPartitions, NULL, NULL, NULL, (idx_t *)&edgeCut, (idx_t *)&(part[0]));
std::map<MElement*,int> el2part;
std::vector<std::vector<MElement*> > elem;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment