SyTen
lattice.cpp File Reference

Implementation for lattice.h. More...

#include "inc/util/vectors.h"
#include "inc/t3n/lattice.h"
#include <type_traits>
#include <algorithm>
+ Include dependency graph for lattice.cpp:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::T3N
 Namespace for T3N.
 

Functions

Lattice::Types syten::T3N::genDMFT_CT3N (Index num_bases, Index const &sites, Index const &bands, std::vector< Index > const &types)
 Creats a multi band forklike T3N DMFT lattice where impurities are on a chain. More...
 
Lattice::Types syten::T3N::genDMFT_FT3N (Index num_bases, Index const &sites, Index const &bands, std::vector< Index > const &types)
 Creats a multi band Fork T3N DMFT lattice. More...
 
Lattice::Types syten::T3N::genDMFT_FT3N_ph (Index num_bases, Index const &sites, Index const &bands, std::vector< Index > const &types, Index const &particle_num)
 Creats a multi band Fork T3N DMFT lattice with PH split. More...
 
Lattice::Types syten::T3N::genDMFT_MT3N (Index num_bases, Index const &sites, Index const &bands, std::vector< Index > const &types, std::vector< Index > const &bath_length)
 Creats a multi band minimal branching node Fork T3N DMFT lattice. More...
 
void syten::T3N::genDMFT_rec (Lattice::Phys::Ptr ptr, Index current_imps, Index imp_type, Index const imps, Vec< Index > &currentPosition, Lattice::Translator &trans, Index &currentSite, Index offset)
 Recursive helper for DMFT lattices. More...
 
Lattice::Types syten::T3N::genDMFT_SMP (Index num_bases, Index const &sites, Index const &bands, std::vector< Index > const &pos_imp, std::vector< Index > const &types)
 Creats a multi band MP DMFT lattice. More...
 
Lattice::Types syten::T3N::genDMFT_T3N (Index num_bases, Index const &sites, Index const &bands, std::vector< Index > const &types)
 Creats a multi band uniform DMFT lattice. More...
 
Lattice::Types syten::T3N::genMPS (Index const sites, Index const value=0)
 Generates MPS structure on Tree framework. More...
 
Lattice::Types syten::T3N::genPH_split (Index const particle_num, Index const hole_num, Index const value, NodeType nt)
 Generates a PH split MPS like structure on Tree framework. More...
 
Lattice::Types syten::T3N::genPhys (std::string_view const skelleton_, Lattice::Translator translator_, Index const value=0)
 Builds BasisTree from skelleton and Basis. More...
 
Lattice::Types syten::T3N::genStandard (Index const layers, Index const value=0, NodeType nt=NodeType::Physical)
 Generates a standard (translationary invariant) basis tree with a Physical Node followed by a Branching Node, followed by two Physical Nodes, etc. More...
 
void syten::T3N::genStandard_rec (Lattice::Types::Ptr ptr, Index const currentLayer, Index const layers, Vec< Index > &currentPosition, Lattice::Translator &trans, Index &currentSite, Index const &value)
 Recursive helper. More...
 
Lattice::Types syten::T3N::genUniformPhys (Index const sites, Index const value=0, NodeType nt=NodeType::Physical)
 Generates the same for number of nodes. More...
 
Index syten::T3N::invert (Lattice::Translator const &trans, Tree::Position const &pos)
 Searches for the Index when given the position. More...
 
std::ostreamsyten::T3N::operator<< (std::ostream &out, Lattice const &l)
 Output for a lattice. More...
 

Detailed Description

Implementation for lattice.h.