mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
INT<2> constexpr ctor
This commit is contained in:
parent
17803d2d45
commit
95df669656
@ -58,7 +58,8 @@ namespace ngcore
|
|||||||
|
|
||||||
/// init i[0], i[1]
|
/// init i[0], i[1]
|
||||||
constexpr NETGEN_INLINE INT (T ai1, T ai2)
|
constexpr NETGEN_INLINE INT (T ai1, T ai2)
|
||||||
{ i[0] = ai1; i[1] = ai2; }
|
: i{ai1,ai2} { ; }
|
||||||
|
// { i[0] = ai1; i[1] = ai2; }
|
||||||
|
|
||||||
/// init i[0], i[1], i[2]
|
/// init i[0], i[1], i[2]
|
||||||
NETGEN_INLINE INT (T ai1, T ai2, T ai3)
|
NETGEN_INLINE INT (T ai1, T ai2, T ai3)
|
||||||
|
@ -123,15 +123,15 @@ public:
|
|||||||
// [[deprecated("use GetFaces (ElementIndex) -> FlatArray")]]
|
// [[deprecated("use GetFaces (ElementIndex) -> FlatArray")]]
|
||||||
int GetElementFaces (int elnr, int * faces, int * orient) const;
|
int GetElementFaces (int elnr, int * faces, int * orient) const;
|
||||||
|
|
||||||
[[deprecated("use GetElementEdge instead")]]
|
// [[deprecated("use GetElementEdge instead")]]
|
||||||
int GetElementEdgeOrientation (int elnr, int locedgenr) const; // old style
|
int GetElementEdgeOrientation (int elnr, int locedgenr) const; // old style
|
||||||
[[deprecated("use GetElementEdge instead")]]
|
// [[deprecated("use GetElementEdge instead")]]
|
||||||
int GetElementFaceOrientation (int elnr, int locfacenr) const; // old style
|
int GetElementFaceOrientation (int elnr, int locfacenr) const; // old style
|
||||||
[[deprecated("use GetElementEdge instead")]]
|
// [[deprecated("use GetElementEdge instead")]]
|
||||||
int GetSurfaceElementEdgeOrientation (int elnr, int locedgenr) const; // old style
|
int GetSurfaceElementEdgeOrientation (int elnr, int locedgenr) const; // old style
|
||||||
[[deprecated("use GetElementEdge instead")]]
|
// [[deprecated("use GetElementEdge instead")]]
|
||||||
int GetSurfaceElementFaceOrientation2 (int elnr) const; // old style
|
int GetSurfaceElementFaceOrientation2 (int elnr) const; // old style
|
||||||
[[deprecated("use GetElementEdge instead")]]
|
// [[deprecated("use GetElementEdge instead")]]
|
||||||
int GetSegmentEdgeOrientation (int elnr) const; // old style
|
int GetSegmentEdgeOrientation (int elnr) const; // old style
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user