We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feece0c commit 739816aCopy full SHA for 739816a
source/module_hamilt_pw/hamilt_pwdft/forces.cpp
@@ -24,7 +24,7 @@
24
#endif
25
26
template <typename FPTYPE, typename Device>
27
-void Forces<FPTYPE, Device>::cal_force(const UnitCell& ucell,
+void Forces<FPTYPE, Device>::cal_force(UnitCell& ucell,
28
ModuleBase::matrix& force,
29
const elecstate::ElecState& elec,
30
ModulePW::PW_Basis* rho_basis,
source/module_hamilt_pw/hamilt_pwdft/forces.h
@@ -33,7 +33,7 @@ class Forces
33
Forces(const int nat_in) : nat(nat_in){};
34
~Forces(){};
35
36
- void cal_force(const UnitCell& ucell,
+ void cal_force(UnitCell& ucell,
37
38
39
0 commit comments