TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches

Detailed Description

Target types that fix the value stored at each mesh point of a Green's function.

A target determines the value stored at each mesh point of a Green's function: a scalar (triqs::gfs::scalar_valued), a matrix (triqs::gfs::matrix_valued) or a higher-rank tensor (triqs::gfs::tensor_valued), each available in a real- and a complex-valued variant. This group also contains the traits that map between a (scalar type, rank) pair and the corresponding target type.

Classes

struct  triqs::gfs::_target_from_type_rank< T, R >
 Trait to invert the relation (scalar type, rank) \( \to \) target type. More...
struct  triqs::gfs::matrix_real_valued
 Target type for a real matrix-valued Green's function. More...
struct  triqs::gfs::matrix_valued
 Target type for a complex matrix-valued Green's function. More...
struct  triqs::gfs::scalar_real_valued
 Target type for a real scalar-valued Green's function. More...
struct  triqs::gfs::scalar_valued
 Target type for a complex scalar-valued Green's function. More...
struct  triqs::gfs::tensor_real_valued< R >
 Target type for a real tensor-valued Green's function. More...
struct  triqs::gfs::tensor_valued< R >
 Target type for a complex tensor-valued Green's function. More...

Typedefs

template<typename A, int nvar>
using triqs::gfs::target_from_array
 Deduce the target type of a Green's function from its data array type and arity.

Typedef Documentation

◆ target_from_array

template<typename A, int nvar>
using triqs::gfs::target_from_array

#include <triqs/gfs/gf/targets.hpp>

Initial value:
Trait to invert the relation (scalar type, rank) target type.
Definition targets.hpp:216

Deduce the target type of a Green's function from its data array type and arity.

Given a data array A of rank \( R_A \) and a Green's function with \( N \) variables (the arity), the target rank is \( R_A - N \) and the scalar type is the value type of the array. The resulting target type is obtained from triqs::gfs::_target_from_type_rank.

Template Parameters
AData array type.
nvarArity of the Green's function, i.e. the number of mesh dimensions.

Definition at line 259 of file targets.hpp.