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 f084d42 commit cf36c6fCopy full SHA for cf36c6f
source/module_hamilt_general/module_surchem/cal_pseudo.cpp
@@ -8,7 +8,8 @@ void surchem::gauss_charge(const UnitCell& cell,
8
complex<double>* N,
9
Structure_Factor* sf)
10
{
11
- sf->setup_structure_factor(&GlobalC::ucell, rho_basis); // call strucFac(ntype,ngmc)
+ UnitCell cell_tmp = cell;
12
+ sf->setup_structure_factor(&cell_tmp, rho_basis); // call strucFac(ntype,ngmc)
13
for (int it = 0; it < cell.ntype; it++)
14
15
double RCS = GetAtom.atom_RCS[cell.atoms[it].ncpp.psd];
0 commit comments