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

more transfinite info

parent 14ec28ad
No related branches found
No related tags found
No related merge requests found
......@@ -177,10 +177,19 @@ std::string GEdge::getAdditionalInfoString()
std::ostringstream sstream;
if(v0 && v1) sstream << "{" << v0->tag() << " " << v1->tag() << "}";
if(meshAttributes.method == MESH_TRANSFINITE)
sstream << " transfinite";
if(meshAttributes.method == MESH_TRANSFINITE){
sstream << " transfinite (" << meshAttributes.nbPointsTransfinite;
int type = meshAttributes.typeTransfinite;
if(std::abs(type) == 1)
sstream << ", progression " << sign(type) * meshAttributes.coeffTransfinite;
else if(std::abs(type) == 2)
sstream << ", bump " << meshAttributes.coeffTransfinite;
sstream << ")";
}
if(meshAttributes.extrude)
sstream << " extruded";
if(meshAttributes.reverseMesh)
sstream << " reversed";
return sstream.str();
}
......
......@@ -86,10 +86,19 @@ std::string gmshEdge::getAdditionalInfoString()
}
sstream << "}";
if(meshAttributes.method == MESH_TRANSFINITE)
sstream << " transfinite";
if(meshAttributes.method == MESH_TRANSFINITE){
sstream << " transfinite (" << meshAttributes.nbPointsTransfinite;
int type = meshAttributes.typeTransfinite;
if(std::abs(type) == 1)
sstream << ", progression " << sign(type) * meshAttributes.coeffTransfinite;
else if(std::abs(type) == 2)
sstream << ", bump " << meshAttributes.coeffTransfinite;
sstream << ")";
}
if(meshAttributes.extrude)
sstream << " extruded";
if(meshAttributes.reverseMesh)
sstream << " reversed";
return sstream.str();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment