You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (PARAM.inp.nspin == 4 && PARAM.inp.multicolin == 1
180
-
&& (func_type == 0 || func_type == 1) )
179
+
if (PARAM.inp.nspin == 4 && PARAM.inp.multicolin)
181
180
{ // noncollinear case added by Xiaoyu Zhang, Peking University, 2024.10.02. multicollinear method for lda Since NCLibxc needs libxc, this part codes will not be used.
182
181
183
182
std::cerr << "Error: Multi-collinear approach does not support running without Libxc." << std::endl;
184
183
std::exit(EXIT_FAILURE);
185
-
// NCLibxc::print_NCLibxc();
186
-
//#ifdef _OPENMP
187
-
//#pragma omp parallel for reduction(+:etxc) reduction(+:vtxc)
188
-
//#endif
189
-
// for(int ir = 0;ir<nrxx; ir++)
190
-
// {
191
-
// if(!use_libxc){
192
-
// std::cerr << "Error: Multi-collinear approach does not support running without Libxc." << std::endl;
193
-
// std::exit(EXIT_FAILURE);
194
-
// }
195
-
// double exc = 0.0;
196
-
// for(int ipol=0;ipol<4;ipol++){
197
-
// v(ipol, ir) = 0;
198
-
// }
199
-
//
200
-
// std::vector<double> n = {chr->rho[0][ir] + chr->rho_core[ir]};
0 commit comments