TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
triqs::gfs::legendre::mesh_point_t

#include <triqs/mesh/legendre.hpp>

Detailed Description

Mesh point of a triqs::mesh::legendre mesh.

It stores the index \( n \), the data index \( d \) and the hash value of the parent mesh.

Definition at line 88 of file legendre.hpp.

Public Types

using mesh_t = legendre
 Parent mesh type.

Public Member Functions

 mesh_point_t ()=default
 Default constructor leaves the mesh point uninitialized.
 mesh_point_t (long n, long d, uint64_t mhash)
 Construct a mesh point with a given index \( n \), data index \( d \) and hash value of the parent mesh.
long data_index () const
 Get the data index \( d \) of the mesh point.
long index () const
 Get the index \( n \) of the mesh point.
uint64_t mesh_hash () const noexcept
 Get the hash value of the parent mesh.

Constructor & Destructor Documentation

◆ mesh_point_t()

triqs::mesh::legendre::mesh_point_t::mesh_point_t ( long n,
long d,
uint64_t mhash )
inline

Construct a mesh point with a given index \( n \), data index \( d \) and hash value of the parent mesh.

Parameters
nIndex \( n \) of the mesh point.
dData index \( d \) of the mesh point.
mhashHash value of the parent mesh.

Definition at line 104 of file legendre.hpp.


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