set edgenames in mesh

This commit is contained in:
Joachim Schöberl 2020-02-29 13:56:43 +01:00
parent 70968e59e8
commit c6c91bb348

View File

@ -515,6 +515,9 @@ namespace netgen
if (!exists) if (!exists)
pnums[i] = mesh.AddPoint (mp[i-1]); pnums[i] = mesh.AddPoint (mp[i-1]);
} }
if(geom.enames.Size() && geom.enames[curr-1] != "")
mesh.SetCD2Name(geomedgenr, geom.enames[curr-1]);
(*testout) << "NP = " << mesh.GetNP() << endl; (*testout) << "NP = " << mesh.GetNP() << endl;
//(*testout) << pnums[pnums.Size()-1] << endl; //(*testout) << pnums[pnums.Size()-1] << endl;