mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
fix length of occ dim2 boundaries
This commit is contained in:
parent
3ecca3e86e
commit
b4bf1172bc
@ -6937,7 +6937,7 @@ namespace netgen
|
|||||||
cd2names[i] = nullptr;
|
cd2names[i] = nullptr;
|
||||||
}
|
}
|
||||||
//if (cd2names[cd2nr]) delete cd2names[cd2nr];
|
//if (cd2names[cd2nr]) delete cd2names[cd2nr];
|
||||||
if (abcname != "default")
|
if (abcname != "default" && abcname != "")
|
||||||
cd2names[cd2nr] = new string(abcname);
|
cd2names[cd2nr] = new string(abcname);
|
||||||
else
|
else
|
||||||
cd2names[cd2nr] = nullptr;
|
cd2names[cd2nr] = nullptr;
|
||||||
|
@ -599,8 +599,7 @@ namespace netgen
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto name = geom.enames.Size() ? geom.enames[geom.emap.FindIndex(edge)-1] : "";
|
auto name = geom.enames.Size() ? geom.enames[geom.emap.FindIndex(edge)-1] : "";
|
||||||
if(name != "")
|
mesh.SetCD2Name(geomedgenr, name);
|
||||||
mesh.SetCD2Name(geomedgenr, name);
|
|
||||||
|
|
||||||
(*testout) << "NP = " << mesh.GetNP() << endl;
|
(*testout) << "NP = " << mesh.GetNP() << endl;
|
||||||
//(*testout) << pnums[pnums.Size()-1] << endl;
|
//(*testout) << pnums[pnums.Size()-1] << endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user