mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
use tuple -> std::tuple
This commit is contained in:
parent
eb87741b70
commit
e721d250f8
@ -358,8 +358,8 @@ namespace netgen
|
|||||||
int GetParentSElement (int ei) const;
|
int GetParentSElement (int ei) const;
|
||||||
|
|
||||||
bool HasParentEdges() const;
|
bool HasParentEdges() const;
|
||||||
tuple<int, std::array<int,3>> GetParentEdges (int enr) const;
|
std::tuple<int, std::array<int,3>> GetParentEdges (int enr) const;
|
||||||
tuple<int, std::array<int,4>> GetParentFaces (int fnr) const;
|
std::tuple<int, std::array<int,4>> GetParentFaces (int fnr) const;
|
||||||
|
|
||||||
int GetNIdentifications() const;
|
int GetNIdentifications() const;
|
||||||
int GetIdentificationType(int idnr) const;
|
int GetIdentificationType(int idnr) const;
|
||||||
|
@ -446,7 +446,7 @@ namespace netgen
|
|||||||
pnum[cnt++] = val;
|
pnum[cnt++] = val;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
Element2d & operator= (initializer_list<tuple<PointIndex,PointGeomInfo>> list)
|
Element2d & operator= (initializer_list<std::tuple<PointIndex,PointGeomInfo>> list)
|
||||||
{
|
{
|
||||||
size_t cnt = 0;
|
size_t cnt = 0;
|
||||||
for (auto val : list)
|
for (auto val : list)
|
||||||
|
@ -195,10 +195,10 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Array<tuple<int, std::array<int,3>>> parent_edges;
|
Array<std::tuple<int, std::array<int,3>>> parent_edges;
|
||||||
void BuildParentEdges ();
|
void BuildParentEdges ();
|
||||||
|
|
||||||
Array<tuple<int, std::array<int,4>>> parent_faces;
|
Array<std::tuple<int, std::array<int,4>>> parent_faces;
|
||||||
void BuildParentFaces ();
|
void BuildParentFaces ();
|
||||||
public:
|
public:
|
||||||
auto GetParentEdges (int enr) const { return parent_edges[enr]; }
|
auto GetParentEdges (int enr) const { return parent_edges[enr]; }
|
||||||
|
Loading…
Reference in New Issue
Block a user