Commit 7aa01607 by Amaury Johnen

fix bug too few nodes on 1D boundary with bamg algo => do not filter with bamg algo

parent 66f8726a
......@@ -710,7 +710,8 @@ void meshGEdge::operator() (GEdge *ge)
mesh_vertices = vv;
}
if (_addBegin.empty() && _addEnd.empty())
if (CTX::instance()->mesh.algo2d != ALGO_2D_BAMG &&
_addBegin.empty() && _addEnd.empty())
filterPoints(ge, filterMinimumN - 2);
for(unsigned int i = 0; i < mesh_vertices.size() + 1; i++){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment