#include <triqs/mesh/concepts.hpp>
Concept for a mesh point.
Every mesh point mp of type MP
- belongs to a mesh MP::mesh_t,
- has a unique index mp.index() that identifies a mesh point within the mesh,
- has a data index mp.data_index() that is used to access function values/coefficients stored in GF containers and
- has a hash value mp.mesh_hash() that is used to check if a mesh point belongs to or is compatible with a mesh.
- Template Parameters
-
Definition at line 54 of file concepts.hpp.
template<typename MP>
typename MP::mesh_t;
{ mp.index() } -> nda::AnyOf<typename MP::mesh_t::index_t, typename MP::mesh_t::index_t const &>;
{ mp.data_index() } -> nda::AnyOf<typename MP::mesh_t::data_index_t, typename MP::mesh_t::data_index_t const &>;
{ mp.mesh_hash() } -> std::same_as<uint64_t>;
}
Concept for a mesh point.