|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <triqs/mesh/dlr.hpp>
Mesh point of a triqs::mesh::dlr mesh.
It stores the index \( l \), the data index \( d \), the hash value of the parent mesh and the value \( \omega_l \) of the mesh point.
Public Types | |
| using | mesh_t = dlr |
| Parent mesh type. | |
Public Member Functions | |
| mesh_point_t ()=default | |
| Default constructor leaves the mesh point uninitialized. | |
| mesh_point_t (long l, long d, uint64_t mhash, double w_l) | |
| Construct a mesh point with a given index \( l \), data index \( d \), hash value of the parent mesh and value \( \omega_l \). | |
| long | data_index () const |
| Get the data index \( d \) of the mesh point. | |
| long | index () const |
| Get the index \( l \) of the mesh point. | |
| uint64_t | mesh_hash () const noexcept |
| Get the hash value of the parent mesh. | |
| operator double () const | |
| Conversion to the value type of the parent mesh. | |
| double | value () const |
| Get the value \( \omega_l \) of the mesh point. | |
|
inline |
Construct a mesh point with a given index \( l \), data index \( d \), hash value of the parent mesh and value \( \omega_l \).
| l | Index \( l \) of the mesh point. |
| d | Data index \( d \) of the mesh point. |
| mhash | Hash value of the parent mesh. |
| w_l | Value \( \omega_l \) of the mesh point. |