ABACUS
develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
source
source_lcao
module_operator_lcao
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
6
namespace
hamilt
7
{
8
9
#ifndef __METATEMPLATE
10
#define __METATEMPLATE
11
12
template
<
class
T>
13
class
Meta
:
public
T
14
{
15
};
16
17
#endif
18
19
template
<
typename
TK,
typename
TR>
20
class
Meta
<
OperatorLCAO
<TK, TR>> :
public
OperatorLCAO
<TK, TR>
21
{
22
public
:
23
Meta<OperatorLCAO<TK, TR>
>(
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
32
~Meta<OperatorLCAO<TK, TR>
>(){};
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
hamilt::HContainer
Definition
hcontainer.h:144
hamilt::HS_Matrix_K
Definition
hs_matrix_k.hpp:11
hamilt::Meta< OperatorLCAO< TK, TR > >::contributeHk
virtual void contributeHk(int ik) override
Definition
meta_lcao.h:36
hamilt::Meta< OperatorLCAO< TK, TR > >::contributeHR
virtual void contributeHR() override
Definition
meta_lcao.h:34
hamilt::Meta
Definition
meta_lcao.h:14
hamilt::OperatorLCAO
Definition
operator_lcao.h:12
T
#define T
Definition
exp.cpp:237
hamilt
Definition
hamilt.h:12
hamilt::calculation_type::lcao_gint
@ lcao_gint
operator_lcao.h
timer.h
Generated by
1.9.8