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

revert JF's last commit: it prevents 1D meshes with even nb of points. Better...

revert JF's last commit: it prevents 1D meshes with even nb of points. Better solution still needed for compounds.


parent 2222462f
No related branches found
No related tags found
No related merge requests found
......@@ -387,12 +387,11 @@ void meshGEdge::operator() (GEdge *ge)
// force odd number of points for if blossom is used for recombination
if(ge->meshAttributes.Method != MESH_TRANSFINITE &&
(CTX::instance()->mesh.algoRecombine == 1 || CTX::instance()->mesh.recombineAll) && N % 2 == 0){
// if(CTX::instance()->mesh.recombineAll){
CTX::instance()->mesh.algoRecombine == 1 && N % 2 == 0){
if(CTX::instance()->mesh.recombineAll){
N++;
// }
}
/* else{
else{
std::list<GFace*> faces = ge->faces();
for(std::list<GFace*>::iterator it = faces.begin(); it != faces.end(); it++){
if((*it)->meshAttributes.recombine){
......@@ -402,7 +401,6 @@ void meshGEdge::operator() (GEdge *ge)
}
}
}
*/
// printFandPrimitive(ge->tag(),Points);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment