|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <triqs/mesh/refreq_pts.hpp>
Mesh point of a triqs::mesh::refreq_pts 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 88 of file refreq_pts.hpp.
Public Types | |
| using | mesh_t = refreq_pts |
| 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. | |
|
inline |
Construct a mesh point with a given index, data index, hash value and value.
| n | Index \( n \) of the mesh point. |
| d | Data index \( d \) of the mesh point. |
| mhash | Hash value of the parent mesh. |
| w | Value \( \omega_n \) of the mesh point. |
Definition at line 104 of file refreq_pts.hpp.