Skip to content
Snippets Groups Projects
Commit 3f5e30e4 authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

removed verbosity in 2D meshing

parent 9cfa7b87
Branches
Tags
No related merge requests found
......@@ -578,16 +578,18 @@ static void Mesh3D(GModel *m)
std::vector<std::vector<GRegion*> > connected;
FindConnectedRegions(delaunay, connected);
/*
// remove quads elements for volumes that are recombined
for(unsigned int i = 0; i < connected.size(); i++){
for(unsigned j=0;j<connected[i].size();j++){
GRegion *gr = connected[i][j];
if(CTX::instance()->mesh.recombine3DAll || gr->meshAttributes.recombine3D){
std::list<GFace*> f = gr->faces();
for (std::list<GFace*>::iterator it = f.begin();
it != f.end() ; ++it) quadsToTriangles (*it,1000000);
}
}
*/
}
for(unsigned int i = 0; i < connected.size(); i++){
MeshDelaunayVolume(connected[i]);
......
......@@ -1885,7 +1885,7 @@ void deMeshGFace::operator() (GFace *gf)
}
// for debugging, change value from -1 to -100;
int debugSurface = -100; //-1;
int debugSurface = -1; //-1;
void meshGFace::operator() (GFace *gf, bool print)
{
......
......@@ -3,6 +3,8 @@
Mesh.Algorithm = 9; //8 = delquad or 9= 2D R-tree
Mesh.Algorithm3D = 9; // 3D R-tree
Mesh.Recombine3DAll = 1;
Mesh.RecombineAll = 1;
//Mesh.RecombinationAlgorithm = 2;
Mesh.Smoothing = 0;
lc = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment