32 const std::vector<int>& mesh_sizes,
33 int number_of_species_types) {
37 table_.resize(number_of_species_types);
38 has_core_charge_.resize(number_of_species_types,
false);
39 for (
int type_index = 0; type_index < number_of_species_types; type_index++) {
40 const auto& pseudopotential = pseudopotential_set[type_index];
41 if (!pseudopotential.has_nonlinear_core_correction) {
42 table_[type_index].resize(q_grid_);
45 has_core_charge_[type_index] =
true;
46 table_[type_index].resize(q_grid_);
49 pseudopotential, mesh_sizes[type_index], q_point_values[q_index]);