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"
6#include "operator_lcao.h"
7
8namespace hamilt
9{
10
11#ifndef __METATEMPLATE
12#define __METATEMPLATE
13
14template <class T>
15class Meta : public T
16{
17};
18
19#endif
20
21template <typename TK, typename TR>
22class Meta<OperatorLCAO<TK, TR>> : public OperatorLCAO<TK, TR>
23{
24 public:
26 HS_Matrix_K<TK>* hsk_in,
27 const std::vector<ModuleBase::Vector3<double>>& kvec_d_in,
28 HContainer<TR>* hR_in)
29 : OperatorLCAO<TK, TR>(hsk_in, kvec_d_in, hR_in)
30 {
31 this->cal_type = calculation_type::lcao_gint;
32 }
33
35
36 virtual void contributeHR() override{}//do nothing now
37
38 virtual void contributeHk(int ik) override{};//do nothing now
39
40 private:
41};
42
43} // namespace hamilt
44#endif
Definition hcontainer.h:144
Definition hs_matrix_k.hpp:11
virtual void contributeHk(int ik) override
Definition meta_lcao.h:38
virtual void contributeHR() override
Definition meta_lcao.h:36
Definition meta_lcao.h:16
Definition operator_lcao.h:12
#define T
Definition exp.cpp:237
Definition hamilt.h:12