Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
cut_cell_hash< dim > Struct Template Reference

#include <utilities.h>

Public Member Functions

std::size_t operator() (const typename Triangulation< dim - 1, dim >::active_cell_iterator &cell) const

Detailed Description

template<int dim>
struct cut_cell_hash< dim >

Hash functor to enable using cut-cell (embedded triangulation) active cell iterators as keys of an unordered associative container, for example std::unordered_map. Pairs with cut_cell_comparison, which orders the same iterators for ordered associative containers.

Definition at line 1430 of file utilities.h.

Member Function Documentation

◆ operator()()

template<int dim>
std::size_t cut_cell_hash< dim >::operator() ( const typename Triangulation< dim - 1, dim >::active_cell_iterator & cell) const
inline

Definition at line 1433 of file utilities.h.


The documentation for this struct was generated from the following file: