Commit 274129fc authored by Christophe Geuzaine's avatar Christophe Geuzaine

only modify number of points on edges with recombineAll if the edge is actually…

only modify number of points on edges with recombineAll if the edge is actually on the boundary of a face
parent e4a51023
......@@ -677,12 +677,12 @@ void meshGEdge::operator()(GEdge *ge)
if((ge->meshAttributes.method != MESH_TRANSFINITE ||
CTX::instance()->mesh.flexibleTransfinite) &&
CTX::instance()->mesh.algoRecombine != 0) {
if(CTX::instance()->mesh.recombineAll) {
std::vector<GFace *> const &faces = ge->faces();
if(CTX::instance()->mesh.recombineAll && faces.size()) {
if(N % 2 == 0) N++;
if(CTX::instance()->mesh.algoRecombine == 2) N = increaseN(N);
}
else {
std::vector<GFace *> const &faces = ge->faces();
for(std::vector<GFace *>::const_iterator it = faces.begin();
it != faces.end(); it++) {
if((*it)->meshAttributes.recombine) {
......
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 to comment