correct bcnames for closed surfaces

This commit is contained in:
Joachim Schöberl 2015-11-24 17:27:31 +01:00
parent 033c180159
commit 833adca785
3 changed files with 6 additions and 5 deletions

View File

@ -1776,15 +1776,15 @@ namespace netgen
{ {
seg1.domin = j; seg1.domin = j;
seg2.domin = j; seg2.domin = j;
seg1.tlosurf = j; seg1.tlosurf = -1;
seg2.tlosurf = j; seg2.tlosurf = -1;
} }
else else
{ {
seg1.domout = j; seg1.domout = j;
seg2.domout = j; seg2.domout = j;
seg1.tlosurf = j; seg1.tlosurf = -1;
seg2.tlosurf = j; seg2.tlosurf = -1;
} }
// seg.s2 = i; // seg.s2 = i;
// seg.invs1 = surfaces[i] -> Inverse(); // seg.invs1 = surfaces[i] -> Inverse();

View File

@ -2349,6 +2349,7 @@ namespace netgen
<< ", domout = " << fd.DomainOut() << ", domout = " << fd.DomainOut()
<< ", tlosurf = " << fd.TLOSurface() << ", tlosurf = " << fd.TLOSurface()
<< ", bcprop = " << fd.BCProperty() << ", bcprop = " << fd.BCProperty()
<< ", bcname = " << fd.GetBCName()
<< ", domin_sing = " << fd.DomainInSingular() << ", domin_sing = " << fd.DomainInSingular()
<< ", domout_sing = " << fd.DomainOutSingular() << ", domout_sing = " << fd.DomainOutSingular()
<< ", colour = " << fd.SurfColour(); << ", colour = " << fd.SurfColour();

View File

@ -968,7 +968,7 @@ namespace netgen
// Philippose - 06/07/2009 // Philippose - 06/07/2009
// Get Surface colour // Get Surface colour
Vec3d SurfColour () const { return surfcolour; } Vec3d SurfColour () const { return surfcolour; }
DLL_HEADER const string & GetBCName () const; DLL_HEADER const string & GetBCName () const;
// string * BCNamePtr () { return bcname; } // string * BCNamePtr () { return bcname; }
// const string * BCNamePtr () const { return bcname; } // const string * BCNamePtr () const { return bcname; }
void SetSurfNr (int sn) { surfnr = sn; } void SetSurfNr (int sn) { surfnr = sn; }