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

#include <triqs/mesh/imfreq.hpp>

Detailed Description

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

It inherits from triqs::mesh::matsubara_freq and in addition to the Matsubara index \( n \), the inverse temperature \( \beta \) and the particle statistics, it also stores the data index \( d \) and the hash value of the parent mesh.

Definition at line 120 of file imfreq.hpp.

Inheritance diagram for triqs::gfs::imfreq::mesh_point_t:
triqs::mesh::matsubara_freq

Public Types

using mesh_t = imfreq
 Parent mesh type.
Public Types inherited from triqs::mesh::matsubara_freq
using cast_t = std::complex<double>
 Value type of a Matsubara frequency.

Public Member Functions

 mesh_point_t ()=default
 Default constructor leaves the mesh point uninitialized.
 mesh_point_t (double b, statistic_enum stat, index_t n_idx, long d, uint64_t mhash)
 Construct a mesh point with the given parameters.
long data_index () const
 Get the data index \( d \) of the mesh point.
long index () const
 Get the Matsubara index \( n \) of the mesh point.
uint64_t mesh_hash () const noexcept
 Get the hash value of the parent mesh.
matsubara_freq const & value () const
 Get the corresponding Matsubara frequency \( i\omega_n \).
Public Member Functions inherited from triqs::mesh::matsubara_freq
 matsubara_freq ()=default
 Default constructor initializes the Matsubara frequency with zero index, zero inverse temperature and fermionic statistics.
 matsubara_freq (long n_idx, double b, statistic_enum stat)
 Construct a Matsubara frequency with a given index \( n \), inverse temperature \( \beta \) and particle statistics.
long index () const
 Get the index \( n \) of the Matsubara frequency.
 operator cast_t () const
 Conversion to std::complex<double>.
std::partial_ordering operator<=> (matsubara_freq const &other) const
 Partial ordering by index when beta and statistic match, unordered otherwise.
bool operator== (matsubara_freq const &) const =default
 Equality comparison.

Additional Inherited Members

Public Attributes inherited from triqs::mesh::matsubara_freq
double beta = 0.0
 Inverse temperature \( \beta \).
long n = 0
 Matsubara index \( n \).
statistic_enum statistic = Fermion
 Particle statistics.

Constructor & Destructor Documentation

◆ mesh_point_t()

triqs::mesh::imfreq::mesh_point_t::mesh_point_t ( double b,
statistic_enum stat,
index_t n_idx,
long d,
uint64_t mhash )
inline

Construct a mesh point with the given parameters.

The index \( n \), the inverse temperature \( \beta \) and the particle statistics are forwarded to the constructor of triqs::mesh::matsubara_freq.

Parameters
bInverse temperature \( \beta \).
statParticle statistics.
n_idxMatsubara index \( n \) of the mesh point.
dData index \( d \) of the mesh point.
mhashHash value of the parent mesh.

Definition at line 140 of file imfreq.hpp.


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