ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
DiagoPrepare< T > Class Template Reference
Collaboration diagram for DiagoPrepare< T >:

Public Member Functions

 DiagoPrepare (int nlocal, int nbands, int nb2d, int sparsity, std::string ks_solver, std::string hfname, std::string sfname)
bool read_HS ()
bool produce_HS ()
void poison_lower_triangle ()
void print_hs ()
void pb2d ()
void distribute_data ()
void set_env ()
void diago ()
void diago_lapack ()
bool compare_eigen (std::stringstream &out_info)
 DiagoPrepare (int nlocal, int nbands, int nb2d, int sparsity, std::string ks_solver, std::string hfname, std::string sfname)
bool read_HS ()
bool produce_HS ()
void print_hs ()
void pb2d ()
void distribute_data ()
void set_env ()
void diago ()
void diago_lapack ()
bool compare_eigen (std::stringstream &out_info)

Public Attributes

int dsize
int myrank
int nlocal
int nbands
int nb2d
int sparsity
double hsolver_time = 0.0
double lapack_time = 0.0
std::string ks_solver
std::string sfname
std::string hfname
HamiltTEST< T > hmtest
std::vector< T > h
std::vector< T > s
std::vector< T > h_local
std::vector< T > s_local
psi::Psi< T > psi
std::vector< double > e_solver
std::vector< double > e_lapack
std::vector< double > abc
int icontxt

Constructor & Destructor Documentation

◆ DiagoPrepare() [1/2]

template<class T>
DiagoPrepare< T >::DiagoPrepare ( int nlocal,
int nbands,
int nb2d,
int sparsity,
std::string ks_solver,
std::string hfname,
std::string sfname )
inline

◆ DiagoPrepare() [2/2]

template<class T>
DiagoPrepare< T >::DiagoPrepare ( int nlocal,
int nbands,
int nb2d,
int sparsity,
std::string ks_solver,
std::string hfname,
std::string sfname )
inline

Member Function Documentation

◆ compare_eigen() [1/2]

template<class T>
bool DiagoPrepare< T >::compare_eigen ( std::stringstream & out_info)
inline
Here is the caller graph for this function:

◆ compare_eigen() [2/2]

template<class T>
bool DiagoPrepare< T >::compare_eigen ( std::stringstream & out_info)
inline

◆ diago() [1/2]

template<class T>
void DiagoPrepare< T >::diago ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ diago() [2/2]

template<class T>
void DiagoPrepare< T >::diago ( )
inline
Here is the call graph for this function:

◆ diago_lapack() [1/2]

template<class T>
void DiagoPrepare< T >::diago_lapack ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ diago_lapack() [2/2]

template<class T>
void DiagoPrepare< T >::diago_lapack ( )
inline
Here is the call graph for this function:

◆ distribute_data() [1/2]

template<class T>
void DiagoPrepare< T >::distribute_data ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ distribute_data() [2/2]

template<class T>
void DiagoPrepare< T >::distribute_data ( )
inline
Here is the call graph for this function:

◆ pb2d() [1/2]

template<class T>
void DiagoPrepare< T >::pb2d ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pb2d() [2/2]

template<class T>
void DiagoPrepare< T >::pb2d ( )
inline
Here is the call graph for this function:

◆ poison_lower_triangle()

template<class T>
void DiagoPrepare< T >::poison_lower_triangle ( )
inline
Here is the caller graph for this function:

◆ print_hs() [1/2]

template<class T>
void DiagoPrepare< T >::print_hs ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_hs() [2/2]

template<class T>
void DiagoPrepare< T >::print_hs ( )
inline
Here is the call graph for this function:

◆ produce_HS() [1/2]

template<class T>
bool DiagoPrepare< T >::produce_HS ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ produce_HS() [2/2]

template<class T>
bool DiagoPrepare< T >::produce_HS ( )
inline
Here is the call graph for this function:

◆ read_HS() [1/2]

template<class T>
bool DiagoPrepare< T >::read_HS ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_HS() [2/2]

template<class T>
bool DiagoPrepare< T >::read_HS ( )
inline
Here is the call graph for this function:

◆ set_env() [1/2]

template<class T>
void DiagoPrepare< T >::set_env ( )
inline
Here is the caller graph for this function:

◆ set_env() [2/2]

template<class T>
void DiagoPrepare< T >::set_env ( )
inline

Member Data Documentation

◆ abc

template<class T>
std::vector< double > DiagoPrepare< T >::abc

◆ dsize

template<class T>
int DiagoPrepare< T >::dsize

◆ e_lapack

template<class T>
std::vector< double > DiagoPrepare< T >::e_lapack

◆ e_solver

template<class T>
std::vector< double > DiagoPrepare< T >::e_solver

◆ h

template<class T>
std::vector< T > DiagoPrepare< T >::h

◆ h_local

template<class T>
std::vector< T > DiagoPrepare< T >::h_local

◆ hfname

template<class T>
std::string DiagoPrepare< T >::hfname

◆ hmtest

template<class T>
HamiltTEST< T > DiagoPrepare< T >::hmtest

◆ hsolver_time

template<class T>
double DiagoPrepare< T >::hsolver_time = 0.0

◆ icontxt

template<class T>
int DiagoPrepare< T >::icontxt

◆ ks_solver

template<class T>
std::string DiagoPrepare< T >::ks_solver

◆ lapack_time

template<class T>
double DiagoPrepare< T >::lapack_time = 0.0

◆ myrank

template<class T>
int DiagoPrepare< T >::myrank

◆ nb2d

template<class T>
int DiagoPrepare< T >::nb2d

◆ nbands

template<class T>
int DiagoPrepare< T >::nbands

◆ nlocal

template<class T>
int DiagoPrepare< T >::nlocal

◆ psi

template<class T>
psi::Psi< T > DiagoPrepare< T >::psi

◆ s

template<class T>
std::vector< T > DiagoPrepare< T >::s

◆ s_local

template<class T>
std::vector< T > DiagoPrepare< T >::s_local

◆ sfname

template<class T>
std::string DiagoPrepare< T >::sfname

◆ sparsity

template<class T>
int DiagoPrepare< T >::sparsity

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