mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Merge branch 'fix_occ_dim2_boundaries' into 'master'
fix length of occ dim2 boundaries See merge request jschoeberl/netgen!428
This commit is contained in:
commit
eab9cb4b5c
@ -6937,7 +6937,7 @@ namespace netgen
|
||||
cd2names[i] = nullptr;
|
||||
}
|
||||
//if (cd2names[cd2nr]) delete cd2names[cd2nr];
|
||||
if (abcname != "default")
|
||||
if (abcname != "default" && abcname != "")
|
||||
cd2names[cd2nr] = new string(abcname);
|
||||
else
|
||||
cd2names[cd2nr] = nullptr;
|
||||
|
@ -599,7 +599,6 @@ namespace netgen
|
||||
}
|
||||
|
||||
auto name = geom.enames.Size() ? geom.enames[geom.emap.FindIndex(edge)-1] : "";
|
||||
if(name != "")
|
||||
mesh.SetCD2Name(geomedgenr, name);
|
||||
|
||||
(*testout) << "NP = " << mesh.GetNP() << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user