Skip to content

Commit 786398d

Browse files
committed
fix compile
1 parent fc2aeff commit 786398d

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

source/module_hamilt_pw/hamilt_stodft/sto_tool.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,16 @@ psi::Psi<std::complex<FPTYPE>, Device>* gatherchi_op<FPTYPE, Device>::operator()
142142
}
143143

144144
template struct check_che_op<double, base_device::DEVICE_CPU>;
145+
#ifdef __ENABLE_FLOAT_FFTW
145146
template struct check_che_op<float, base_device::DEVICE_CPU>;
147+
#endif
146148
template struct gatherchi_op<double, base_device::DEVICE_CPU>;
147149
template struct gatherchi_op<float, base_device::DEVICE_CPU>;
148150
#if ((defined __CUDA) || (defined __ROCM))
149151
template struct check_che_op<double, base_device::DEVICE_GPU>;
152+
#ifdef __ENABLE_FLOAT_FFTW
150153
template struct check_che_op<float, base_device::DEVICE_GPU>;
154+
#endif
151155
template struct gatherchi_op<double, base_device::DEVICE_GPU>;
152156
template struct gatherchi_op<float, base_device::DEVICE_GPU>;
153157
#endif
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## w(eV) sigma(Sm^-1) kappa(W(mK)^-1) L12/e(Am^-1) L22/e^2(Wm^-1)
2-
0.5 145953 177.614 -3.70776e+06 1.11017e+08
3-
1.5 144420 175.681 -3.67128e+06 1.0997e+08
4-
2.5 141416 171.896 -3.59972e+06 1.07914e+08
5-
3.5 137057 166.415 -3.49581e+06 1.0493e+08
6-
4.5 131513 159.459 -3.36351e+06 1.01129e+08
7-
5.5 124997 151.302 -3.20782e+06 9.66558e+07
8-
6.5 117754 142.252 -3.03448e+06 9.16732e+07
9-
7.5 110048 132.637 -2.84972e+06 8.63592e+07
10-
8.5 102146 122.779 -2.65987e+06 8.08944e+07
11-
9.5 94302.5 112.982 -2.47103e+06 7.54522e+07
2+
0.5 145953 177.613 -3.70776e+06 1.11017e+08
3+
1.5 144420 175.68 -3.67128e+06 1.09969e+08
4+
2.5 141416 171.896 -3.59971e+06 1.07914e+08
5+
3.5 137057 166.414 -3.4958e+06 1.0493e+08
6+
4.5 131513 159.458 -3.36351e+06 1.01129e+08
7+
5.5 124997 151.301 -3.20781e+06 9.66556e+07
8+
6.5 117754 142.252 -3.03447e+06 9.1673e+07
9+
7.5 110048 132.636 -2.84971e+06 8.6359e+07
10+
8.5 102146 122.778 -2.65987e+06 8.08943e+07
11+
9.5 94302.4 112.981 -2.47103e+06 7.5452e+07

0 commit comments

Comments
 (0)