ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
meta_lcao.h
Go to the documentation of this file.
1#ifndef METALCAO_H
2#define METALCAO_H
3#include "source_base/timer.h"
4#include "operator_lcao.h"
5
6namespace hamilt
7{
8
9#ifndef __METATEMPLATE
10#define __METATEMPLATE
11
12template <class T>
13class Meta : public T
14{
15};
16
17#endif
18
19template <typename TK, typename TR>
20class Meta<OperatorLCAO<TK, TR>> : public OperatorLCAO<TK, TR>
21{
22 public:
24 HS_Matrix_K<TK>* hsk_in,
25 const std::vector<ModuleBase::Vector3<double>>& kvec_d_in,
26 HContainer<TR>* hR_in)
27 : OperatorLCAO<TK, TR>(hsk_in, kvec_d_in, hR_in)
28 {
29 this->cal_type = calculation_type::lcao_gint;
30 }
31
33
34 virtual void contributeHR() override{}//do nothing now
35
36 virtual void contributeHk(int ik) override{};//do nothing now
37
38 private:
39};
40
41} // namespace hamilt
42#endif
Definition hcontainer.h:144
Definition hs_matrix_k.hpp:11
virtual void contributeHk(int ik) override
Definition meta_lcao.h:36
virtual void contributeHR() override
Definition meta_lcao.h:34
Definition meta_lcao.h:14
Definition operator_lcao.h:12
#define T
Definition exp.cpp:237
Definition hamilt.h:12