template<std::size_t N>
Eq struct
| Template parameters | |
|---|---|
| N | Number of nodes describing element primitive. E.g., Edge:2, Face:3, Tet:4. |
Contents
- Reference
Comparitor function class for element primitives, given by node IDs
Public functions
- auto operator()(const std::array<std::size_t, N>& l, const std::array<std::size_t, N>& r) const -> bool
Function documentation
template<std::size_t N>
bool tk:: UnsMesh:: Eq<N>:: operator()(const std::array<std::size_t, N>& l,
const std::array<std::size_t, N>& r) const
| Parameters | |
|---|---|
| l in | Left element primitive given by array of node IDs |
| r in | Right element primitive given by array of node IDs |
| Returns | True if l = r, false otherwise |
Function call operator computing equality of element primitives