fix bcname from recent commit

This commit is contained in:
Joachim Schöberl 2016-03-24 00:52:02 +01:00
parent 3057076eaf
commit d2fd708600
2 changed files with 11 additions and 11 deletions

View File

@ -2273,7 +2273,7 @@ namespace netgen
// Initialise surface colour // Initialise surface colour
surfcolour = Vec3d(0.0,1.0,0.0); surfcolour = Vec3d(0.0,1.0,0.0);
tlosurf = -1; tlosurf = -1;
bcname = 0; // bcname = 0;
firstelement = -1; firstelement = -1;
} }
@ -2298,7 +2298,7 @@ namespace netgen
tlosurf = tlosurfi; tlosurf = tlosurfi;
bcprop = surfnri; bcprop = surfnri;
domin_singular = domout_singular = 0.; domin_singular = domout_singular = 0.;
bcname = 0; // bcname = 0;
firstelement = -1; firstelement = -1;
} }
@ -2313,7 +2313,7 @@ namespace netgen
tlosurf = seg.tlosurf+1; tlosurf = seg.tlosurf+1;
bcprop = 0; bcprop = 0;
domin_singular = domout_singular = 0.; domin_singular = domout_singular = 0.;
bcname = 0; // bcname = 0;
firstelement = -1; firstelement = -1;
} }
@ -2336,13 +2336,13 @@ namespace netgen
} }
*/ */
/*
void FaceDescriptor :: SetBCName (string * bcn) void FaceDescriptor :: SetBCName (string * bcn)
{ {
if (bcn)
bcname = bcn; bcname = bcn;
else
bcn = &default_bcname;
} }
*/
ostream & operator<<(ostream & s, const FaceDescriptor & fd) ostream & operator<<(ostream & s, const FaceDescriptor & fd)
{ {

View File

@ -976,7 +976,7 @@ namespace netgen
void SetDomainIn (int di) { domin = di; } void SetDomainIn (int di) { domin = di; }
void SetDomainOut (int dom) { domout = dom; } void SetDomainOut (int dom) { domout = dom; }
void SetBCProperty (int bc) { bcprop = bc; } void SetBCProperty (int bc) { bcprop = bc; }
void SetBCName (string * bcn) { bcname = bcn; } void SetBCName (string * bcn); // { bcname = bcn; }
// Philippose - 06/07/2009 // Philippose - 06/07/2009
// Set the surface colour // Set the surface colour
void SetSurfColour (Vec3d colour) { surfcolour = colour; } void SetSurfColour (Vec3d colour) { surfcolour = colour; }