template<std::size_t N>
tk::UnsMesh::Eq struct

Template parameters
N Number of nodes describing element primitive. E.g., Edge:2, Face:3, Tet:4.

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
in Left element primitive given by array of node IDs
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