File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
source/source_lcao/module_rdmft Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ namespace rdmft
4141template <typename TK, typename TR>
4242class RDMFT
4343{
44-
4544 public:
4645 RDMFT ();
4746 ~RDMFT ();
@@ -75,7 +74,7 @@ class RDMFT
7574 psi::Psi<TK> occNum_HamiltWfc;
7675
7776 // ! E_RDMFT[4] stores ETV, Ehartree, Exc, Etotal
78- mutable double E_RDMFT[4 ] = {0.0 };
77+ mutable double E_RDMFT[4 ] = {0.0 , 0.0 , 0.0 , 0.0 };
7978 mutable double Etotal = 0.0 ;
8079 // std::vector<double> E_RDMFT(4);
8180
@@ -184,8 +183,8 @@ class RDMFT
184183 bool exx_spacegroup_symmetry = false ;
185184#endif
186185
187- mutable double etxc = 0.0 ;
188- mutable double vtxc = 0.0 ;
186+ double etxc = 0.0 ;
187+ double vtxc = 0.0 ;
189188 bool only_exx_type = false ;
190189 const int cal_E_type = 1 ; // cal_type = 2 just support XC-functional without exx
191190
You can’t perform that action at this time.
0 commit comments