43 const std::vector<int>& mesh_sizes,
45 int number_of_species_types) {
47 cell_volume_ = cell_volume;
50 species_.assign(number_of_species_types, SpeciesTable{});
51 for (
int type_index = 0; type_index < number_of_species_types; type_index++) {
52 const auto& pseudopotential = pseudopotential_set[type_index];
53 SpeciesTable& species = species_[type_index];
54 species.short_range.resize(q_grid_);
57 pseudopotential, mesh_sizes[type_index], q_point_values[q_index], cell_volume);
60 pseudopotential, mesh_sizes[type_index], 0.0, cell_volume);
61 species.valence_charge = pseudopotential.valence_charge;