mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
few more inline functions
This commit is contained in:
parent
ef3d7c9270
commit
cd314e2f45
@ -1474,11 +1474,13 @@ namespace netgen
|
||||
{
|
||||
return surffaces.Get(elnr).fnr+1;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
int MeshTopology :: GetFace (SurfaceElementIndex elnr) const
|
||||
{
|
||||
return surffaces[elnr].fnr;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
void MeshTopology ::
|
||||
@ -1837,11 +1839,12 @@ namespace netgen
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
ELEMENT_TYPE MeshTopology :: GetFaceType (int fnr) const
|
||||
{
|
||||
if (face2vert.Get(fnr)[3] == 0) return TRIG; else return QUAD;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
void MeshTopology :: GetVertexElements (int vnr, Array<ElementIndex> & elements) const
|
||||
|
@ -114,14 +114,16 @@ public:
|
||||
const int * GetFaceVerticesPtr (int fnr) const { return &face2vert[fnr][0]; }
|
||||
void GetFaceEdges (int fnr, Array<int> & edges, bool withorientation = false) const;
|
||||
|
||||
ELEMENT_TYPE GetFaceType (int fnr) const;
|
||||
ELEMENT_TYPE GetFaceType (int fnr) const
|
||||
{ return (face2vert.Get(fnr)[3] == 0) ? TRIG : QUAD; }
|
||||
|
||||
void GetSurfaceElementEdges (int elnr, Array<int> & edges) const;
|
||||
int GetSurfaceElementFace (int elnr) const;
|
||||
void GetSurfaceElementEdgeOrientations (int elnr, Array<int> & eorient) const;
|
||||
int GetSurfaceElementFaceOrientation (int elnr) const;
|
||||
void GetEdges (SurfaceElementIndex elnr, Array<int> & edges) const;
|
||||
int GetFace (SurfaceElementIndex elnr) const;
|
||||
int GetFace (SurfaceElementIndex elnr) const
|
||||
{ return surffaces[elnr].fnr; }
|
||||
|
||||
int GetSurfaceElementEdges (int elnr, int * edges, int * orient) const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user