ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
hamilt::HamiltBase Class Reference

Base class for Hamiltonian. More...

#include <hamilt_base.h>

Inheritance diagram for hamilt::HamiltBase:
Collaboration diagram for hamilt::HamiltBase:

Public Member Functions

virtual ~HamiltBase ()
virtual void updateHk (const int ik)
 Update Hamiltonian for a specific k-point.
virtual void refresh (bool yes=true)
 Refresh the status of Hamiltonian.
virtual std::string get_classname () const
 Get the class name.
virtual void * get_ops ()
 Get the operator chain (as void* to avoid template).

Detailed Description

Base class for Hamiltonian.

This is a non-template base class for Hamilt<T, Device>. It provides a common interface for all Hamiltonian types, allowing ESolver to manage Hamiltonian without template parameters.

Constructor & Destructor Documentation

◆ ~HamiltBase()

virtual hamilt::HamiltBase::~HamiltBase ( )
inlinevirtual

Member Function Documentation

◆ get_classname()

◆ get_ops()

◆ refresh()

◆ updateHk()


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