QNANO
Public Member Functions | Public Attributes | List of all members
Manybody_Hamiltonian Class Reference
Inheritance diagram for Manybody_Hamiltonian:
Inheritance graph
[legend]
Collaboration diagram for Manybody_Hamiltonian:
Collaboration graph
[legend]

Public Member Functions

void setup (Parameter_Map &param_map, bool do_print=false)
 
void setup_energies (Parameter_Map &param_map)
 
void setup_Organize_Blocks ()
 
void replace_hilbert_space (const Manybody_Hilbert_Space &hs)
 
virtual void get_Matrix_row_block (std::vector< col_val > &col_val_vec, const Fermion_Double_Index &fi)
 
virtual void get_Matrix_row_block (std::vector< col_val > &col_val_vec, const int atom_index)
 Number of blocks. More...
 
void add_eh_terms (Map< std::complex< double > > &col_val_map, const Fermion_Double_Index &fi) const
 
void add_ee_terms (Map< std::complex< double > > &col_val_map, const Fermion_Double_Index &fi) const
 
void add_hh_terms (Map< std::complex< double > > &col_val_map, const Fermion_Double_Index &fi) const
 
double get_diagonal (const Fermion_Double_Index &fi) const
 
Manybody_Eigenvector apply (const Manybody_Eigenvector &EV)
 
void copy (const Manybody_Hamiltonian &other)
 
Manybody_Hamiltonianoperator= (const Manybody_Hamiltonian &other)
 
 Manybody_Hamiltonian (const Manybody_Hamiltonian &other)
 
 Manybody_Hamiltonian (Parameter_Map &param_map)
 
- Public Member Functions inherited from Sparse_Matrix_Generator
void dump_sparse_Matrix (const std::string &file_IA, const std::string &file_JA, const std::string &file_values)
 Support for dumping the sparse Matrix.
 
- Public Member Functions inherited from Organize_Blocks
size_t get_range_size (size_t block_start, size_t nr_blocks) const
 
- Public Member Functions inherited from Organize_Blocks_Single_Forward
virtual size_t get_block_size (size_t block=0) const
 
virtual size_t get_base_index (size_t block) const
 
virtual size_t get_nr_blocks () const
 
virtual size_t get_DIM () const
 
virtual void set_provider (Size_Provider *prov)
 
virtual void copy (const Organize_Blocks_Single_Forward &other)
 
Organize_Blocks_Single_Forwardoperator= (const Organize_Blocks_Single_Forward &other)
 
 Organize_Blocks_Single_Forward (const Organize_Blocks_Single_Forward &other)
 
 Organize_Blocks_Single_Forward (Size_Provider *prov)
 

Public Attributes

bool no_dir
 
bool no_exc
 
bool no_ee
 
bool no_hh
 
Coulomb_Matrix_Elements Vdir
 
Coulomb_Matrix_Elements Vexc
 
Coulomb_Matrix_Elements Vee
 
Coulomb_Matrix_Elements Vhh
 
bool use_offdiag_energies_e
 
bool use_offdiag_energies_h
 
std::vector< double > cb_energies
 
std::vector< double > vb_energies
 
QNANO_Matrix cb_energies_mat
 
QNANO_Matrix vb_energies_mat
 
Manybody_Hilbert_Spacehilbert
 
- Public Attributes inherited from Organize_Blocks_Single_Forward
Size_Providerprovider
 

Member Function Documentation

void Manybody_Hamiltonian::get_Matrix_row_block ( std::vector< col_val > &  col_val_vec,
const int  atom_index 
)
virtual

Number of blocks.

This is the important function for the interface

Implements Sparse_Matrix_Generator.


The documentation for this class was generated from the following files: