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