TRIQS/triqs_modest 3.3.0
Modular Electronic Structure Toolkit
Loading...
Searching...
No Matches
embedding.hpp
#include "./downfolding.hpp"
#include "loaders.hpp"
#include "utils/defs.hpp"
#include "utils/gf_supp.hpp"
#include "utils/nda_supp.hpp"
#include "utils/range_supp.hpp"
#include "utils/embed_supp.hpp"
#include <fmt/ranges.h>

Go to the source code of this file.

Classes

class  triqs::modest::embedding
 The embedding class. More...

Namespaces

namespace  triqs
namespace  triqs::modest

Macros

#define INSTANTIATE(Mesh)

Typedefs

using triqs::block2_matrix_t = nda::array<nda::matrix<dcomplex>, 2>
using triqs::block_matrix_t = std::vector<nda::matrix<dcomplex>>

Functions

 triqs::modest::INSTANTIATE (dlr_imfreq)
 triqs::modest::INSTANTIATE (imfreq)
 triqs::modest::INSTANTIATE (refreq)
Embedding factories functions

Factory functions to create the embedding class for different embedding scenarios. Typically, one will create the embedding from the local space.

embedding triqs::modest::make_embedding (local_space const &C_space, bool use_atom_equivalences=true, bool use_atom_decomp=false)
 Make an embedding from the local space.
embedding triqs::modest::make_embedding (std::vector< std::string > const &spin_names, std::vector< std::vector< long > > const &block_decomposition, std::vector< long > const &atom_to_imp)
 Construct an embedding from spin names, a block decomposition per atom, and an atom-to-impurity mapping.
std::pair< one_body_elements_on_grid, embeddingtriqs::modest::make_embedding_with_clusters (one_body_elements_on_grid obe, std::vector< std::vector< long > > const &atom_partition)
 Make an embedding for clusters of atoms.

Macro Definition Documentation

◆ INSTANTIATE

#define INSTANTIATE ( Mesh)
Value:
template block2_gf<Mesh, matrix_valued> embedding::embed(std::vector<block_gf<Mesh, matrix_valued>> const &) const; \
template std::pair<block2_gf<Mesh, matrix_valued>, block2_matrix_t> embedding::embed(std::vector<block_gf<Mesh, matrix_valued>> const &, \
std::vector<block_matrix_t> const &) const; \
template std::vector<block_gf<Mesh, matrix_valued>> embedding::extract(block2_gf<Mesh, matrix_valued> const &) const; \
template std::vector<std::pair<block_gf<Mesh, matrix_valued>, block_matrix_t>> embedding::make_zero_imp_self_energies(Mesh const &);

Definition at line 653 of file embedding.hpp.