ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
dm_holder.h
Go to the documentation of this file.
1#ifndef MODULE_DM_DM_HOLDER_H
2#define MODULE_DM_DM_HOLDER_H
3
5
6namespace module_dm
7{
8template <typename TK>
10{
11 public:
13 {
14 } // will be called by ElecStateLCAO_TDDFT
15
17 {
18 if (this->dm != nullptr)
19 {
20 delete this->dm;
21 }
22 }
23
25};
26
27} // namespace module_dm
28
29#endif
DensityMatrix Class <TK,TR> = <double,double> for Gamma-only calculation <TK,TR> = <std::complex<doub...
Definition density_matrix.h:172
Setup_DM()
Definition dm_holder.h:12
DensityMatrix< TK, double > * dm
Definition dm_holder.h:24
~Setup_DM()
Definition dm_holder.h:16
Definition density_matrix.cpp:13