|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
CLEF integration enabling the g(w_) << expr assignment syntax.
Hooks that let a Green's function be filled by a lazy CLEF expression, e.g. g(w_) << 1 / (w_ - eps), by evaluating the expression at every mesh point.
Functions | |
| template<typename RHS, typename M, typename T> | |
| void | triqs::gfs::clef_auto_assign (block2_gf< M, T > &g, RHS const &rhs) |
| CLEF auto-assignment into a (owning) two-index block Green's function (delegates to the view overload). | |
| template<typename RHS, typename M, typename T> | |
| void | triqs::gfs::clef_auto_assign (block2_gf_view< M, T > g, RHS const &rhs) |
| CLEF auto-assignment into a two-index block Green's function view, i.e. g(i_, j_) << expr. | |
| template<typename RHS, typename M, typename T> | |
| void | triqs::gfs::clef_auto_assign (block_gf< M, T > &g, RHS const &rhs) |
| CLEF auto-assignment into a (owning) block Green's function (delegates to the view overload). | |
| template<typename RHS, typename M, typename T> | |
| void | triqs::gfs::clef_auto_assign (block_gf_view< M, T > g, RHS const &rhs) |
| CLEF auto-assignment into a block Green's function view, i.e. g(om_) << expr. | |
| template<typename RHS, typename M, typename T, typename L> | |
| __inline__ void | triqs::gfs::clef_auto_assign (gf< M, T, L > &g, RHS const &rhs) |
| CLEF auto-assignment into a (owning) Green's function (delegates to the view overload). | |
| template<typename RHS, typename M, typename T, typename L> | |
| __inline__ void | triqs::gfs::clef_auto_assign (gf_view< M, T, L > g, RHS const &rhs) |
| CLEF auto-assignment into a Green's function view, i.e. g(om_) << expr. | |
| template<typename RHS, typename M, typename T> | |
| void | triqs::gfs::clef_auto_assign_subscript (block_gf< M, T > &g, RHS const &rhs) |
| CLEF auto-assignment via subscript into a (owning) block Green's function (delegates to the view overload). | |
| template<typename RHS, typename M, typename T> | |
| void | triqs::gfs::clef_auto_assign_subscript (block_gf_view< M, T > g, RHS const &rhs) |
| CLEF auto-assignment via subscript into a block Green's function view, i.e. g[om_] << expr. | |
| template<typename RHS, typename M, typename T, typename L> | |
| __inline__ void | triqs::gfs::clef_auto_assign_subscript (gf< M, T, L > &g, RHS const &rhs) |
| CLEF auto-assignment via subscript into a (owning) Green's function (delegates to the view overload). | |
| template<typename RHS, typename M, typename T, typename L> | |
| __inline__ void | triqs::gfs::clef_auto_assign_subscript (gf_view< M, T, L > g, RHS const &rhs) |
| CLEF auto-assignment via subscript into a Green's function view, i.e. g[om_] << expr. | |
| void triqs::gfs::clef_auto_assign | ( | block2_gf< M, T > & | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/block/auto_assign.hpp>
CLEF auto-assignment into a (owning) two-index block Green's function (delegates to the view overload).
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| g | Two-index block Green's function to fill. |
| rhs | CLEF expression to evaluate at each block. |
Definition at line 90 of file auto_assign.hpp.
| void triqs::gfs::clef_auto_assign | ( | block2_gf_view< M, T > | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/block/auto_assign.hpp>
CLEF auto-assignment into a two-index block Green's function view, i.e. g(i_, j_) << expr.
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| g | Two-index block Green's function view to fill. |
| rhs | CLEF expression to evaluate at each block. |
Definition at line 65 of file auto_assign.hpp.
| void triqs::gfs::clef_auto_assign | ( | block_gf< M, T > & | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/block/auto_assign.hpp>
CLEF auto-assignment into a (owning) block Green's function (delegates to the view overload).
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| g | Block Green's function to fill. |
| rhs | CLEF expression to evaluate at each block. |
Definition at line 79 of file auto_assign.hpp.
| void triqs::gfs::clef_auto_assign | ( | block_gf_view< M, T > | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/block/auto_assign.hpp>
CLEF auto-assignment into a block Green's function view, i.e. g(om_) << expr.
Iterates over the blocks and fills each block with the evaluation of the right hand side at the block index.
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| g | Block Green's function view to fill. |
| rhs | CLEF expression to evaluate at each block. |
Definition at line 52 of file auto_assign.hpp.
| __inline__ void triqs::gfs::clef_auto_assign | ( | gf< M, T, L > & | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/gf/auto_assign.hpp>
CLEF auto-assignment into a (owning) Green's function (delegates to the view overload).
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| L | Layout type. |
| g | Green's function to fill. |
| rhs | CLEF expression to evaluate at each mesh point. |
Definition at line 85 of file auto_assign.hpp.
| __inline__ void triqs::gfs::clef_auto_assign | ( | gf_view< M, T, L > | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/gf/auto_assign.hpp>
CLEF auto-assignment into a Green's function view, i.e. g(om_) << expr.
Iterates over the mesh and fills each mesh point with the evaluation of the right hand side. For product meshes the mesh point is unpacked into the multiple arguments of the expression.
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| L | Layout type. |
| g | Green's function view to fill. |
| rhs | CLEF expression to evaluate at each mesh point. |
Definition at line 67 of file auto_assign.hpp.
| void triqs::gfs::clef_auto_assign_subscript | ( | block_gf< M, T > & | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/block/auto_assign.hpp>
CLEF auto-assignment via subscript into a (owning) block Green's function (delegates to the view overload).
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| g | Block Green's function to fill. |
| rhs | CLEF expression to evaluate at each block. |
Definition at line 112 of file auto_assign.hpp.
| void triqs::gfs::clef_auto_assign_subscript | ( | block_gf_view< M, T > | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/block/auto_assign.hpp>
CLEF auto-assignment via subscript into a block Green's function view, i.e. g[om_] << expr.
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| g | Block Green's function view to fill. |
| rhs | CLEF expression to evaluate at each block. |
Definition at line 101 of file auto_assign.hpp.
| __inline__ void triqs::gfs::clef_auto_assign_subscript | ( | gf< M, T, L > & | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/gf/auto_assign.hpp>
CLEF auto-assignment via subscript into a (owning) Green's function (delegates to the view overload).
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| L | Layout type. |
| g | Green's function to fill. |
| rhs | CLEF expression to evaluate at each mesh point. |
Definition at line 116 of file auto_assign.hpp.
| __inline__ void triqs::gfs::clef_auto_assign_subscript | ( | gf_view< M, T, L > | g, |
| RHS const & | rhs ) |
#include <triqs/gfs/gf/auto_assign.hpp>
CLEF auto-assignment via subscript into a Green's function view, i.e. g[om_] << expr.
| RHS | Type of the CLEF expression on the right hand side. |
| M | Mesh type. |
| T | Target type. |
| L | Layout type. |
| g | Green's function view to fill. |
| rhs | CLEF expression to evaluate at each mesh point. |
Definition at line 99 of file auto_assign.hpp.