ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Namespaces | Functions
band_energy.h File Reference
#include "source_base/module_container/ATen/core/tensor.h"
#include "source_basis/module_ao/parallel_orbitals.h"
#include <complex>
Include dependency graph for band_energy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  module_rt
 

Functions

void module_rt::compute_ekb (const Parallel_Orbitals *pv, const int nband, const int nlocal, const std::complex< double > *Htmp, const std::complex< double > *psi_k, double *ekb, std::ofstream &ofs_running)
 compute band energy ekb <psi_i|H|psi_i>
 
void module_rt::compute_ekb_tensor (const Parallel_Orbitals *pv, const int nband, const int nlocal, const ct::Tensor &Htmp, const ct::Tensor &psi_k, ct::Tensor &ekb, std::ofstream &ofs_running)
 
template<typename Device >
void module_rt::compute_ekb_tensor_lapack (const Parallel_Orbitals *pv, const int nband, const int nlocal, const ct::Tensor &Htmp, const ct::Tensor &psi_k, ct::Tensor &ekb, std::ofstream &ofs_running)