|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <triqs/gfs/evaluator.hpp>
Default evaluator of a Green's function at arbitrary points of its mesh.
Functor that evaluates a Green's function at an arbitrary point of a given mesh.
The primary template forwards the evaluation to the mesh's evaluate function, which interpolates the underlying data. It is specialized for specific meshes (e.g. triqs::mesh::imfreq) where evaluation outside the stored grid requires dedicated handling.
| M | The mesh type of the Green's function. |
This template is specialized for each mesh type to provide the appropriate interpolation scheme used when a Green's function is called with off-mesh arguments.
| M | triqs::mesh::Mesh type. |
Definition at line 52 of file evaluator.hpp.
Public Member Functions | |
| template<typename G, typename... XS> requires (is_gf_v<G>) | |
| auto | operator() (G const &g, XS &&...xs) const |
| Evaluate a Green's function at a set of mesh coordinates. | |
|
inline |
Evaluate a Green's function at a set of mesh coordinates.
Interpolates the data of g via the mesh's evaluate function. If any of the coordinates makes a mesh evaluate to zero, a zero-valued result of the appropriate target shape is returned.
| G | The Green's function type (must satisfy is_gf_v). |
| XS | The types of the evaluation coordinates. |
| g | The Green's function to evaluate. |
| xs | The coordinates at which to evaluate, one per mesh component. |
Definition at line 69 of file evaluator.hpp.