TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
triqs::mesh::refreq_log::mesh_point_t

#include <triqs/mesh/refreq_log.hpp>

Detailed Description

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

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

Arithmetic operations are defined for mesh points and scalars. The operations are performed between the value \( \omega_n \) of the mesh point and the given scalar.

Definition at line 94 of file refreq_log.hpp.

Public Types

using mesh_t = refreq_log
 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 w)
 Construct a mesh point with a given index, data index, hash value and value.
long data_index () const noexcept
 Get the data index \( d \) of the mesh point.
long index () const noexcept
 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 \( \omega_n \).
double value () const noexcept
 Get the value \( \omega_n \) of the mesh point.

Constructor & Destructor Documentation

◆ mesh_point_t()

triqs::mesh::refreq_log::mesh_point_t::mesh_point_t ( long n,
long d,
uint64_t mhash,
double w )
inline

Construct a mesh point with a given index, data index, hash value and value.

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

Definition at line 110 of file refreq_log.hpp.


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