output face name on double click

This commit is contained in:
Matthias Hochsteger 2023-04-12 16:43:46 +02:00
parent a1c9483270
commit c14c798235

View File

@ -3283,7 +3283,12 @@ namespace netgen
if(locpi < 0)
{
cout << endl << "select element " << selelement
<< " on face " << sel.GetIndex() << endl;
<< " on face " << sel.GetIndex();
// output face name
auto name = GetMesh()->GetFaceDescriptor(sel.GetIndex()).GetBCName();
if(name != "")
cout << " with name " << name;
cout << endl;
cout << "\tpoint: " << p << endl;;
cout << "\tnodes: ";
for (int i = 1; i <= sel.GetNP(); i++)