ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ModuleIO::Output_Sk< TK > Class Template Reference

#include <output_sk.h>

Collaboration diagram for ModuleIO::Output_Sk< TK >:

Public Member Functions

 Output_Sk (hamilt::Hamilt< TK > *p_hamilt, Parallel_Orbitals *ParaV, int nspin, int nks)
 constructur of Output_Sk
 
TK * get_Sk (int ik)
 the function to get Sk for a given k-point
 
double * get_Sk (int ik)
 
std::complex< double > * get_Sk (int ik)
 

Private Attributes

hamilt::Hamilt< TK > * p_hamilt_ = nullptr
 
Parallel_OrbitalsParaV_ = nullptr
 
int nks_
 
int nspin_
 
std::vector< TK > SK
 

Constructor & Destructor Documentation

◆ Output_Sk()

template<typename TK >
ModuleIO::Output_Sk< TK >::Output_Sk ( hamilt::Hamilt< TK > *  p_hamilt,
Parallel_Orbitals ParaV,
int  nspin,
int  nks 
)

constructur of Output_Sk

Member Function Documentation

◆ get_Sk() [1/3]

double * ModuleIO::Output_Sk< double >::get_Sk ( int  ik)
Here is the call graph for this function:

◆ get_Sk() [2/3]

std::complex< double > * ModuleIO::Output_Sk< std::complex< double > >::get_Sk ( int  ik)
Here is the call graph for this function:

◆ get_Sk() [3/3]

template<typename TK >
TK * ModuleIO::Output_Sk< TK >::get_Sk ( int  ik)

the function to get Sk for a given k-point

convert sk to TK

convert sk to TK

sk1 is column-major, find ir and irc

Here is the call graph for this function:

Member Data Documentation

◆ nks_

template<typename TK >
int ModuleIO::Output_Sk< TK >::nks_
private

◆ nspin_

template<typename TK >
int ModuleIO::Output_Sk< TK >::nspin_
private

◆ p_hamilt_

template<typename TK >
hamilt::Hamilt<TK>* ModuleIO::Output_Sk< TK >::p_hamilt_ = nullptr
private

◆ ParaV_

template<typename TK >
Parallel_Orbitals* ModuleIO::Output_Sk< TK >::ParaV_ = nullptr
private

◆ SK

template<typename TK >
std::vector<TK> ModuleIO::Output_Sk< TK >::SK
private

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