TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
triqs::mesh::prod_mesh_point< Ms >

#include <triqs/mesh/prod.hpp>

Detailed Description

template<Mesh... Ms>
class triqs::mesh::prod_mesh_point< Ms >

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.

Definition at line 67 of file prod.hpp.

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.

Constructor & Destructor Documentation

◆ prod_mesh_point()

template<Mesh... Ms>
triqs::mesh::prod_mesh_point< Ms >::prod_mesh_point ( tuple_t mpt)
inline

Construct a mesh point from a tuple of mesh points.

Parameters
mptTuple of mesh points.

Definition at line 88 of file prod.hpp.


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