20 const Crystal& crystal_structure,
22 Real energy_cutoff_wavefunction,
23 const FFTGrid* fft_wave =
nullptr,
26 kpoint_g_vector_indices_.resize(number_of_kpoints);
27 kpoint_kinetic_energy_squared_.resize(number_of_kpoints);
28 kpoint_number_of_plane_waves_.resize(number_of_kpoints);
30 for (
int kpoint_index = 0; kpoint_index < number_of_kpoints; ++kpoint_index) {
32 kpoint_grid[kpoint_index].coordinates,
34 energy_cutoff_wavefunction,
35 kpoint_g_vector_indices_[kpoint_index],
36 kpoint_kinetic_energy_squared_[kpoint_index],
39 kpoint_number_of_plane_waves_[kpoint_index] =
40 static_cast<int>(kpoint_g_vector_indices_[kpoint_index].size());