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

#include <triqs/mesh/chebyshev.hpp>

Detailed Description

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

It stores the index \( n \), the data index \( d \), the hash value of the parent mesh, and the value \( \tau_n \) (Chebyshev point scaled to \( [0, \beta] \)).

Definition at line 87 of file chebyshev.hpp.

Public Types

using mesh_t = chebyshev
 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, double tau)
 Construct a mesh point with a given index \( n \), data index \( d \), hash value of the parent mesh and value \( \tau_n \).
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.
 operator double () const
 Implicit conversion to the value \( \tau_n \).
double value () const
 Get the value \( \tau_n \) of the mesh point.

Constructor & Destructor Documentation

◆ mesh_point_t()

triqs::mesh::chebyshev::mesh_point_t::mesh_point_t ( long n,
long d,
uint64_t mhash,
double tau )
inline

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

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

Definition at line 104 of file chebyshev.hpp.


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