|
TRIQS/triqs_ctint 4.0.0
A TRIQS application
|
#include <triqs_ctint/vertex.hpp>
A point in imaginary time, i.e. $\tau \in [0,\beta]$, but defined on a very fine grid. The position in the segment is given by an uint32_t, i.e. a very long integer. This allows exact comparisons, which notoriously dangerous on floating point number.
Definition at line 17 of file vertex.hpp.
Public Member Functions | |
| operator double () const | |
| Cast to corresponding double value in $[0,\beta]$. | |
Static Public Member Functions | |
| static constexpr tau_t | get_beta () |
| Return \tau = \beta. | |
| static constexpr tau_t | get_beta_minus () |
| Return \tau = beta^{-} = \beta - \delta. | |
| static constexpr tau_t | get_beta_minus_minus () |
| Return \tau = beta^{–} = \beta - 2*\delta. | |
| template<typename RNG> | |
| static tau_t | get_random (RNG &rng) |
| Get a random point in $[0,\beta[$. | |
| static constexpr tau_t | get_zero () |
| Return \tau = 0. | |
| static constexpr tau_t | get_zero_plus () |
| Return \tau = 0^{+} = 0 + \delta. | |
| static constexpr tau_t | get_zero_plus_plus () |
| Return \tau = 0^{++} = 0 + 2*\delta. | |
Public Attributes | |
| uint32_t | n = 0 |
| $\tau$ value, represented as an integer on a very fine grid | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, tau_t const &tau) |
| Operator allowing output to std::ostream. | |