QNANO
|
#include <TB_Model.h>
Public Member Functions | |
virtual void | setup (Parameter_Map ¶m_map)=0 |
virtual void | setup () |
virtual size_t | get_nr_at () const |
How many atoms. | |
virtual size_t | get_nr_orbs_per_at (size_t atom=0) const |
Public Member Functions inherited from Sparse_Matrix_Generator | |
virtual void | get_Matrix_row_block (std::vector< col_val > &col_val_vec, const int atom_index)=0 |
Number of blocks. More... | |
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 | |
virtual size_t | get_block_size (size_t block) const =0 |
virtual size_t | get_base_index (size_t block) const =0 |
virtual size_t | get_nr_blocks () const =0 |
virtual size_t | get_DIM () const |
size_t | get_range_size (size_t block_start, size_t nr_blocks) const |
Purpose of TB_Hamiltonian:
-> class has to be rather abstract.
What we need:
|
pure virtual |
Move the task of reading in parameters outside of the implementation (TB_Model can be ignorant of calling program)
Implemented in TB_Model_spdsstar, and TB_Model_Slater_Koster.