mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
bcname inline
This commit is contained in:
parent
d801222dbf
commit
3057076eaf
@ -2326,13 +2326,15 @@ namespace netgen
|
||||
tlosurf == seg.tlosurf+1;
|
||||
}
|
||||
|
||||
|
||||
string FaceDescriptor :: default_bcname = "default";
|
||||
/*
|
||||
const string & FaceDescriptor :: GetBCName () const
|
||||
{
|
||||
static string defaultstring = "default";
|
||||
if (bcname) return *bcname;
|
||||
return defaultstring;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
void FaceDescriptor :: SetBCName (string * bcn)
|
||||
|
@ -937,9 +937,10 @@ namespace netgen
|
||||
// other face data
|
||||
/// surface colour (Default: R=0.0 ; G=1.0 ; B=0.0)
|
||||
Vec3d surfcolour;
|
||||
|
||||
|
||||
///
|
||||
string * bcname;
|
||||
static string default_bcname;
|
||||
string * bcname = &default_bcname;
|
||||
/// root of linked list
|
||||
SurfaceElementIndex firstelement;
|
||||
|
||||
@ -968,7 +969,7 @@ namespace netgen
|
||||
// Philippose - 06/07/2009
|
||||
// Get Surface colour
|
||||
Vec3d SurfColour () const { return surfcolour; }
|
||||
DLL_HEADER const string & GetBCName () const;
|
||||
DLL_HEADER const string & GetBCName () const { return *bcname; }
|
||||
// string * BCNamePtr () { return bcname; }
|
||||
// const string * BCNamePtr () const { return bcname; }
|
||||
void SetSurfNr (int sn) { surfnr = sn; }
|
||||
|
Loading…
Reference in New Issue
Block a user