Skip to content
Snippets Groups Projects
Commit aadddb85 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

temp compile fix

parent 147e3517
No related branches found
No related tags found
No related merge requests found
......@@ -1624,7 +1624,7 @@ void bowyerWatsonParallelograms(GFace *gf)
std::vector<SMetric3> metrics;
printf("creating the points\n");
packingOfParallelograms(gf, packed, metrics);
packingOfParallelograms(gf, packed);//, metrics);
printf("points created\n");
buildMeshGenerationDataStructures
......@@ -1642,7 +1642,7 @@ void bowyerWatsonParallelograms(GFace *gf)
N_GLOBAL_SEARCH = 0;
N_SEARCH = 0;
DT_INSERT_VERTEX = 0;
clock_t t1 = clock();
//clock_t t1 = clock();
MTri3 *oneNewTriangle = 0;
for (unsigned int i=0;i<packed.size();){
MTri3 *worst = *AllTris.begin();
......@@ -1684,9 +1684,9 @@ void bowyerWatsonParallelograms(GFace *gf)
}
printf("%d vertices \n",packed.size());
clock_t t2 = clock();
double DT = (double)(t2-t1)/CLOCKS_PER_SEC;
if (packed.size())printf("points inserted DT %12.5E points per minut : %12.5E %d global searchs %d seachs per insertion\n",DT,60.*packed.size()/DT,N_GLOBAL_SEARCH,N_SEARCH / packed.size());
//clock_t t2 = clock();
//double DT = (double)(t2-t1)/CLOCKS_PER_SEC;
//if (packed.size())printf("points inserted DT %12.5E points per minut : %12.5E %d global searchs %d seachs per insertion\n",DT,60.*packed.size()/DT,N_GLOBAL_SEARCH,N_SEARCH / packed.size());
transferDataStructure(gf, AllTris, Us, Vs);
backgroundMesh::unset();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment