ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
hamilt::HamiltLIP< T > Class Template Reference

#include <hamilt_lcaopw.h>

Inheritance diagram for hamilt::HamiltLIP< T >:
Collaboration diagram for hamilt::HamiltLIP< T >:

Public Member Functions

 HamiltLIP (elecstate::Potential *pot_in, ModulePW::PW_Basis_K *wfc_basis, K_Vectors *p_kv, pseudopot_cell_vnl *nlpp, const UnitCell *ucell)
Public Member Functions inherited from hamilt::HamiltPW< T, base_device::DEVICE_CPU >
 HamiltPW (elecstate::Potential *pot_in, ModulePW::PW_Basis_K *wfc_basis, K_Vectors *p_kv, pseudopot_cell_vnl *nlpp, Plus_U_Base *p_dftu, const UnitCell *ucell, const General_Exx_Info *exx_info)
 ~HamiltPW ()
void updateHk (const int ik) override
 for target K point, update consequence of hPsi() and matrix()
void bind_td_state (const Real *veff, const ModuleBase::Vector3< double > &A_ha)
 Bind local-potential buffers and Hartree vector potential for the same operation.
void sPsi (const T *psi_in, T *spsi, const int nrow, const int npw, const int nbands) const override
void set_exx_helper (Exx_Helper< T, base_device::DEVICE_CPU > &exx_helper_in)
Public Member Functions inherited from hamilt::Hamilt< T, base_device::DEVICE_CPU >
virtual ~Hamilt ()
void refresh (bool yes=true) override
 refresh status of Hamiltonian, for example, refresh H(R) and S(R) in LCAO case
std::string get_classname () const override
 get the class name
void * get_ops () override
 get the operator chain
virtual void hPsi (const T *psi_in, T *hpsi, const size_t size) const
 core function: for solving eigenvalues of Hamiltonian with iterative method
virtual void matrix (MatrixBlock< std::complex< double > > &hk_in, MatrixBlock< std::complex< double > > &sk_in)
 core function: return H(k) and S(k) matrixs for direct solving eigenvalues.
Public Member Functions inherited from hamilt::HamiltBase
virtual ~HamiltBase ()

Additional Inherited Members

Public Attributes inherited from hamilt::Hamilt< T, base_device::DEVICE_CPU >
std::string classname
Operator< T, base_device::DEVICE_CPU > * ops
 first node operator, add operations from each operators
Protected Types inherited from hamilt::HamiltPW< T, base_device::DEVICE_CPU >
using gemv_op
using gemm_op
using setmem_complex_op
using resmem_complex_op
using delmem_complex_op
using syncmem_op
Protected Types inherited from hamilt::Hamilt< T, base_device::DEVICE_CPU >
using syncmem_op
Protected Attributes inherited from hamilt::HamiltPW< T, base_device::DEVICE_CPU >
const pseudopot_cell_vnl * ppcell
const UnitCell *const ucell
T * vkb
Real * qq_nt
T * qq_so
base_device::DEVICE_CPU * ctx
Protected Attributes inherited from hamilt::Hamilt< T, base_device::DEVICE_CPU >
base_device::DEVICE_CPU * ctx

Constructor & Destructor Documentation

◆ HamiltLIP()

template<typename T>
hamilt::HamiltLIP< T >::HamiltLIP ( elecstate::Potential * pot_in,
ModulePW::PW_Basis_K * wfc_basis,
K_Vectors * p_kv,
pseudopot_cell_vnl * nlpp,
const UnitCell * ucell )
inline
Here is the call graph for this function:

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