|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <triqs/mesh/prod.hpp>
Mesh point type for the triqs::mesh::prod mesh.
It inherits from std::tuple and in addition to the mesh points of the individual meshes, it stores the corresponding indices in an index tuple \( \mathbf{n} \), the data indices in a data index tuple \(\mathbf{d} \), and the hash value of the parent mesh.
Public Types | |
| using | data_index_t = typename mesh_t::data_index_t |
| Data index type of the parent mesh. | |
| using | index_t = typename mesh_t::index_t |
| Index type of the parent mesh. | |
| using | mesh_t = prod<Ms...> |
| Parent mesh type. | |
| using | tuple_t = std::tuple<typename Ms::mesh_point_t...> |
| Underlying tuple type of mesh points. | |
Public Member Functions | |
| prod_mesh_point ()=default | |
| Default constructor leaves the mesh point uninitialized. | |
| prod_mesh_point (tuple_t mpt) | |
| Construct a mesh point from a tuple of mesh points. | |
| tuple_t const & | as_tuple () const |
| Get the underlying tuple of mesh points. | |
| data_index_t | data_index () const |
| Get the data index tuple \( \mathbf{d} \) of the mesh point. | |
| index_t | index () const |
| Get the index tuple \( \mathbf{n} \) of the mesh point. | |
| uint64_t | mesh_hash () const noexcept |
| Get the hash value of the parent mesh. | |
|
inline |