mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
no deprecated call in header
This commit is contained in:
parent
25df08f7a4
commit
712f6d4c87
@ -2168,6 +2168,13 @@ namespace netgen
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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
|
||||||
{
|
{
|
||||||
const Segment & el = mesh->LineSegment (elnr);
|
const Segment & el = mesh->LineSegment (elnr);
|
||||||
|
@ -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