mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
no deprecated call in header
This commit is contained in:
parent
25df08f7a4
commit
712f6d4c87
@ -2167,6 +2167,13 @@ namespace netgen
|
|||||||
return facedir;
|
return facedir;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MeshTopology :: GetSegmentEdge (int segnr, int & enr, int & orient) const
|
||||||
|
{
|
||||||
|
enr = segedges.Get(segnr)+1;
|
||||||
|
orient = GetSegmentEdgeOrientation(segnr);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int MeshTopology :: GetSegmentEdgeOrientation (int elnr) const
|
int MeshTopology :: GetSegmentEdgeOrientation (int elnr) const
|
||||||
{
|
{
|
||||||
|
@ -93,12 +93,14 @@ public:
|
|||||||
int GetEdge (SegmentIndex segnr) const { return segedges[segnr]; }
|
int GetEdge (SegmentIndex segnr) const { return segedges[segnr]; }
|
||||||
|
|
||||||
[[deprecated("use GetEdge(SegmentIndex) instead")]]
|
[[deprecated("use GetEdge(SegmentIndex) instead")]]
|
||||||
void GetSegmentEdge (int segnr, int & enr, int & orient) const
|
void GetSegmentEdge (int segnr, int & enr, int & orient) const;
|
||||||
|
/*
|
||||||
{
|
{
|
||||||
enr = segedges.Get(segnr)+1;
|
enr = segedges.Get(segnr)+1;
|
||||||
// orient = segedges.Get(segnr).orient;
|
// orient = segedges.Get(segnr).orient;
|
||||||
orient = GetSegmentEdgeOrientation(segnr);
|
orient = GetSegmentEdgeOrientation(segnr);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
[[deprecated("use GetEdges (ElementIndex) -> FlatArray")]]
|
[[deprecated("use GetEdges (ElementIndex) -> FlatArray")]]
|
||||||
void GetElementEdges (int elnr, NgArray<int> & edges) const;
|
void GetElementEdges (int elnr, NgArray<int> & edges) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user