43 namespace NekMeshUtils
59 if (p1->vertId.size() != p2->vertId.size())
64 vector<int> ids1 = p1->vertId;
65 vector<int> ids2 = p2->vertId;
66 sort(ids1.begin(), ids1.end());
67 sort(ids2.begin(), ids2.end());
69 for (
int i = 0; i < ids1.size(); ++i)
71 if (ids1[i] != ids2[i])
84 int i, n = c1->type.size();
86 if (n != c2->type.size())
91 for (i = 0; i < n; ++i)
93 if (c1->type[i] != c2->type[i])
98 if (c1->field[i] != c2->field[i] || c1->value[i] != c2->value[i])
117 if(p1->m_id != p2->m_id)
137 os << n->m_x <<
" " << n->m_y <<
" " << n->m_z;
147 return ( ((*(p1->m_n1) == *(p2->m_n1)) && (*(p1->m_n2) == *(p2->m_n2)))
148 || ((*(p1->m_n2) == *(p2->m_n1)) && (*(p1->m_n1) == *(p2->m_n2))));
156 return p1->m_id < p2->m_id;
166 for (it1 = p1->m_vertexList.begin(); it1 != p1->m_vertexList.end(); ++it1)
168 if (
find(p2->m_vertexList.begin(), p2->m_vertexList.end(), *it1)
169 == p2->m_vertexList.end())
183 return p1->m_id < p2->m_id;
Basic information about an element.
boost::shared_ptr< HOSurf > HOSurfSharedPtr
bool operator<(FaceSharedPtr const &p1, FaceSharedPtr const &p2)
Defines ordering between two faces (depending on ID of faces).
unsigned int m_order
Order of the element.
bool operator!=(NodeSharedPtr const &p1, NodeSharedPtr const &p2)
boost::shared_ptr< Node > NodeSharedPtr
boost::shared_ptr< Condition > ConditionSharedPtr
std::ostream & operator<<(std::ostream &os, const NodeSharedPtr &n)
boost::shared_ptr< Edge > EdgeSharedPtr
Shared pointer to an edge.
StandardMatrixTag boost::call_traits< LhsDataType >::const_reference rhs typedef NekMatrix< LhsDataType, StandardMatrixTag >::iterator iterator
InputIterator find(InputIterator first, InputIterator last, InputIterator startingpoint, const EqualityComparable &value)
boost::shared_ptr< Face > FaceSharedPtr
Shared pointer to a face.
bool operator==(const VertexSharedPtr &v1, const VertexSharedPtr &v2)
Define comparison operator for the vertex struct.
LibUtilities::ShapeType m_e
Element type (e.g. triangle, quad, etc).