TRIQS/triqs_modest 3.3.0
Modular Electronic Structure Toolkit
Loading...
Searching...
No Matches
embedding.cpp File Reference
#include "embedding.hpp"
#include "utils/gf_supp.hpp"
#include "utils/defs.hpp"
#include "utils/nda_pretty_printer.hpp"
#include <triqs/utility/streams.hpp>
#include <ranges>
#include <set>

Go to the source code of this file.

Namespaces

namespace  triqs
 
namespace  triqs::modest
 

Functions

embedding triqs::modest::embedding_builder (std::vector< std::string > const &spin_names, nda::array< std::vector< long >, 2 > const &block_decomposition, std::vector< long > const &atom_to_imp)
 
auto triqs::modest::format_as (embedding::imp_block_t const &p)
 
embedding triqs::modest::make_embedding_with_equivalences (local_space const &C_space, bool use_atom_decomp)
 
embedding triqs::modest::make_embedding_with_no_equivalences (local_space const &C_space, bool use_atom_decomp)
 
std::ostream & triqs::modest::operator<< (std::ostream &out, embedding const &E)
 
std::vector< nda::array< dcomplex, 3 > > triqs::modest::rotate_embedded_self_energy (std::vector< nda::array< dcomplex, 3 > > const &Sigma_embed_dynamic_loc, nda::matrix< dcomplex > const &U)
 Rotate the dynamic part of the embedded self-energy from the local (solver) basis to the orbital basis.
 
std::vector< nda::array< dcomplex, 3 > > triqs::modest::rotate_embedded_self_energy (std::vector< nda::array< dcomplex, 3 > > const &Sigma_embed_dynamic_loc, one_body_elements_on_grid const &obe)
 Rotate the dynamic part of the embedded self-energy from the local (solver) basis to the orbital basis.
 
std::vector< nda::matrix< dcomplex > > triqs::modest::rotate_embedded_self_energy (std::vector< nda::matrix< dcomplex > > const &Sigma_embed_static_loc, nda::matrix< dcomplex > const &U)
 Rotate the static part of the embedded self-energy from the local (solver) basis to the orbital basis.
 
std::vector< nda::matrix< dcomplex > > triqs::modest::rotate_embedded_self_energy (std::vector< nda::matrix< dcomplex > > const &Sigma_embed_static_loc, one_body_elements_on_grid const &obe)
 Rotate the static part of the embedded self-energy from the local (solver) basis to the orbital basis.
 
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::embedding_builder (std::vector< std::string > const &spin_names, std::vector< std::vector< long > > const &block_decomposition, std::vector< long > const &atom_to_imp)
 Construct the embedding class from the local space, a description of the block decomposition, and an equivalence mapping between atom sites.
 
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.