mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +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)
|
||||
|
@ -939,7 +939,8 @@ namespace netgen
|
||||
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